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