Missing space on SD card


HelenF

Very Active Member
Joined
Jun 22, 2013
Messages
615
Location
UK
When trying to update Codeblocks, I noticed I'm missing 1GB of space on a 4GB EXT2 SD card. When I try to search about this problem, I only find things about a percentage (usually 5%) being reserved for root which can be changed with tune2fs - and it's not that. Any other ideas? Maybe I should just reformat it, but wondering what's going on here.

Code:
panda2:/media/devcard$ sudo du -hs .
915M    .

panda2:/media/devcard$ df .
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mmcblk1p1         3809936   1903132   1713268  53% /media/devcard
 
It's not empty, it had 1G of files on it (after I deleted the old Code::Blocks PND). I went ahead and copied the new PND onto it, and now it looks like this.

Code:
panda2:/media/devcard$ sudo du -hs .
2.7G    .

panda2:/media/devcard$ df .
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mmcblk1p1         3809936   3706148     65084  98% /media/devcard
 
Did you repeared it ? I have noticed my SDCard need reper from time to time, especialy the FAT32 ones where I build the PND...
 
OK, it was a file system error. I should have thought to check that before posting... Thanks for the reminder!

Accidentally closed the window before recording what it was, but I think fsck said that something had a lot of a blocks when it should have had 0.
 
Back
Top