I have a mystery.
When I use an external USB drive over a period of months, I eventually notice that the amount of free space being reported is less than there should be. This missing free space continues to expand until eventually I can't put any reasonable amount of files on it anymore.
I first noticed this on my USB mp3 player. I used the player's software on Windows to reformat it. Eventually it happened again. I thought it was a defect in the player, so I put up with it.
Then I noticed that it was happening on my removable flash drives. So, I thought that this was unique to the flash memory or to the partition format that they came with by default.
I was able to cure it once on one of my flash drives by plugging it into Windows XP and doing a full chkdsk on it.
Now I noticed that it is happening on my external 500G hard drive formatted to ext3.
I noticed this because the reported free space has dropped all the way to 0 Bytes. I cannot write anything to the drive. The 'reported' free space remains at 0 Bytes even after deleting files of many MegaBytes.
Unmounting the drive and examining it with GParted reports the correct amount of used and free space. It looks like e2fsck also reports the correct free space.
But, whenever the drive is mounted, Dolphin, Konqueror, KDiskFree, etc. all report 0 Bytes Free so I can't write anything to this drive.
What I have already tried: (and didn't work)
I don't want to reformat this drive, because this is my largest hard drive. I have no where else to go with this stuff.
Solutions how to fix this without reformatting would be great.
But even an explanation of what is happening would be appreciated.
I am running a new (2 week old) install of Kubuntu 9.04 Jaunty with all updates.
I have included my e2fsck results, fstab, and mtab below.
===================================
When I use an external USB drive over a period of months, I eventually notice that the amount of free space being reported is less than there should be. This missing free space continues to expand until eventually I can't put any reasonable amount of files on it anymore.
I first noticed this on my USB mp3 player. I used the player's software on Windows to reformat it. Eventually it happened again. I thought it was a defect in the player, so I put up with it.
Then I noticed that it was happening on my removable flash drives. So, I thought that this was unique to the flash memory or to the partition format that they came with by default.
I was able to cure it once on one of my flash drives by plugging it into Windows XP and doing a full chkdsk on it.
Now I noticed that it is happening on my external 500G hard drive formatted to ext3.
I noticed this because the reported free space has dropped all the way to 0 Bytes. I cannot write anything to the drive. The 'reported' free space remains at 0 Bytes even after deleting files of many MegaBytes.
Unmounting the drive and examining it with GParted reports the correct amount of used and free space. It looks like e2fsck also reports the correct free space.
But, whenever the drive is mounted, Dolphin, Konqueror, KDiskFree, etc. all report 0 Bytes Free so I can't write anything to this drive.
What I have already tried: (and didn't work)
- Making sure there are no hidden files or trash folders.
- Mounting drive on Mandrake 10.1
- Mounting drive on Kubuntu 8.04 Hardy
- Mounting drive on PartedMajic 4.4 Live CD
- GParted resize partition smaller
- GParted resize partition bigger
- e2fsck -D -f -p -v /dev/sdc1 (results below)
I don't want to reformat this drive, because this is my largest hard drive. I have no where else to go with this stuff.
Solutions how to fix this without reformatting would be great.
But even an explanation of what is happening would be appreciated.
I am running a new (2 week old) install of Kubuntu 9.04 Jaunty with all updates.
I have included my e2fsck results, fstab, and mtab below.
===================================
Code:
e2fsck -D -f -p -v /dev/sdc1 265341 inodes used (0.43%) 8285 non-contiguous files (3.1%) 133 non-contiguous directories (0.1%) # of inodes with ind/dind/tind blocks: 52814/7160/5 117510444 blocks used (96.24%) 0 bad blocks 8 large files 237342 regular files 27132 directories 0 character device files 0 block device files 5 fifos 105797 links 843 symbolic links (458 fast symbolic links) 10 sockets -------- 371129 files fstab while drive is mounted # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # / was on /dev/sda5 during installation UUID=9ba8b9d2-27c8-46a3-8931-7e7905ae534b / ext3 relatime,errors=remount-ro 0 1 # swap was on /dev/sda6 during installation UUID=66b19076-4304-403d-980b-efeb3681f953 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /home is on /dev/sdb1 160GB IDE hard drive (Mount point manually added after install on 2009-08-21) UUID=26edd7b1-28b8-46c2-b615-f209dcabc2af /home ext3 defaults,errors=remount-ro 0 1 mtab while drive is mounted # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # / was on /dev/sda5 during installation UUID=9ba8b9d2-27c8-46a3-8931-7e7905ae534b / ext3 relatime,errors=remount-ro 0 1 # swap was on /dev/sda6 during installation UUID=66b19076-4304-403d-980b-efeb3681f953 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /home is on /dev/sdb1 160GB IDE hard drive (Mount point manually added after install on 2009-08-21) UUID=26edd7b1-28b8-46c2-b615-f209dcabc2af /home ext3 defaults,errors=remount-ro 0 1
Comment