Re: [Linux-usb-users] 4 GB USB flash disk with FAT ok, with ext3 corrupted files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 16 Jun 2007, Miernik wrote:

> Miernik <public@xxxxxxxxxxxx> 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
> debian105:~#
> 
> 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".

Alan Stern

_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux