Hey everyone,
I'm trying to setup a RAID on my UDOO quad using OMV 0.4.17 and 2 USB HDDs.
I wiped the HDD under Storgae -> Physical Discs.
Then i went to Storage -> RAID Management and tried to setup the RAID.
When I select STRIPE, the error message is:
Code
Failed to execute command 'sudo omv-mkraid /dev/md0 -l stripe -n 2 /dev/sda /dev/sdb 2>&1': mdadm: chunk size defaults to 512K mdadm: unexpected failure opening /dev/md0
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'sudo omv-mkraid /dev/md0 -l stripe -n 2 /dev/sda /dev/sdb 2>&1': mdadm: chunk size defaults to 512K
mdadm: unexpected failure opening /dev/md0' in /var/www/openmediavault/rpc/raidmgmt.inc:261
Stack trace:
#0 [internal function]: RaidMgmtRpc->create(Array)
#1 /usr/share/php/openmediavault/rpc.inc(265): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc.inc(98): OMVRpc::exec('RaidMgmt', 'create', Array)
#3 /var/www/openmediavault/rpc.php(44): OMVJsonRpcServer->handle()
#4 {main}
Alles anzeigen
When I select MIRROR, the error message is:
Code
Failed to execute command 'sudo omv-mkraid /dev/md0 -l mirror -n 2 -N mirror /dev/sda /dev/sdb 2>&1': mdadm: Note: this array has metadata at the start and may not be suitable as a boot device. If you plan to store '/boot' on this device please ensure that your boot-loader understands md/v1.x metadata, or use --metadata=0.90 mdadm: size set to 488222528K mdadm: creation continuing despite oddities due to --run mdadm: unexpected failure opening /dev/md0
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'sudo omv-mkraid /dev/md0 -l mirror -n 2 -N mirror /dev/sda /dev/sdb 2>&1': mdadm: Note: this array has metadata at the start and
may not be suitable as a boot device. If you plan to
store '/boot' on this device please ensure that
your boot-loader understands md/v1.x metadata, or use
--metadata=0.90
mdadm: size set to 488222528K
mdadm: creation continuing despite oddities due to --run
mdadm: unexpected failure opening /dev/md0' in /var/www/openmediavault/rpc/raidmgmt.inc:261
Stack trace:
#0 [internal function]: RaidMgmtRpc->create(Array)
#1 /usr/share/php/openmediavault/rpc.inc(265): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc.inc(98): OMVRpc::exec('RaidMgmt', 'create', Array)
#3 /var/www/openmediavault/rpc.php(44): OMVJsonRpcServer->handle()
#4 {main}
Alles anzeigen
I already tried it with different HDD, with the same result.
Any ideas?
Many thanks for your help in advance!
lolofufu