[cf-bosh] Re: Re: Re: running out of disk space on a bosh lite VM


Dmitriy Kalinin <dkalinin@...>
 

prolly orphaned disks: bosh.io/docs/persistent-disks

run bosh cleanup --all

Sent from my iPhone

On May 31, 2016, at 8:21 PM, Amit Gupta <agupta(a)pivotal.io> wrote:

+cf-bosh

On Mon, May 30, 2016 at 5:30 PM, Stanley Shen <meteorping(a)gmail.com> wrote:
If I deleted all deployments, I can see "30G ./ephemeral_bind_mounts_dir" is released, but "21G ./disks" is still there.

And after deploying new cf/diego on it, the "disks" size keep increasing after deploying APPs.


Stanley Shen <meteorping@...>
 

Yes, if I deleted all deployment and run bosh cleanup --all, the orphaned disk will be released.

But once the cf/diego are deployed, I can see this disks folder is keep increasing.
Each time I deleted my 3 APPs and pushed my 3 APPs again, I see about 1G disk usage increased in this disks folder.

I tried to see how this 1G disk usage is used for, but I got no clue.
And under this "disks" folder, the "ls -lth" or "du -sh ./" shows the disk is 15/16G.
But there is no difference with the size of each file.
And the total of these files are far exceed the total 15/16G calculated by "ls -lth" or "du -sh ./"

Can someone explain more, thanks?


root(a)agent-id-bosh-0:/var/vcap/store/warden_cpi/disks# ls -lth
total 15G
-rw-r--r-- 1 root root 9.4G Jun 3 22:53 9282fb9f-5117-4819-4de6-2db50ebd5454
-rw-r--r-- 1 root root 977M Jun 3 22:53 c1f63f84-7ef8-4766-6318-777302f8dcac
-rw-r--r-- 1 root root 3.9G Jun 3 22:53 ff0d0242-8adc-4931-5ac8-863a707a2d8f
-rw-r--r-- 1 root root 9.6G Jun 3 22:53 ece93a83-7ad6-4f7d-7e62-9dc1451af27c
-rw-r--r-- 1 root root 977M Jun 3 22:53 e24e50d9-a367-4d2e-5741-86a816cd9e29
-rw-r--r-- 1 root root 96G Jun 3 08:27 9d3d2c9b-78d3-45dd-49d7-0cfc7d14cdc5
-rw-r--r-- 1 root root 7.7G Jun 3 07:50 8cdcadcc-bc45-4c7a-5561-7d755d92d8b7

root(a)agent-id-bosh-0:/var/vcap/store/warden_cpi/disks# ls -lth
total 16G
-rw-r--r-- 1 root root 3.9G Jun 3 23:10 ff0d0242-8adc-4931-5ac8-863a707a2d8f
-rw-r--r-- 1 root root 9.4G Jun 3 23:10 9282fb9f-5117-4819-4de6-2db50ebd5454
-rw-r--r-- 1 root root 977M Jun 3 23:10 c1f63f84-7ef8-4766-6318-777302f8dcac
-rw-r--r-- 1 root root 9.6G Jun 3 23:10 ece93a83-7ad6-4f7d-7e62-9dc1451af27c
-rw-r--r-- 1 root root 977M Jun 3 23:10 e24e50d9-a367-4d2e-5741-86a816cd9e29
-rw-r--r-- 1 root root 96G Jun 3 23:10 9d3d2c9b-78d3-45dd-49d7-0cfc7d14cdc5
-rw-r--r-- 1 root root 7.7G Jun 3 07:50 8cdcadcc-bc45-4c7a-5561-7d755d92d8b7