Ubuntu bash:设备上没有剩余空间

Ubuntu bash:设备上没有剩余空间,ubuntu,storage,virtualbox,Ubuntu,Storage,Virtualbox,有很多类似的问题。然而,所有这些都表明有些文件系统确实空间不足。我的情况似乎略有不同: randolph@virus:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 3.9G 4.0K 3.9G 1% /dev tmpfs 799M 876K 798M 1% /run /dev/sda1 28G 14G 12G 54% / none

有很多类似的问题。然而,所有这些都表明有些文件系统确实空间不足。我的情况似乎略有不同:

randolph@virus:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            3.9G  4.0K  3.9G   1% /dev
tmpfs           799M  876K  798M   1% /run
/dev/sda1        28G   14G   12G  54% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
none            5.0M     0  5.0M   0% /run/lock
none            3.9G   76K  3.9G   1% /run/shm
none            100M   32K  100M   1% /run/user

randolph@virus:~$ df -ih
Filesystem     Inodes IUsed IFree IUse% Mounted on
udev             996K   443  996K    1% /dev
tmpfs            999K   403  998K    1% /run
/dev/sda1        1.8M  1.8M     1  100% /
none             999K     2  999K    1% /sys/fs/cgroup
none             999K     3  999K    1% /run/lock
none             999K     4  999K    1% /run/shm
none             999K    24  999K    1% /run/user
我不知道当它说使用的inode是100%时意味着什么

这可能是问题的原因吗?我如何解决这个问题


背景:我正在virtualbox上运行Ubuntu14.04。

文件系统中的文件太多,所以inode已经用完。即使有空间写入更多数据,如果没有可用的索引节点,也无法创建新文件


你必须找到为什么你有额外的文件。它们可能是一些只占用inode但没有数据空间的零字节pesk。

您可以使用root/home目录上的du-sh来了解确切的罪魁祸首