qvm-clone option -p not working

26 views
Skip to first unread message

haaber

unread,
Mar 12, 2017, 10:09:07 AM3/12/17
to qubes-users
For reasons of disk space I need to clone experimental VM's on the HDD
and not on /var/lib/qubes sitting in my small SSD. So I try in dom0

qvm-clone -p /path-to-HDD/ existing-vm new-name

However, the -p option is ignored:

--> Creating directory /var/lib/qubes/vm-templates/new-name

Of course it fails a minute later by disc-full error. When I generate

/var/lib/qubes/vm-templates/new-name

as a symlink to /path-to-HDD/ qvm-clone hurts as well. I tried a local
copy of qvm-clone where I remove the "dir exists" test, but then the
script hurts later with other symlink problems. Can I clone a VM manually?

Bernhard

Andrew David Wong

unread,
Mar 12, 2017, 10:12:58 AM3/12/17
to haaber, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
You can move some existing VMs to the HDD in order to free up space on
the SSD:

https://www.qubes-os.org/doc/secondary-storage/

Then you can clone your desired VMs and allocate them on each drive as
you see fit.

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYxVdUAAoJENtN07w5UDAwg2sP/39MqasrJKOIy4MOg/e80Ghz
dGFIhhJfoafbKogn8J/Gqw6oLS2THMYG+43q4HUyFbwPe1llwR+udv9YwROv05XK
s5UNonTJaWZqBl9cdk5WlkNvZJGXMxAxmVt4ZbI+21YASaEqZSZwejYa8xCXHR+R
fGMsmyqVXzW0Ip4Bj1m4o5lMeVXs+H1aVpYMgWdVeMTXSuPlm4Uq6gt07rwK5EcY
rknhu/6fCFOS1IKX07S+jtTljpNT5A8VjeTwTB9trJDPk1C00XujQuHG6ZjdRlDn
8A8sv33d6WNkfygwIRaol4pj0K5aCO7JvrHy5kYE0Y2nfRH6vVaLBs42Qb7RheA4
pN+blvt5gLK0psEUHeFLXc5NN31LEyXRMRCc4bhQJdJ8uDmzpIAkIWfRS1BEJzJJ
hVFrsmUKZjq9Wcb3o7QXLoEuta/9yIvgeuobKNN2/C8skqw5LPgJ7B/EaKFlMNmo
8G5/ppjyLYAxAgxGVO9RIFnMKP/U6JqY3L3+OclOZJR1ASs1yUdBrFh+p+v/qhrQ
9k+lnmehf4XooH0az34UKJeu8JjjlwlupGRkqxu3vnY0aXPgOpzZ2rF/uIf66X39
uRHPiopeVIysP1vOc5jmnE1ljPnkD920bLx5x3mEQTSQKvzu1KIg2ADtytMrnODQ
aU9QORd0Alkb08hqm3Oq
=MK4W
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages