Date
1 - 4 of 4
cf cell's df result question
강경원 <kyungwon.kang at samsung.com...>
Hi, when I check the cell's disk, it's using 10G but df result reports only 5G is used. Can I know why?
diego-cell/b3d42906-84f3-40db-8361-64232dac4ff8:/var/vcap/data# df -h
Regards, Kyungwon Kang.
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Lior Okman
Hi,
toggle quoted messageShow quoted text
Usually a certain percentage (5% by default) of the available disk space is reserved for uid 0. You can check to see what that percentage amounts to in bytes using the following command if the filesystem is ext{2,3,4}: echo $(( $(tune2fs -l /dev/xvdb2 |grep "Reserved block count"|cut -f2 -d: ) * $(tune2fs -l /dev/xvdb2 | grep "Block size" |cut -f2 -d: ) )) See tune2fs(8) for details. For a 100G disk this would amount to your missing 5G. -- Lior
On Thu, Sep 14, 2017 at 1:45 PM, 강경원 <kyungwon.kang(a)samsung.com> wrote:
Hi, when I check the cell's disk, it's using 10G but df result reports
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
George Lestaris
Hello Kyungwon,
toggle quoted messageShow quoted text
Where do you see that your cell disk is using 10G? It could be because of how the BOSH VMs partition the disk.
On Thu, Sep 14, 2017 at 9:46 PM, Lior Okman <lior.okman(a)gmail.com> wrote:
--
George Lestaris GrootFS <https://www.github.com/cloudfoundry/grootfs> Product Manager, Cloud Foundry <https://www.cloudfoundry.org/>, Pivotal <https://www.pivotal.io/>
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
강경원 <atplus12345 at gmail.com...>
I cut the loop device info for containers. Where can I find the rep's disk
toggle quoted messageShow quoted text
calculation algorithm or source code for available disk size?
On Sep 15, 2017 19:14, "George Lestaris" <glestaris(a)pivotal.io> wrote:
Hello Kyungwon, Where do you see that your cell disk is using 10G? It could be because of how the BOSH VMs partition the disk. On Thu, Sep 14, 2017 at 9:46 PM, Lior Okman <lior.okman(a)gmail.com> wrote:
-- George Lestaris GrootFS <https://www.github.com/cloudfoundry/grootfs> Product Manager, Cloud Foundry <https://www.cloudfoundry.org/>, Pivotal <https://www.pivotal.io/>
|
|||||||||||||||||||||||
|