[DRBD-user] [proxmox]Move disk to drbd storage fails...
Christophe NOUVEL
christophe.nouvel at gmail.com
Mon Jun 11 11:46:36 CEST 2018
Hi Roland,
Packages are up to date, version seems to be the same than in reference
thread (sept. 2017) :
dpkg -l | grep drbd
ii drbd-dkms
9.0.14-1 all RAID 1
over TCP/IP for Linux module source
ii drbd-utils
9.4.0-1 amd64 RAID 1
over TCP/IP for Linux (user utilities)
ii drbdmanage-proxmox
2.1-1 all DRBD
distributed resource management utility
ii python-drbdmanage
0.99.17-1 all DRBD
distributed resource management utility
Fresh proxmox 5.2...
Regards,
Christophe.
Le mer. 6 juin 2018 à 09:30, Roland Kammerer <roland.kammerer at linbit.com> a
écrit :
> On Tue, Jun 05, 2018 at 03:46:10PM +0200, Christophe NOUVEL wrote:
> > Hi all,
> >
> > Our new 2 nodes proxmox cluster (PVE 5.2) + drbd9 (Linbit repository)
> works
> > fine.
> >
> > But when we try to move an existing disk, from an external USB hard drive
> > to DRB storage, we have :
> >
> > create full clone of drive ide1 (local-lvm:vm-107-disk-1)
> > pong
> > Operation completed successfully
> > Operation completed successfully
> > pong
> > Operation completed successfully
> > "." is not a valid unit!
> > usage: drbdmanage add-volume [-h] [-m MINOR] [-d DEPLOY] [-s SITE] name
> size
> > ...
> > Valid units: pib,gb,kib,kb,g,mb,k,mib,m,pb,p,t,tb,tib,gib
> > pong
> > Operation completed successfully
> > pong
> > Operation completed successfully
> > Operation completed successfully
> > drive mirror is starting for drive-ide1
> > drive-ide1: Cancelling block job
> > drive-ide1: Done.
> > pong
> > Operation completed successfully
> > Operation completed successfully
> > TASK ERROR: storage migration failed: mirroring error: VM 107 qmp command
> > 'drive-mirror' failed - Could not open
> '/dev/drbd/by-res/vm-107-disk-3/0':
> > No such file or directory
> >
> > We found a similar problem here :
> > http://lists.linbit.com/pipermail/drbd-user/2017-September/023679.html
> >
> > And tried to patch /usr/share/perl5/PVE/Storage/Custom/DRBDplugin.pm, but
> > nothing changed...
> > I even tried to hide this file, and nothing changes again??
>
> 1. Don't manually patch something
> 2. To me that looks like a bug that got fixed by now probably more than
> a year ago, IIRC. Back then the bug was that this "debug output"
> including '.' was printend on stdout, and then got mixed into other
> commands.
>
> So my best guess is you are using very very outdated versions.
>
> dpkg -l | grep drbd # would help
>
> Regards, rck
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180611/73d3d961/attachment.htm>
More information about the drbd-user
mailing list