here is the output of df -h:
and here is the output of
my concern is the that the root partition is using 97% of the disk space, what I don't understand is whether that disk space has just been
allocated to my containers ahead of time or whether the machine is using 97% of it's space, if it is using that space where is the space being used?
and where can I find it?
Code:
df -h
Code:
Filesystem Size Used Avail Use% Mounted on
udev 10M 0 10M 0% /dev
tmpfs 6.3G 11M 6.3G 1% /run
/dev/md1 274G 251G 9.1G 97% /
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 14G 22M 14G 1% /run/shm
/dev/fuse 30M 20K 30M 1% /etc/pve
/var/lib/vz/private/101 52G 29G 9.1G 76% /var/lib/vz/root/101
none 25G 4.0K 25G 1% /var/lib/vz/root/101/dev
none 4.0K 0 4.0K 0% /var/lib/vz/root/101/sys/fs/cgroup
none 4.9G 1.1M 4.9G 1% /var/lib/vz/root/101/run
none 5.0M 0 5.0M 0% /var/lib/vz/root/101/run/lock
none 25G 0 25G 0% /var/lib/vz/root/101/run/shm
none 100M 0 100M 0% /var/lib/vz/root/101/run/user
/var/lib/vz/private/100 70G 47G 9.1G 84% /var/lib/vz/root/100
none 6.9G 4.0K 6.9G 1% /var/lib/vz/root/100/dev
none 4.0K 0 4.0K 0% /var/lib/vz/root/100/sys/fs/cgroup
none 1.4G 1.1M 1.4G 1% /var/lib/vz/root/100/run
none 5.0M 0 5.0M 0% /var/lib/vz/root/100/run/lock
none 6.9G 0 6.9G 0% /var/lib/vz/root/100/run/shm
none 100M 0 100M 0% /var/lib/vz/root/100/run/user
/var/lib/vz/private/102 10G 6.2G 3.9G 62% /var/lib/vz/root/102
none 756M 4.0K 756M 1% /var/lib/vz/root/102/dev
none 756M 20K 756M 1% /var/lib/vz/root/102/dev/shm
and here is the output of
Code:
vzlist --all --output ctid,hostname,diskspace,diskspace.s,diskspace.h --sort diskspace | awk '{if (NR>1) {printf("%-4s %-30s %-10s %-10s %-10s %d\n", $1, $2, $3, $4, $5, $3/$4*100)} else printf("%-4s %-30s %-10s %-10s %-10s %s\n", $1, $2, $3, $4, $5, "PERC_USED")}'
Code:
CTID HOSTNAME DSPACE DSPACE.S DSPACE.H PERC_USED
102 *********.com 6481668 10485760 11534336 61
101 **********.eu 29756028 99614720 109576192 29
100 **********.com 48994076 204472320 224919552 23
my concern is the that the root partition is using 97% of the disk space, what I don't understand is whether that disk space has just been
allocated to my containers ahead of time or whether the machine is using 97% of it's space, if it is using that space where is the space being used?
and where can I find it?
Last edited: