【发布时间】:2019-10-16 19:44:00
【问题描述】:
我正在分析我们的 nexus3 实例的磁盘使用情况。我使用this question and answers 来获取所有存储库使用的磁盘空间:
cd /opt/nexus
java -jar ./lib/support/nexus-orient-console.jar
> CONNECT PLOCAL:/opt/sonatype-work/nexus3/db/component admin admin
> select bucket.repository_name as repository,sum(size) as bytes from asset group by bucket.repository_name order by bytes desc;
然后通过对所有结果求和,我得到大约 200GiB。然而,当我在磁盘上移动时,我得到 378BiB 的磁盘使用量:
> du -sh /opt/sonatype-work/nexus3/blobs
378G blobs/
这种差异从何而来?这是正常的,还是我可以或应该做一些操作来清理它?
【问题讨论】:
标签: nexus3