[Linux-usb-users] 4 GB USB flash disk with FAT ok, with ext3 corrupted files
stern at rowland.harvard.edu
Sat Jun 16 21:20:46 UTC 2007
On Sat, 16 Jun 2007, Miernik wrote:
> Miernik <public at miernik.name> wrote:
> > And trying to write any more files gives "No space left on device" message,
> > while only 8% of the device is used:
> > Filesystem 1K-blocks Used Available Use% Mounted on
> > /dev/sda1 4120356 305988 3605064 8% /mnt/sda1
> And the device really has the 4 GB:
> debian105:~# dd if=/dev/zero of=/dev/sda
> dd: writing to `/dev/sda': No space left on device
> 8376322+0 records in
> 8376321+0 records out
> 4288676352 bytes (4.3 GB) copied, 4145.71 seconds, 1.0 MB/s
> And no error was encountered while doing this dd write.
> Neither in dmesg, nor in kern.log. Everything was fine.
This is a little misleading. You are comparing the "df" output for
/dev/sda1 with a transfer to /dev/sda. Furthermore the units are
different; df uses 1-KB blocks and dd uses 512-byte blocks.
It would help to see the output from "fdisk -l /dev/sda".
More information about the Ext3-users