Attaching Hardware RAID Enclosure over USB to OMV server

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Attaching Hardware RAID Enclosure over USB to OMV server

      Hello,

      I've set up my OMV server with 2 X 3.5 inch HDDs as mirror (RAID 1)
      I got another external enclosure for 2 X 2.5 inch HDDs that I want to utilize as a second separate file system (RAID 0).
      I have set the enclosure to operate the disks in RAID 0, so I only basically want OMV to mount the 2 drives in the enclosure.
      My question is, do I have to mount both drives or I should just mount one of the two and let the enclosure do the rest of the job?

      Any help will be greatly appreciated.

      The post was edited 1 time, last by gtj ().

    • I would agree with @jollyrogr bad idea! Best guess is that OMV does not see the enclosure as what is basically a hardware raid controller of some description.

      Have you tested it with another raid option as I'm guessing it will run raid 1, these enclosures usually can be set as JBOD, Raid 0, Raid 1.

      JBOD would be the better option.
      Raid is not a backup! Would you go skydiving without a parachute?
    • geaves wrote:

      I would agree with @jollyrogr bad idea! Best guess is that OMV does not see the enclosure as what is basically a hardware raid controller of some description.

      Have you tested it with another raid option as I'm guessing it will run raid 1, these enclosures usually can be set as JBOD, Raid 0, Raid 1.

      JBOD would be the better option.
      Thanks for your help!

      It's actually one of those cheap RAID enclosures
      aliexpress.com/item/3239776268…042311.0.0.27424c4dVJPaqL

      However, I tested all available modes on a Windows PC and does seem to work fine.
      In the beginning I thought about setting the drives as independent - JBOD mode having in mind to set RAID 0 through OMV but as far as I'm concearned OMV 4.0 won't allow any RAID configurations over USB.

      Given the above, what would you suggest?

      Cheers
    • gtj wrote:

      However, I tested all available modes on a Windows PC and does seem to work fine.
      It will, because that is what it is designed for :)

      Set it to JBOD (Just a bunch of disks) wipe both disks, then set a filesystem on each ext4 and they will mount, configure/use one as your main drive then install the rsnapshot plugin and configure the second drive to take snapshots of the first....simples :) that way if one drive goes down you can recover. Also the snapshot can be run 'out of hours'.
      Raid is not a backup! Would you go skydiving without a parachute?
    • geaves wrote:

      gtj wrote:

      However, I tested all available modes on a Windows PC and does seem to work fine.
      It will, because that is what it is designed for :)
      Set it to JBOD (Just a bunch of disks) wipe both disks, then set a filesystem on each ext4 and they will mount, configure/use one as your main drive then install the rsnapshot plugin and configure the second drive to take snapshots of the first....simples :) that way if one drive goes down you can recover. Also the snapshot can be run 'out of hours'.
      I didn't have particularly high expectations when I bought it but to my surprise it works according to specifications! :)

      In fact I have my main filesystem (the 3.5 inch drives) running in RAID 1 and that one is the ''important'' filesystem.

      I was hopping to set those smaller 2.5 ones as RAID 0 for speed and various OMV plugins and applications such as transmission.

      Before I put them into the enclosure, I formatted them on a Windows PC using diskmanager and they were immediately recognized by the server when I connected them and rebooted. The strange thing is that with the enclosure set at RAID 0 mode, both drives are discovered by OMV and am able to mount them as if they were independent one another.

      Thank you!
    • gtj wrote:

      I didn't have particularly high expectations when I bought it but to my surprise it works according to specifications!
      Yes it will it's designed for use with Windows.

      gtj wrote:

      Before I put them into the enclosure, I formatted them on a Windows PC using diskmanager
      So the drives are formatted to NTFS? not a good idea.

      There's nothing strange on how OMV sees the drives, these units are fitted with a crude raid controller for them to work under Linux they will require a driver/firmware in the kernel, as this is not 'built in' to OMV it sees them as independent drives.

      Why Raid 0? one drive dies you lose it all, you can set up a Raid via USB on OMV but only from the command line.
      Raid is not a backup! Would you go skydiving without a parachute?
    • geaves wrote:

      gtj wrote:

      I didn't have particularly high expectations when I bought it but to my surprise it works according to specifications!
      Yes it will it's designed for use with Windows.

      gtj wrote:

      Before I put them into the enclosure, I formatted them on a Windows PC using diskmanager
      So the drives are formatted to NTFS? not a good idea.
      There's nothing strange on how OMV sees the drives, these units are fitted with a crude raid controller for them to work under Linux they will require a driver/firmware in the kernel, as this is not 'built in' to OMV it sees them as independent drives.

      Why Raid 0? one drive dies you lose it all, you can set up a Raid via USB on OMV but only from the command line.


      Excellent insight! I wouldn't have found all this info no matter what! :)


      Well, to clarify, I only formatted the drives with diskmanager at NTFS format to verify that all RAID modes work and they actually do. Upon connecting the enclosure to OMV (LInux server) I did let the server format the drives to the compatible filesystem.


      I just haven't thought about firmware missing in Linux. So with OMV kernel not having the appropriate firmware to work as a RAID controller, it defeats the purpose of the device itself being a RAID controller but it's good to know what to expect and what not in this case.


      In other words, in my case it will make absolutely no difference at all if I hook these 2 drives on my OMV server via this RAID enclosure or via separate USB 3.0 enclosures. If that's the case, I think I'm better off using 2 separate USB3.0 enclosures I also have (by Orico) because with those I can at least monitor the drives with SMART. Unfortunately, with the RAID enclosure SMART does not seem to work as the drives vendor and details are not accessible by the server.


      I thought RAID 0 for faster accessibility such as fast tranfers within my LAN and faster download speeds with Transmission.


      Can you link me to a guide about setting RAID with USB HDDs using the command line?


      Thanks so much mate. Your help is thoroughly appreciated and at last I understand why I was having problems to make my enclosure work in RAID mode on OMV :D
    • :D if you want to use Raid for USB there is no guide not even on here it makes no difference whether the drives are attached to a m'board or to USB it's the same procedure, it's just that using Raid on USB is just a bad idea, so if you do it and it goes 'tits up' don't call us we'll call you :D

      You need to to search for mdadm that is the software raid in OMV and Linux and you'll need the drives reference i.e. /dev/sda etc.
      Raid is not a backup! Would you go skydiving without a parachute?