linux - 查找 Linux 服务器磁盘空间详细信息

标签 linux diskspace du linux-disk-free

我有一个奇怪的问题。 当我使用以下命令时

[user@lautpyy003d ~]$ df -h /app/dev-data Filesystem Size Used Avail Use% Mounted on nfspci1q-2421-03.xxx.xx.xxx.xxxx:/app_nfs/lautpyy003d_4d_app_dev-data 68G 55G 14G 81% /app/dev-data 

上面告诉我,68G 中使用了 55G。

但是,当我获取详细报告时,我看到以下内容

[user@lautpyy003d /app/dev-data]$ du -sh * | sort -hr | head -n20
5.9G    node1
2.9G    node2
64M     memberareas
52M     output
4.4M    data_purge_jobs
104K    input
96K     wlstemplates

它只显示了总共大约 10G,没有显示其余的 45G。知道我哪里出错了。这些45G数据位于哪里?

最佳答案

df 显示该卷的可用空间。最有可能的是,/app_nfs/lautpyy003d_4d_app_dev-data 不是服务器上该文件系统的根文件夹。

关于linux - 查找 Linux 服务器磁盘空间详细信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47394739/

相关文章:

mysql - 服务器磁盘空间似乎不正确,为什么?

filesystems - df -kvh 未显示可用空间 - 剩余空间在哪里

postgresql - 为什么postgresql在磁盘空间足够的情况下提示错误 'perhaps out of disk space'?

linux - 查找磁盘中目录的使用率%

linux - 已释放的内存未反射(reflect)在 DF 命令中

linux - 为什么我的 apache 进程不能写入我的世界可写文件?

linux - 外部程序中引起SIGSEGV的指令地址

bash - 以字节为单位打印 "du"

linux - 使用 sed 替换

linux - Vim:如何打开名称由运行 shell 命令确定的文件