Sorry I guess I wasn't very clear from the command since I only going to
run a single VM on the pool I thought naming it the same
The following command didn't work as well -
qvm-clone -P storage extra extra-clone

You can see from the error message that lvcreate complains the command is
called with both volum groups (the original where extra vm sits on
(qubes_root0) and the one where the new vm should be created on
(qubes_-storage0) I tried running it in verbose mode to get the actual
command that is being called but it is never being logged.

As a workaround I used qvm-perf to change the default pool to storage and
than restored the VM from backup.

I guess this is a bug in qvm-clone so I'll open a github issue


On Sun, Apr 1, 2018 at 3:21 AM, awokd <[email protected]> wrote:

> On Sun, April 1, 2018 4:46 am, [email protected] wrote:
> > I'm trying to clone an existing VM to a pool on a secondary drive.
> >
> >
> > I followed the instructions on
> > https://www.qubes-os.org/doc/secondary-storage/
>
> This line?
> qvm-clone -P pool_name old_name new_name
>
> > But when I run the `qvm-clone` I get the following error -
> > $ qvm-clone -v -P storage extra storage
>
> > raise exc_class(format_string, *args) qubesadmin.exc.
> StoragePoolException:
> > b'  Please use a single volume group name ("qubes_root0" or
> > "qubes_-storage0").\n  Run `lvcreate --help\' for more information.\n'
> >
> >
> >
> > Running `qvm-create` on the secondary pool seem to work with no issues
>
> You're right, the documentation isn't very clear there on what those old
> and new names are for. I think you might be specifying multiple pool
> names.
>
> Can you try these steps instead and see if it works?
>
> First, get a list of your pool names with `qvm-pool`. Then, clone your
> existing VM to the target pool with:
>
> qvm-clone -P <targetpoolname> <sourceVMname> <cloneVMname>
>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CA%2B1ygOZYJHJFsa3O9jnGAn%3DTOEoQgj2j0-ZSFcODyr-zqqkXbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to