-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Sun, Jan 07, 2018 at 12:45:58PM -0800, Roy Bernat wrote: > On Sunday, 7 January 2018 22:30:39 UTC+2, Andrew David Wong wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA512 > > > > On 2018-01-07 12:48, Roy Bernat wrote: > > > Hi All , > > > > > > What is the best practice to trim disk inside qubes 4 . > > > > > > the qvm-trim-template dont exist anymore . > > > > > > R > > > > > > > You can use the `fstrim` command in the TemplateVM: > > > > $ sudo fstrim -v / > > Hi > > fstrim: /: the discard operation is not supported
Strange, it should work. And on my system it works... Anything special in your configuration? Have you chosen non standard partitioning or such? Maybe you don't have LVM thin based storage? You can check that for the template using (adjust template name): qvm-volume ls fedora-26 The storage pool used will be in the first column, for example: POOL:VOLUME VMNAME VOLUME_NAME REVERT_POSSIBLE linux-kernel:4.9.56-21 fedora-26 kernel No lvm:qubes_dom0/vm-fedora-26-private fedora-26 private No lvm:qubes_dom0/vm-fedora-26-root fedora-26 root No lvm:qubes_dom0/vm-fedora-26-volatile fedora-26 volatile No Here you see "lvm" pool. If you want, you can dig further: qvm-pool -i lvm name lvm driver lvm_thin size 486585401344 thin_pool pool00 usage 347665269260 volume_group qubes_dom0 - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAlpSoNgACgkQ24/THMrX 1yzwzgf/Wl7+PDptZ0i9HN5viuSmQk0W5EeBawQ9CIJHseCGAqPLLvRToSRPBF9f vRPZv7HHAf0xoY7TPnBygjUAgb+u30rbGdpFafBwDugyzy8ojDLZvOZXgxaOiegn M27tjwX6i6Wpc83gh+HwIB4ARJua2gBOS0ULDXJBZZ4y1WoVN0fvr3RiDRGWhpYH 1QutmKGR4Cwz0D1KoEP1qhCiew9BQ2NS1SSCk4dgncZcAnnSCrLR+9WDmirZRl2U 2AbxMdFXMvFfsmXCiTyq/dw3H0N9c6Litq0KPcowkXxhXx24vQo7fjLJGKpFrOEv KuN+RRcMchphkF87AoVASm+G0rTzLA== =DGsq -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20180107223608.GA12450%40mail-itl. For more options, visit https://groups.google.com/d/optout.