Re: [DRBD-user] [proxmox]Move disk to drbd storage fails...

2018-06-11 Thread Christophe NOUVEL
  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-1all  RAID 1
over TCP/IP for Linux module source
ii  drbd-utils
9.4.0-1 amd64RAID 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  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@lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
___
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user


Re: [DRBD-user] [proxmox]Move disk to drbd storage fails...

2018-06-06 Thread Massimo De Nadal
-Original Message-
From: Christophe NOUVEL 
To: drbd-user@lists.linbit.com
Date: Tue, 5 Jun 2018 15:46:10 +0200
Subject: [DRBD-user] [proxmox]Move disk to drbd storage fails...

> Our new 2 nodes proxmox cluster (PVE 5.2) + drbd9 (Linbit repository)
> works fine.

Hi Christophe,

I know my answer it's off-topic, please be patient. 
I'm trying a similar setup (PVE 5.2 + drbd9) but I'm facing stability issues 
under heavy I/O load: in particular kernel panics during live motion under 
heavy disk load.

Can I ask you what kind of backend are you using? ZFS or LVM ? Thin provisioned 
?
Replication network speed? 
Have you done  stability tests under VERY heavy loads ?

Thank you for your attention.
Kind regards,
___
Massimo De Nadal

Digital System srl
Via E.B. Mondin 7 - 32100 - Belluno (Italy)
tel. +39.0437.296539 - fax +39.0437.917154
sip:m...@digital-system.it
email:m...@digital-system.it
http://www.digital-system.it
___
/"\
\ /ASCII Ribbon Campaign
 X   against HTML email & vCards
/ \




signature.asc
Description: PGP signature
___
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user


Re: [DRBD-user] [proxmox]Move disk to drbd storage fails...

2018-06-06 Thread Yannis Milios
Looks like the new gmail has messed up the message, re sending in plain text...

create full clone of drive scsi1 (local-zfs:vm-108-disk-2)
pong
Operation completed successfully
Operation completed successfully
pong
Operation completed successfully
Operation completed successfully
pong
Operation completed successfully
pong
Operation completed successfully
Operation completed successfully
transferred: 0 bytes remaining: 34359738368 bytes total: 34359738368
bytes progression: 0.00 %
qemu-img: Could not open '/dev/drbd/by-res/vm-108-disk-1/0': Could not
open '/dev/drbd/by-res/vm-108-disk-1/0': No such file or directory
pong
Operation completed successfully
Operation completed successfully
TASK ERROR: storage migration failed: copy failed: command
'/usr/bin/qemu-img convert -p -n -T none -f raw -O raw
/dev/zvol/rpool/data/vm-108-disk-2 /dev/drbd/by-res/vm-108-disk-1/0'
failed: exit code 1
___
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user


Re: [DRBD-user] [proxmox]Move disk to drbd storage fails...

2018-06-06 Thread Yannis Milios
This does not seem to work for me either, I'm on the latest pve and
drbd9/drbdmanage versions. For me, it fails with a different kind of error
though.
I've executed the command on the "leader" node. The source vm disk is local
zfs but I tried it also with a qemu raw image and had the same result.

Task viewer: VM 108 - Move disk
OutputStatus
Stop
create full clone of drive scsi1 (local-zfs:vm-108-disk-2)
pong
Operation completed successfully
Operation completed successfully
pong
Operation completed successfully
Operation completed successfully
pong
Operation completed successfully
pong
Operation completed successfully
Operation completed successfully
transferred: 0 bytes remaining: 34359738368 bytes total: 34359738368 bytes
progression: 0.00 %
qemu-img: Could not open '/dev/drbd/by-res/vm-108-disk-1/0': Could not open
'/dev/drbd/by-res/vm-108-disk-1/0': No such file or directory
pong
Operation completed successfully
Operation completed successfully
TASK ERROR: storage migration failed: copy failed: command
'/usr/bin/qemu-img convert -p -n -T none -f raw -O raw
/dev/zvol/rpool/data/vm-108-disk-2 /dev/drbd/by-res/vm-108-disk-1/0'
failed: exit code 1



On Wed, Jun 6, 2018 at 8:30 AM Roland Kammerer 
wrote:

> 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@lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
___
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user


Re: [DRBD-user] [proxmox]Move disk to drbd storage fails...

2018-06-06 Thread Roland Kammerer
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@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user


[DRBD-user] [proxmox]Move disk to drbd storage fails...

2018-06-05 Thread Christophe NOUVEL
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??

Any idea?

  Thank you,

Christophe.
___
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user