Hello,
I am testing OMV in a proxmox VM with a bunch of virtual disks that form a RAID5 as /dev/md0. However, I run into a problem when creating a volume group on /dev/md0:
devices: The value '/dev/md0' doesn't match the pattern '^(.+[,;])*.+$'.
Error #0:OMV\Json\SchemaValidationException: devices: The value '/dev/md0' doesn't match the pattern '^(.+[,;])*.+$'. in /usr/share/php/openmediavault/json/schema.inc:478Stack trace:#0 /usr/share/php/openmediavault/json/schema.inc(370): OMV\Json\Schema->checkPattern('/dev/md0', Array, 'devices')#1 /usr/share/php/openmediavault/json/schema.inc(297): OMV\Json\Schema->validateString('/dev/md0', Array, 'devices')#2 /usr/share/php/openmediavault/json/schema.inc(624): OMV\Json\Schema->validateType('/dev/md0', Array, 'devices')#3 /usr/share/php/openmediavault/json/schema.inc(395): OMV\Json\Schema->checkProperties(Object(stdClass), Array, '')#4 /usr/share/php/openmediavault/json/schema.inc(285): OMV\Json\Schema->validateObject(Object(stdClass), Array, '')#5 /usr/share/php/openmediavault/json/schema.inc(257): OMV\Json\Schema->validateType(Object(stdClass), Array, '')#6 /usr/share/php/openmediavault/rpc/paramsvalidator.inc(59): OMV\Json\Schema->validate(Object(stdClass))#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(178): OMV\Rpc\ParamsValidator->validate('{"name":"testvg...')#8 /usr/share/openmediavault/engined/rpc/logicalvolumemgmt.inc(381): OMV\Rpc\ServiceAbstract->validateMethodParams(Array, 'rpc.logicalvolu...')#9 [internal function]: OMVRpcServiceLogicalVolumeMgmt->createVolumeGroup(Array, Array)#10 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#11 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('createVolumeGro...', Array, Array)#12 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('LogicalVolumeMg...', 'createVolumeGro...', Array, Array, 1)#13 {main}
As I am new to OMV I am not really sure what causes this problem. But I know that
vgcreate vg1 /dev/md0
is no problem as I have it running on my production file server which is manually configured.
Versions are:
OMV 4.1.3
LVM2: 4.0.7-1
Thanks a lot,
Ben