I'm getting most of the guide successful, if I run through it to set up a single 50GB test drbd partition everything works. The moment I try to use larger storage and set it up for real I get inconsistent results.
The xe sr-create command will work occassionally, but most of the time it errors out with the following in SMlog:
May 28 16:46:46 HV01 SM: [29385] Entering _checkMetadataVolume
May 28 16:46:46 HV01 SM: [29385] Creating Metadata volume
May 28 16:46:46 HV01 SM: [29385] ['/usr/sbin/lvcreate', '-n', 'MGT', '-L', '4', 'VG_XenStorage-db06b78d-2a85-6db8-b36d-12409c039316']
May 28 16:46:47 HV01 SM: [29385] FAILED in util.pread: (rc 5) stdout: '', stderr: ' device-mapper: reload ioctl failed: Invalid argument
May 28 16:46:47 HV01 SM: [29385] Failed to activate new LV.
May 28 16:46:47 HV01 SM: [29385] '
May 28 16:46:47 HV01 SM: [29385] Raising exception [181, Error in Metadata volume operation for SR. [opterr=Error introducing Metadata Volume: 5]]
May 28 16:46:47 HV01 SM: [29385] lock: released /var/lock/sm/db06b78d-2a85-6db8-b36d-12409c039316/sr
May 28 16:46:47 HV01 SM: [29385] ***** generic exception: sr_attach: EXCEPTION SR.SROSError, Error in Metadata volume operation for SR. [opterr=Error introducing Metadata Volume: 5]
Does Xen 6.2 not like drbd or have some limitations?
I've posted full details on Citrix.com in case there are any other suggestions ( http://discussions.citrix.com/topic/352108-drbd-and-xe-sr-create-failure-on-metadata-lv/ )
I'm getting most of the guide successful, if I run through it to set up a single 50GB test drbd partition everything works. The moment I try to use larger storage and set it up for real I get inconsistent results.
The xe sr-create command will work occassionally, but most of the time it errors out with the following in SMlog:
May 28 16:46:46 HV01 SM: [29385] Entering _checkMetadataVolume
May 28 16:46:46 HV01 SM: [29385] Creating Metadata volume
May 28 16:46:46 HV01 SM: [29385] ['/usr/sbin/lvcreate', '-n', 'MGT', '-L', '4', 'VG_XenStorage-db06b78d-2a85-6db8-b36d-12409c039316']
May 28 16:46:47 HV01 SM: [29385] FAILED in util.pread: (rc 5) stdout: '', stderr: ' device-mapper: reload ioctl failed: Invalid argument
May 28 16:46:47 HV01 SM: [29385] Failed to activate new LV.
May 28 16:46:47 HV01 SM: [29385] '
May 28 16:46:47 HV01 SM: [29385] Raising exception [181, Error in Metadata volume operation for SR. [opterr=Error introducing Metadata Volume: 5]]
May 28 16:46:47 HV01 SM: [29385] lock: released /var/lock/sm/db06b78d-2a85-6db8-b36d-12409c039316/sr
May 28 16:46:47 HV01 SM: [29385] ***** generic exception: sr_attach: EXCEPTION SR.SROSError, Error in Metadata volume operation for SR. [opterr=Error introducing Metadata Volume: 5]
Does Xen 6.2 not like drbd or have some limitations?
I've posted full details on Citrix.com in case there are any other suggestions ( http://discussions.citrix.com/topic/352108-drbd-and-xe-sr-create-failure-on-metadata-lv/ )