我显示磁盘空间不足,上传时遇到问题,但我不知道磁盘空间用在了哪里。我应该有 19 GB,但看起来只有大约 2.2 GB 可用。我已将和df
命令的结果发布du
在下面。
root@ubuntu:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 19G 2.1G 111M 96% /
none 256M 8.0K 256M 1% /dev
overflow 1.0M 0 1.0M 0% /tmp
none 52M 1000K 51M 2% /run
none 5.0M 0 5.0M 0% /run/lock
none 256M 0 256M 0% /run/shm
root@ubuntu:/# du 。 -h --最大深度=1
12K ./srv
5.3M ./bin
4.0K ./media
0 ./tmp
273M ./var
1000K ./run
15M ./lib
8.0K ./dev
56K ./root
16M ./etc
4.0K ./opt
du: cannot access `./proc/22716/task/22716/fd/4': No such file or directory
du: cannot access `./proc/22716/task/22716/fdinfo/4': No such file or directory
du: cannot access `./proc/22716/fd/4': No such file or directory
du: cannot access `./proc/22716/fdinfo/4': No such file or directory
0 ./proc
0 ./sys
4.0K ./boot
4.0K ./selinux
567M ./usr
5.1M ./sbin
1.3G ./home
4.0K ./mnt
2.1G .