-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
But in default installation, LVM thin volumes are used, instead of
files for VM disk images ("all large data"). If you want to have it on
secondary drive, you need to put "LVM thin pool" there, instead of
/var/lib/qubes.
Additionally, Qubes 4.0 is more flexible about placing different VMs on
different disks - for example you can keep templates on one disk, and
AppVMs on another, without messy symlinks. There will be more
documentation about it later, but for now some commands for that (look
at their manual pages for details):
First configure additional LVM thin pool to your taste. Then register
it:
qvm-pool --add pool_name lvm_thin -o volume_group=vg_name,thin_pool=thin_pool_name
# pool_name is a freely chosen pool name
# vg_name is LVM volume group name
# thin_pool_name is LVM thin pool name
Now, you can create VMs in that pool:
qvm-create -P pool_name --label red vmname
If you want migrate existing VM there, it isn't possible directly, but
you can clone it to the pool, then remove the old one:
qvm-clone -P pool_name old_name new_name
qvm-remove old_name
If that was a template, or other VM referenced elsewhere (NetVM or
such), you need to adjust those referenced manually first. For example:
qvm-prefs appvm_based_on_old_name_template template new_name
In theory you can still use file-based disk images ("file" pool driver),
but it lack some features, so for example you won't be able to do
backups without shutting down a VM.
- --
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
iQEcBAEBCAAGBQJZvFJ+AAoJENuP0xzK19csrIIIAJNC6OB/lvw9WRAyr2Q6IRlO
JVEfxsnObZyqYrA+iCeGdbP1ONhsgbTncBlIRIe/AVaPOjbwoNaJF5jXdN2zPeLU
6h1idy1rKZCgiZYUjesth5CLAp0M48bZLNmzNY0kHrg4yoglSWEblVn2hWMPNWdt
95ffd+FWQYS6Cb3y1Y3UuOQUlwYsNbcTV2KDu8W/DVD1iTM4/OAY9rqyBdFs7Ha0
UEfthy7ayCAEIt/SYnuLrl/GnY61BtQiNt/w7tUkc9uqDn0jgJCHJSVvrigp1ERD
T2JTtRREO6YV2okE1iLG1EJ2Vbt9THxMYV+aVWidxGIjLPnUVtEr6wIJEAHZFCc=
=CoTr
-----END PGP SIGNATURE-----