On Sun, Feb 09, 2020 at 02:13:53PM +0000, 'awokd' via qubes-users wrote: > https://github.com/Qubes-Community/Contents/blob/master/docs/misc/iaq.adoc#how-can-i-provision-a-vm-with-a-largernon-standard-swap-and-tmp
for "up to 10GB" and on a modern qubes with lvm-pool there is also ... just start the the vm, no dom0 actions required: vm$ sudo mkswap /dev/xvdc3 vm$ sudo swapon /dev/xvdc3 vm$ sudo mount -o remount,size=10g /tmp the "50G" thing is harder, but can still be done "almost the same way". again, start the vm, but one step in dom0 and two extra steps in the vm: dom0$ qvm-volume resize vm:volatile 50GiB vm$ sudo swapoff -a vm$ sudo blkdiscard /dev/xvdc vm$ sudo mkswap /dev/xvdc vm$ sudo swapon /dev/xvdc vm$ sudo mount -o remount,size=50g /tmp the swapoff+blkdiscard is only about 90% reliable in my exp, if anything fires a blockdevice-hotplug event in between those it will auto-swapon the old device again. just repeat swapoff+blkdiscard if the mkswap errors out about "in use". both ways do not require any cleanup in the vm or in dom0. you can check if you are on "modern qubes with lvm-pool" by checking whether you have a /dev/xvdc3 inside the appvm. or more importantly, that you do NOT have a xvdc2 (which indicates file-pool reverse-cow is in in use). -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20200209155801.GP8973%40priv-mua.