Date: Thu, 5 Mar 2009 15:37:05 +0100 From: Matthias Apitz <guru@unixarea.de> To: "Paul B. Mahol" <onemda@gmail.com> Cc: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, freebsd-questions@freebsd.org Subject: Re: USB key with 7.5 GByte but no space left on device after 4 GByte written Message-ID: <20090305143705.GB12530@rebelion.Sisis.de> In-Reply-To: <3a142e750903050626p43c6c96ao79cecddef70fed99@mail.gmail.com> References: <20090305081407.GA2242@rebelion.Sisis.de> <alpine.BSF.2.00.0903050935130.74279@wojtek.tensor.gdynia.pl> <200903050109.27668.chuckop@gmail.com> <20090305093208.GA4342@rebelion.Sisis.de> <alpine.BSF.2.00.0903051048220.74507@wojtek.tensor.gdynia.pl> <20090305141217.GA11424@rebelion.Sisis.de> <3a142e750903050626p43c6c96ao79cecddef70fed99@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Thursday, March 05, 2009 a las 03:26:12PM +0100, Paul B. Mahol escribió: > On 3/5/09, Matthias Apitz <guru@unixarea.de> wrote: > > El dia Thursday, March 05, 2009 a las 10:48:52AM +0100, Wojciech Puchar > > escribio: > > > >> >>formatted properly? > >> > > >> >I did a 'ls -l /dev/da*' after key insert and there was only /dev/da0; > >> >maybe I should do > >> > > >> ># newfs_msdos /dev/da0 > >> > > >> >??? > >> > >> to be sure do > >> > >> dd if=/dev/zero of=/dev/da0 bs=64k count=1 > >> > >> before to clean anything from beginning, if any mess is there. > > > > to end this threat, I did: > > > > # dd if=/dev/zero of=/dev/da0 bs=64k count=1 > > # newfs_msdos /dev/da0 > > # mount -t msdosfs /dev/da0 /mnt > > # time cat file file file > /mnt/big > > cat: stdout: File too large > > 0.276u 19.421s 14:36.63 2.2% 11+1180k 33887+65536io 0pf+0w > > > > # df -kh /mnt > > Filesystem Size Used Avail Capacity Mounted on > > /dev/da0 7.5G 4.0G 3.5G 53% /mnt > > > > i.e. it writes the maximal file size of 4G in FAT32 and 3.5G are left as > > free; > > > > the write speed is > > 4294963200 in 14:36.63 minutes, i.e. 4902926 per sec; > > > should'nt you first try to measure with dd(1) how da0 is big > before we start blaming msdosfs: > > # dd if=/dev/da0 of=/dev/null bs=1m ? I've not blamed anybody; please check the full thread; I've reported a problem with a lot of details and got help; the device is around 7.7G but wasn't useable like that as it was formated by the factory; nothing more; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <matthias.apitz@oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090305143705.GB12530>