Re: Strange `No space left' on usb pendrive
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 19 Sep 2010 13:15:06 +0200
Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
> On 2010-09-19 10:26 +0200, Rodolfo Medina wrote:
>
> > When I try to copy more than 40MB onto an empty new 2GB usb pendrive, I get an
> > inexplicable `No space left on device' error message:
> >
> >
> > `11022008699.jpg' -> `/mnt/pendrive-carolina2/11022008699.jpg'
> > `11022008700.jpg' -> `/mnt/pendrive-carolina2/11022008700.jpg'
> > cp: cannot create regular file `/mnt/pendrive-carolina2/11022008700.jpg': No space left on device
> > `11022008701.jpg' -> `/mnt/pendrive-carolina2/11022008701.jpg'
> > cp: cannot create regular file `/mnt/pendrive-carolina2/11022008701.jpg': No space left on device
> >
> >
>
> Effectively, df -i produces a suspect output:
>
> $ df -i
> Filesystem Inodes IUsed IFree IUse% Mounted on
> /dev/hda6 1409024 147438 1261586 11% /
> tmpfs 28039 2 28037 1% /lib/init/rw
> udev 28039 512 27527 2% /dev
> tmpfs 28039 1 28038 1% /dev/shm
> /dev/hda1 0 0 0 - /mnt/hda1
> /dev/hda7 640000 14 639986 1% /mnt/hda7
> /dev/hda8 640000 51785 588215 9% /mnt/hda8
> /dev/hda9 525200 54395 470805 11% /mnt/hda9
> /dev/sda1 0 0 0 - /mnt/pendrive-carolina2
>
>
> What then?
Listen to what Sven Joachim is saying. The problem arises because
of FAT formatting. You can only put a certain number of files
(128??) in the root. Create a sub-directory and put your files in
there. Problem solved.
- --
- -- Frank --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQEcBAEBAgAGBQJMlf08AAoJEMEDyLTvrVhjvSwH/0CBX6G4sJHDZ4LWaJ8+6Yg0
zS/3KUzFGBmD3BQVYe0jj/Fj6TbfZ0yV5MkjiQRvfK/eNU8ptsNV6g/hglgdLcC+
DqAUGbxFm9xX9psDF2+O3YrgU7XWSw25VCYOITTRqr6iE6ujcGO/abQkb3tsD8Ep
YvQudutnFV7+jFu6YsDf3wJOfHsURb3mP1aVMLRww4LP8rAUYb4OARHPPesLssmR
xOBo3XQFHTfyF+pPSUUvVUd3tmuZOGcC5vBcMoV8SuxXRdJ6K1eIcV0NzJbtXcUV
yziOJEUyUDTUAToBnDUvq+wJM0Z6nJAbfC9DInOeGNzNrazB7U9E0jHPlWRYTCU=
=nB5M
-----END PGP SIGNATURE-----
Reply to: