Thanks. How can I do this for Linux Containers (CT)?You gotta enable discard in the VM disc mount options or run fstrim inside the VM to reclaim unused disc space.
View attachment 40882
Oneliner to trim all containers:Thanks. How can I do this for Linux Containers (CT)?
pct list | awk '/^[0-9]/ {print $1}' | while read ct; do pct fstrim ${ct}; done
We use essential cookies to make this site work, and optional cookies to enhance your experience.