Re: Strange `No space left' on usb pendrive
Le Sun 19/09/2010, Rodolfo Medina disait
> Hi all.
>
> 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
>
>
> The command df seems to show that everything is all right:
>
> $ df -lh
> Filesystem Size Used Avail Use% Mounted on
> /dev/hda6 11G 9.2G 912M 92% /
> tmpfs 110M 0 110M 0% /lib/init/rw
> udev 10M 80K 10M 1% /dev
> tmpfs 110M 0 110M 0% /dev/shm
> /dev/hda1 7.8G 7.3G 541M 94% /mnt/hda1
> /dev/hda7 4.9G 1.9G 2.7G 42% /mnt/hda7
> /dev/hda8 4.9G 3.4G 1.3G 74% /mnt/hda8
> /dev/hda9 7.9G 2.7G 4.9G 36% /mnt/hda9
> /dev/sda1 1.9G 40M 1.9G 3% /mnt/pendrive-carolina2
>
What does df -i say ?
You might be out of inodes (depends on the filesystem of the key)
--
Erwan
Reply to: