-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Sun, Dec 24, 2017 at 12:57:57AM +0100, 'Tom Zander' via qubes-users wrote:
> Hi,
>
> I've set up a new qubes install and created two LVM volume groups. I wanted to try and see how this works with qubes and I tried out the pools concept.
>
> The problem is that I think I did everything according to the docs, but the qvm-create command gives me an error message.
>
> Can someone find out what I did wrong?
>
>
> sudo vgs -a
> VG #PV #LV #SN Attr VSize VFree
> Slow 1 1 0 wz--n- 391.51g 391.01g
> qubes_dom0 1 2 0 wz--n- 59.33g 37.33g
> sudo lvcreate -L 37g -n systems qubes_dom0
> sudo lvcreate -L 390.5g -n data Slow
You need yo create those as thin pools, not standard volumes. For
example this way:
lvcreate -L 37g --thinpool systems qubes_dom0
> sudo lvs
> LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
> data Slow -wi-a----- 390.50g
> adminvm qubes_dom0 -wi-ao---- 22.00g
> systems qubes_dom0 -wi-a----- 37.00g
>
> qvm-pool -a qubes_ssd lvm_thin -o volume_group=qubes_dom0,thin_pool=systems,revisions_to_keep=0
> qvm-pool -a data lvm_thin -o volume_group=Slow,thin_pool=data,revisions_to_keep=0
>
> qvm-create -P qubes_ssd --template fedora-25 -l green --class AppVM test
> app: Error creating VM: b' Logical volume qubes_dom0/systems is not a thin pool.\n'
>
>
> Any help appreciated!
- --
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-----
iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAlo+/mEACgkQ24/THMrX
1yyg6gf+LMDnRcqY1Gu//4uvReRbS4ERDGNRnOUUqGsb7UA+61/MEZBW2lEm+/ue
N1pjUq9JlgWsEQVRisCjYABnnqK1MtzMLvtM6wYmhuMZ/wuzjQ2xZL5kLNwI0VCj
9saH4OOdsvtG+HhWKDGOuZL/ida3BnTaWNdkhTi4Z+eBiUiCz16o4pk6iUN+sBWY
pLbCUBYiaGqqoy82fYW3wWqUYVbEeieBrHF1xv4S50HJkUPw4egbGqXAiBA8D6fn
iUb0+KhhFZU5FVT1b7RvmBxKNn2N4zzdNBWPUQ46cS2fBAuyqn6cJwTEbkn+PocB
hRplayqsi3RaRoAJucuY6e4Dg1iWgw==
=PUPJ
-----END PGP SIGNATURE-----