Saturday, 8 June 2013

No space left on device / No Inodes free OR used / Double mounting

No space left on device / No Inodes free OR used / Double mounting

For about a day now I can only create/cp/mv (through terminal or various GUI programs) files on my FAT16 formatted USB stick, of about a few bytes. Doing so with larger files reports cannot create regular file 'XXX': No space left on device
I have a NTFS drive, and a USB stick with 2 FAT16 formatted partitions on it, attached to the computer.
/dev/sda1 is the NTFS
/dev/sdb1 is one of the FAT 16 formatted partitions
/dev/sdc1 is the other the FAT 16 formatted partitions (Prior and after unplugging the USB stick while PC was pm-suspend'd, to clear space on the full drive - Seems this may have caused part/all of this issue in hindsight)
/dev/sdb1 is the other the FAT 16 formatted partitions (After unplugging the USB stick while PC was pm-suspend'd
df reported:
    Filesystem  1K-blocks   Used   Available  Use%  Mounted on
    /dev/sdc1    1999360  1999360      0      100%  /media/sdc1
    /dev/sdd1    1999360   822400   1176960   42%   /media/sdd1
df -i reported:
    Filesystem  Inodes  IUsed  IFree  IUse%  Mounted on
    /dev/sdc1      0      0      0      -    /media/sdc1
    /dev/sdd1      0      0      0      -    /media/sdd1
Sub question: Any idea why there are no inodes reported??
df -i /dev/sda1 reported:
    Filesystem  Inodes   IUsed   IFree    IUse%  Mounted on
    /dev/sda1   5539908  171718  5368190    4%   /media/sda1
umount'ng /dev/sdc1 didn't change the counts.
I have verified through Windows that space available more-or-less marries with the 42% listed for the latest mounted device (/dev/sdd1).
Any ideas on what is going on?

No comments:

Post a Comment