This probably has been asked several times but likely I am using incorrect search terms.
I'm trying to understand container disk usage differences.
I have a container that shows the following with df:
From inside the container the system sees 46% disk usage.
From outside the container the lvs command shows the allotted disk as almost full:
My understanding is I need to (fs)trim the container?
If I need to trim the container, do I need to first shut down the system?
What is the correct or preferred way to automate trimming containers?
This particular system is on Proxmox 5 but is scheduled to be upgraded to 6 before the end of the month.
Thanks again.
I'm trying to understand container disk usage differences.
I have a container that shows the following with df:
Code:
/dev/mapper/pve-vm--301--disk--1 ext4 591G 257G 304G 46%
From inside the container the system sees 46% disk usage.
From outside the container the lvs command shows the allotted disk as almost full:
Code:
vm-301-disk-1 pve Vwi-aotz-- 600.00g data 99.90
My understanding is I need to (fs)trim the container?
If I need to trim the container, do I need to first shut down the system?
What is the correct or preferred way to automate trimming containers?
This particular system is on Proxmox 5 but is scheduled to be upgraded to 6 before the end of the month.
Thanks again.