what happened to qvm-trim-template?

46 views
Skip to first unread message

dro...@gmail.com

unread,
Jun 1, 2019, 8:01:31 PM6/1/19
to qubes-users
Don't see it.

I cloned Debian-9 to Debian-10, upgraded to Buster. VM using 7912.65 MiB disk.

Followed instructions here:

https://groups.google.com/forum/#!searchin/qubes-users/debian|sort:date/qubes-users/OUui5jGPqGI/yJUnOVytBQAJ

https://www.qubes-os.org/doc/template/debian/upgrade-8-to-9/

awokd

unread,
Jun 1, 2019, 8:16:52 PM6/1/19
to qubes...@googlegroups.com
dro...@gmail.com:
> Don't see it.

Deprecated; no longer needed in Qubes 4.0.

haaber

unread,
Jun 2, 2019, 2:10:47 AM6/2/19
to qubes...@googlegroups.com
There is "fstrim -a", see man mage.

brenda...@gmail.com

unread,
Jun 2, 2019, 10:15:28 AM6/2/19
to qubes-users
On Sunday, June 2, 2019 at 2:10:47 AM UTC-4, haaber wrote:
> On 6/2/19 10:16 AM, 'awokd' via qubes-users wrote:
> > dr.....@gmail.com:

> >> Don't see it.
> >
> > Deprecated; no longer needed in Qubes 4.0.
> >
> There is "fstrim -a", see man mage.

Template trim procedure is:

$ sudo fstrim -av
$ sudo shutdown -h now

(wait for template shutdown)
(start the template)

$ sudo fstrim -av
$ sudo shutdown -h now

(wait for template shutdown)
(continue your tasks that depend on creating VMs from or cloning the template)

Doing it twice ensures that any significant changes from earlier in the previous session aren't stored in a difference file.

Brendan

Reply all
Reply to author
Forward
0 new messages