[PVE-User] Unprivileged container and fstrim...
pve at junkyard.4t2.com
Mon Mar 9 11:44:44 CET 2020
Am Montag, den 09.03.2020, 11:34 +0100 schrieb Marco Gaiarin:
> I was abused to do a 'fstrim /' weekly run on my privileged
> and seems that the command was effective:
> root at vdcsv1:~# fstrim -v /
> /: 18,6 GiB (19946131456 bytes) trimmed
> but after convert many of them to unprivileged ones:
> root at vmw:~# fstrim -v /
> fstrim: /: FITRIM ioctl failed: Operazione non permessa
> Clearly, underlying storage is 'trimmable'.
> Two question.
> 1) trim on container generally works, or simply on privileged ones
> not throw errors but do nothing? ;-)
> Container space change slowly, so could be that trim was simply
> 2) there's another way to 'trim' container disk space? Eg, from the
on the host?
More information about the pve-user