disk full, but not really full

sciencewhiz

Diamond Member
Jun 30, 2000
5,885
8
81
I have a 1 GB SD card (formatted FAT32) that I occasionally use in Ubuntu 7.10 (it's normally in my palm).

Yesterday, I copied some stuff over to it in linux and accidentally filled the card up. I then deleted one of the big files. Now, it still complains that the disk is full whenever I try to copy something to it.

df and the nautilus properties show it is full

Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p1 981M 981M 0 100% /media/SECOND1GB

however, du shows plenty of space

125K ./PALM/Launcher
4.1K ./PALM/programs/DXTG
544M ./PALM/programs/BackupMan
544M ./PALM/programs
657K ./PALM/Blazer/Download
661K ./PALM/Blazer
545M ./PALM
4.0K ./DCIM/Palm
8.4K ./DCIM
327K ./Documents
545M .

I don't notice anything funny in dmesg.

The mount settings are as follows:

/dev/sdd1 /media/SECOND1GB vfat rw,nosuid,nodev,shortname=mixed,uid=1000,utf8,umask=077,usefree 0 0


Both windows and my palm show the true free space, and I am able to write to it in both windows and in my palm.

Anyone have any ideas?
 

sciencewhiz

Diamond Member
Jun 30, 2000
5,885
8
81
I ran fsck and it found two errors

"There are differences between boot sector and its backup." and "Free cluster summary wrong (0 vs. really 111485)"

After fixing those, everything is fine.

It's interesting that a disk check in windows didn't find anything wrong.
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
I had the same problem a few days ago, except df would show the SD card as having space left, yet I couldn't use cp/mv or even nautilus to copy stuff onto it. I eventually gave up, and used a different computer. Kind of annoying.