Global value for the paramater "revisions_to_keep"

24 views
Skip to first unread message

roger paranoia

unread,
May 12, 2023, 1:29:03 PM5/12/23
to qubes...@googlegroups.com
Hello

I had a hard time cause I didn't notice the pool memory was running out of space because of the accumulation of snapshot revisions.

I actually don't need 2 snapshots for most of my qubes and I've been wondering if it's possible to set a global value so those qubes don't fill up my disk with "garbage" but I haven't found anything neither at the corresponding wiki ( https://www.qubes-os.org/doc/volume-backup-revert/) nor any other relevant result on google.

It also would be useful to know if there is a fast way to just delete all revisions all at once without affecting the main qube.


Thanks in advance for any help

Thomas Clarke

unread,
May 12, 2023, 4:34:53 PM5/12/23
to qubes...@googlegroups.com
Hi,

You can list your pools with `qvm-pool`. And list options for a pool with (where my pool is pool00) `qvm-pool info pool00`. Then you can set `revisions_to_keep` for a pool like `qvm-pool set -o revisions_to_keep=0 pool00`.

I'm not sure if this will work retroactively on already created volumes, but should be applied to all new ones going forward.

On 12/05/2023 18:28, roger paranoia wrote:
> Hello
>
> I had a hard time cause I didn't notice the pool memory was running out of space because of the accumulation of snapshot revisions.
>
> I actually don't need 2 snapshots for most of my qubes and I've been wondering if it's possible to set a global value so those qubes don't fill up my disk with "garbage" but I haven't found anything neither at the corresponding wiki ( https://www.qubes-os.org/doc/volume-backup-revert/ <https://www.qubes-os.org/doc/volume-backup-revert/>) nor any other relevant result on google.
>
> It also would be useful to know if there is a fast way to just delete all revisions all at once without affecting the main qube.
>
>
> Thanks in advance for any help
>
> --
> 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...@googlegroups.com <mailto:qubes-users...@googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/CANyf1MJnZK5Qtwj5UOCRN8jaPLEHd-ft2_igxrx5dAq99cw0-A%40mail.gmail.com <https://groups.google.com/d/msgid/qubes-users/CANyf1MJnZK5Qtwj5UOCRN8jaPLEHd-ft2_igxrx5dAq99cw0-A%40mail.gmail.com?utm_medium=email&utm_source=footer>.

roger paranoia

unread,
May 13, 2023, 6:41:47 AM5/13/23
to Thomas Clarke, qubes...@googlegroups.com
Hello

Thanks Thomas! That was of big help :D
I haven't checked if that works retroactively... anyway though, to rapidly free some memory up and recover the system I just deleted all revisions with "lvremove /dev/qubes/dom0/*-back" (responding myself to the second question on my previous mail).


To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/a47a277a-3779-337a-fdf3-adf3c2172616%40riseup.net.
Reply all
Reply to author
Forward
0 new messages