Linux Lite Forums

Software - Support => Other => Topic started by: HiTechHiTouch on February 08, 2021, 01:34:35 PM

Title: Thumbdrive... Error creating mount point -- No space left on device
Post by: HiTechHiTouch on February 08, 2021, 01:34:35 PM
I have several USB drives, from a NTFS 2T drive down to a old 512MB FAT one.  All fail the same way.

Linux Lite 5.4.0-64-generic (x86_64) Version #72-Ubunut SMP Distribution Ubuntu 20.04.2  System information report attached to posting.

1. Insert the FAT formatted drive into the USB port.  It has a single 31.9MB partition formatted with the FAT file system.  480 MB remains in unpartitioned space.
2. An icon appears on the desktop for the device.  Icon is a USB stick.  Mouse over says "Removable Volume Not Mounted Yet".
3. Right click on icon, menu shows "Open", "Mount volume", "Properties" (greyed out), "Applications".  Click on Mount.

Pop-up opens "Mount Failed" "Failed to Mount DD-WRT-30M" "Error creating mount point 'media/jared/DD-WRT-30M': No space left on device."

There's plenty of space on my unix partition, /home has 10G free, / (file system) has 72GB free.  The USB stick has a FAT partition of 32M with 17M free.  I think the message is lying about no space left.

Where can I look for more diagnostic information?  Thanks!
Title: Re: Thumbdrive... Error creating mount point -- No space left on device
Post by: Moltke on February 08, 2021, 02:13:31 PM
Sometimes it is about inodes. I once had a similar issue too, and it was because my home had run out of inodes, I think it had something to do with some icon sets I'd installed by then because as soon as I removed those the problem went away. You could check whether that's or not your case, open a terminal and type:
Code: [Select]
$ df -hi

this will tell you  how many inodes are in a file system on your computer. The output might look something like this
Code: [Select]
$ df -hi
S.ficheros     Nodos-i NUsados NLibres NUso% Montado en
udev              194K     456    194K    1% /dev
tmpfs             199K     732    198K    1% /run
/dev/sdb2         466K    173K    293K   38% /
tmpfs             199K       1    199K    1% /dev/shm
tmpfs             199K       3    199K    1% /run/lock
tmpfs             199K      17    199K    1% /sys/fs/cgroup
/dev/mmcblk0p1    501K     46K    455K   10% /home/moltke/Extra
/dev/sdb1            0       0       0     - /boot/efi
tmpfs             199K      23    199K    1% /run/user/1000
/dev/mmcblk0p3       0       0       0     - /media/moltke/TRANSCEND
/dev/sda1         113M    112K    113M    1% /media/moltke/Seagate
Where
NUsados = inodes used
NLibres   = free inodes
NUso%    = % inodes total use
If you find that your FS has run out of inodes, you should be looking for files like icon sets and stuff like that which uses a lot of hard-links and soft-links and that eats the inodes away, or at least that's what I understand. You might want to read here to learn more about it https://www.howtogeek.com/465350/everything-you-ever-wanted-to-know-about-inodes-on-linux/

Hope this helps! :)
Title: Re: Thumbdrive... Error creating mount point -- No space left on device
Post by: firenice03 on February 09, 2021, 05:30:15 PM
That and post the output of df -h


Its saying /media/jared/xxxx do you have a filesystem mounted already for media?


Could try to unmount /media incase..
Code: [Select]
sudo umount /media


Title: Re: Thumbdrive... Error creating mount point -- No space left on device
Post by: HiTechHiTouch on February 12, 2021, 01:57:50 AM
Sorry for the delay... Had to deal with an unbootable system.

Seems Timeshift was trying to backup my entire network and totally filled the hard drive.  Things slowly stopped, and it wasn't possible to reboot.  With the Linux Lite CD and NCDU, I finally tracked down the culprit and deleted some Timeshift backups (and fixed the exclude list).

Finally able to reboot, USB drives were mountable, and my problem disappeared.