Announcement

Collapse
No announcement yet.

FIXED: Disk usage with 2.6.38 kernel

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    FIXED: Disk usage with 2.6.38 kernel

    I'm experiencing a weird issue in KDE with the series 2.6.38 kernels...the disk usage is reported to be much higher than with the 2.6.37 kernels:

    Output from 'di' (df outputs are similar):
    2.6.37
    Filesystem Mount Size Used Avail %Used fs Type
    /dev/sda1 / 9,8G 3,6G 6,1G 37% xfs
    /dev/sda3 /home 63,3G 22,8G 40,5G 36% xfs

    2.6.38
    Filesystem Mount Size Used Avail %Used fs Type
    /dev/sda1 / 9,8G 3,6G 6,2G 37% xfs
    /dev/sda3 /home 63,3G 55,0G 8,2G 87% xfs

    So, after logging to KDE with 2.6.38 my disk usage is reported significantly higher on /home filesystem (root filesystem is unaffected).

    I suspect it is a KDE related issue, since it presents itself only after starting KDE...if I login without KDE, the numbers are the same as with the 2.6.37 kernel.

    I'm going to start digging for the cause, but I'd appreciate all feedback that might help me narrow down the problem, so is anyone else seeing this? (Might be a local issue)

    #2
    Re: Disk usage with 2.6.38 kernel

    Here, ext4:

    rog131@alpha:~$ uname -r
    2.6.37-12-generic

    rog131@alpha:~$ di
    Filesystem Mount Size Used Avail %Used fs Type
    /dev/sda1 / 9.6G 3.7G 5.4G 44% ext4
    /dev/sda2 /home 9.6G 0.5G 8.6G 10% ext4

    rog131@alpha:~$ df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda1 9.7G 3.8G 5.4G 42% /
    /dev/sda2 9.7G 497M 8.7G 6% /home

    rog131@alpha:~$ uname -r
    2.6.38-1-generic

    rog131@alpha:~$ di
    Filesystem Mount Size Used Avail %Used fs Type
    /dev/sdc1 / 9.6G 3.7G 5.4G 44% ext4
    /dev/sdc2 /home 9.6G 0.5G 8.6G 10% ext4

    rog131@alpha:~$ df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sdc1 9.7G 3.8G 5.4G 42% /
    /dev/sdc2 9.7G 497M 8.7G 6% /home


    The sda/sdc difference is from the Ubuntu habit (at here) to change the HD count repeatedly. Sometimes the count will start from the pata drives and sometimes the count will start from the sata drives.
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: Disk usage with 2.6.38 kernel

      Could be an issue with xfs only, I couldn't replicate on a test machine with ext...but it does happen with a new user on xfs:

      The space seems to be "taken" by only four files on my system:
      Code:
      du -h .kde/share/config/dolphinrc .kde/share/config/gtkrc .config/qtcurve/windowBorderSizes .local/share/akonadi/db_data/mysql.err
      8,0G  .kde/share/config/dolphinrc
      8,0G  .kde/share/config/gtkrc
      8,0G  .config/qtcurve/windowBorderSizes
      8,0G  .local/share/akonadi/db_data/mysql.err
      That's some seriously heavy configuration at 8Gb :P...in reality, the files are only a few kilobytes at most (reported correctly with ls and dolphin)...and the funny thing is if I remove one of the files...another file (seemingly at random) takes it place as a 8Gb file.

      I'm mystified

      Comment


        #4
        Re: Disk usage with 2.6.38 kernel

        Right then, search first (saves one a lot of time, even though that just takes the fun out of it)

        http://groups.google.com/group/linux...ace72?lnk=raot
        http://oss.sgi.com/archives/xfs/2011-01/msg00281.html

        EDIT: As expected, issue fixed in 2.6.38 rc3 based kernel

        Comment

        Working...
        X