[pve-devel] zfs plugin: creating 2 disks

Pablo Ruiz pablo.ruiz at gmail.com
Sat May 3 21:46:21 CEST 2014


I sent a patch a couple of months ago allowing support for nested pools. I
think it was merged into testing.


On Sat, May 3, 2014 at 9:23 PM, Michael Rasmussen <mir at datanom.net> wrote:

> On Sat, 3 May 2014 21:58:43 +0300
> Adrian Costin <adrian.costin at gmail.com> wrote:
>
> > Small bug when creating a second disk for the same VM on the same repo:
> >
> > command '/usr/bin/ssh -o 'BatchMode=yes' -i
> > /etc/pve/priv/zfs/10.37.64.2_id_rsa root at 10.37.64.2 zfs create -s -b
> > 64k -V 33554432k storage/kvm/vm-1476-disk-1' failed: exit code 1 (500)
> >
> > Basically it doesn't find that vm-1476-disk-1 already exists. Running
> > the command manually gives:
> >
> > cannot create 'storage/kvm/vm-1476-disk-1': dataset already exists
> >
> > This seems to be related to the fact that I'm using:
> >
> > pool storage/kvm
> >
> > in storage.cfg. If I use just the pool name it correctly increments
> > the ID, however I have need to keep all the images inside a secondary
> > zfs.
> Yes, seems to remember that nested pools are not supported. I will see
> if I can find some time to look into this. I should think you could
> overcome this missing feature by creating a target which points
> directly to the nested pool. Purely speculating since I haven't tested
> this.
>
> --
> Hilsen/Regards
> Michael Rasmussen
>
> Get my public GnuPG keys:
> michael <at> rasmussen <dot> cc
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
> mir <at> datanom <dot> net
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
> mir <at> miras <dot> org
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
> --------------------------------------------------------------
> /usr/games/fortune -es says:
> paranoia, n.:
>         A healthy understanding of the way the universe works.
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20140503/36871263/attachment.htm>


More information about the pve-devel mailing list