I'm used, on PVE 4.4, to enable fstrim also for containers. I've setup
a simple script:

        root@vdctms1:~# cat /etc/cron.weekly/dofstrim 
        #!/bin/ sh
        for mount in /; do
                fstrim $mount
        done

but:

        root@vdctms1:~# fstrim -v /
        fstrim: /: the discard operation is not supported

it is PVE5 or ZFS that have no support for fstrim on containers? Seems
that on VM fstrim works (same phisical server):

        root@vdmtms1:~# fstrim -v /
        /: 5,9 MiB (6168576 bytes) trimmed

Thanks.

-- 
dott. Marco Gaiarin                                     GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

                Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
        (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
_______________________________________________
pve-user mailing list
[email protected]
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to