DispVM available space

35 views
Skip to first unread message

Connor Page

unread,
Jun 8, 2016, 3:37:39 PM6/8/16
to qubes-users
I've noticed that there is no private image mounted in /rw in disposable vms.
1. What is the point of private image size setting in Qubes Manager then?
2. Is there an easy way to expand dvm storage without affecting it's template?
3. Am I missing something?

I need to load large files in dvm, check them and then move to another vm. There is not enough RAM to use ramdisk.
Any quick hints will be appreciated.

Marek Marczykowski-Górecki

unread,
Jun 8, 2016, 5:49:42 PM6/8/16
to Connor Page, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, Jun 08, 2016 at 12:37:39PM -0700, Connor Page wrote:
> I've noticed that there is no private image mounted in /rw in disposable vms.
> 1. What is the point of private image size setting in Qubes Manager then?

No point at all...

> 2. Is there an easy way to expand dvm storage without affecting it's template?
> 3. Am I missing something?
>
> I need to load large files in dvm, check them and then move to another vm. There is not enough RAM to use ramdisk.
> Any quick hints will be appreciated.

One idea is to add additional block device, even file based[*],
optionally encrypt it with ephemeral key and mount in that DispVM. Not
very convenient, but effective.

[*] In dom0:
truncate -s 10G /var/tmp/some-file.img
qvm-block --attach-file dispN dom0:/var/tmp/some-file.img
rm /var/tmp/some-file.img

The actual space will be automatically released as soon as you shutdown
the DispVM.

- --
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-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXWJLuAAoJENuP0xzK19csR20H/jtymqHwp17SxTMCH9CULXq0
7af38ycxEAUq2XgNqPDYXWAcMZPKHUChT/EoVnIK4w+4HIG7Xiw428xKMlg6fxZH
5oATPU/BTU270dp3JMPzy9dqkIRPX0WiwPieGVF1rDsQOkFzQmuU2hbG61mIDCjQ
+FW6ujdiywO9vmbJlTZqBiI4OtsXVw1KATUOY+B6HLlMUlUCftWMtS1XT+Ehb8F2
nKxCze/oM63d2eHTbIy6Pm43OWW9tUTEhk1IO4WjfCnKN8NQLK5Pa51d/qNMuXC1
KSOLV2wemGr/Nkzh7niltbX/jjGbZupVXSyI3heKBFieOuF2X4mYESbBa02wyjY=
=h7BW
-----END PGP SIGNATURE-----

Connor Page

unread,
Jun 8, 2016, 6:30:57 PM6/8/16
to qubes-users
Thank you Marek. I guess the setting should be greyed out same as root image size.
Reply all
Reply to author
Forward
0 new messages