Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Mar 2009 09:35:58 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: USB key with 7.5 GByte but no space left on device after 4 GByte written
Message-ID:  <alpine.BSF.2.00.0903050935130.74279@wojtek.tensor.gdynia.pl>
In-Reply-To: <20090305081407.GA2242@rebelion.Sisis.de>
References:  <20090305081407.GA2242@rebelion.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> Mar  5 08:48:33 rebelion kernel: umass0: <USBest Technology USB Mass Storage Device, class 0/0, rev 2.00/1.00, addr 2> on uhub4
> Mar  5 08:48:33 rebelion kernel: da0 at umass-sim0 bus 0 target 0 lun 0
> Mar  5 08:48:33 rebelion kernel: da0: <Ut165 USB2FlashStorage 0.00> Removable Direct Access SCSI-2 device
> Mar  5 08:48:33 rebelion kernel: da0: 40.000MB/s transfers
> Mar  5 08:48:33 rebelion kernel: da0: 7712MB (15794176 512 byte sectors: 255H 63S/T 983C)
> Mar  5 08:48:35 rebelion kernel: GEOM_LABEL: Label for provider da0 is msdosfs/pen disk.
>
> # mount -t msdosfs /dev/da0 /mnt
>
> Mar  5 08:50:18 rebelion kernel: GEOM_LABEL: Label msdosfs/pen disk removed.
>
> # df -kh /mnt
> Filesystem            Size    Used   Avail Capacity  Mounted on
> /dev/da0              7.5G     48K    7.5G     0%    /mnt
>
> # ls -lh file
> total 3745826
> -r--r--r--  1 guru  wheel   1,7G 16 may  2007 file
>
> # time cat file file file > /mnt/big
> cat: stdout: No space left on device
> 0.194u 13.064s 8:46.32 2.5%     10+1100k 33429+65536io 0pf+0w
>

msdosfs bug or strangely made msdos filesystem on that pendrive.

if you use it FreeBSD only, clear first 4kB with dd, then do newfs and 
use as UFS

if not - use newfs_msdos



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0903050935130.74279>