Is there a limit on Drive size for RAID 10 via software?

    • OMV 1.0
    • Is there a limit on Drive size for RAID 10 via software?

      I had a PERC h700 controller in my server managing 4 drives in RAID 10, but the drive status can't be seen in OMV, so I pulled the controller out (haven't put any data on it yet), put the drives into the motherboard, enabled AHCI mode in bios, and then tried to create a 4 disk RAID 10 software array in OMV. No luck. The drives are WD Red 4TB drives, and when i try to make the array, I get the following:


      Error #4000:
      exception 'OMVException' with message 'Failed to execute command 'omv-mkraid /dev/md0 -l raid10 -n 4 -N Backups /dev/sdc /dev/sdd /dev/sdb /dev/sda 2>&1': mdadm: layout defaults to n2
      mdadm: layout defaults to n2
      mdadm: super1.x cannot open /dev/sdc: Device or resource busy
      mdadm: chunk size defaults to 512K
      mdadm: devices too large for RAID level 10' in /usr/share/openmediavault/engined/rpc/raidmgmt.inc:223
      Stack trace:
      #0 [internal function]: OMVRpcServiceRaidMgmt->create(Array, Array)
      #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('create', Array, Array)
      #3 /usr/sbin/omv-engined(500): OMVRpc::exec('RaidMgmt', 'create', Array, Array, 1)
      #4 {main}


      I then tried to create a RAID 1 array with 2 of the drives...as a test, still no luck:

      Error #4000:
      exception 'OMVException' with message 'Failed to execute command 'omv-mkraid /dev/md0 -l mirror -n 2 -N test /dev/sda /dev/sdb 2>&1': mdadm: super1.x cannot open /dev/sda: Device or resource busy
      mdadm: size set to 35183582964736K
      mdadm: largest drive (/dev/sda) exceeds size (35183582964736K) by more than 1%
      mdadm: creation continuing despite oddities due to --run
      mdadm: Defaulting to version ddf metadata
      mdadm: failed to open /dev/sda after earlier success - aborting' in /usr/share/openmediavault/engined/rpc/raidmgmt.inc:223
      Stack trace:
      #0 [internal function]: OMVRpcServiceRaidMgmt->create(Array, Array)
      #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('create', Array, Array)
      #3 /usr/sbin/omv-engined(500): OMVRpc::exec('RaidMgmt', 'create', Array, Array, 1)
      #4 {main}



      I did a search on the RAID forum, didn't see anything, so sorry if this has already been posted, but can anyone tell me why I can't put 4 x 4TB drives into a RAID array? I tried wiping each drive in OMV, didn't make a difference.