Raid creating not supported in OMV, direct USB connection question

Im using this quad sata hat with raspberry pi 4.

I have started using, what i noticed, this USB type connection for HDD not allowed in current OMV version using for create RAID, only use as quad SATA mobil rack, i can create the raid only with command line. OMV support says, USB type connection not stable to create RAIDs so, removed this feature in the new versions.

But i have a question, about one of the features:

Ii have read, the hat also have direct USB conenction feature, how this works?

I need plug the power supply, remove the double USB connector and connect one of the USB 3.0 port with USB A- USB A cabel? and after will be 1,2 or 4 connected HDD?

thank you
Gabor

There was Dual SATA HAT with just one usb, this looks like this:

image

On The bottom one of JMB561 is missing:

image

Basically Your usb bridge is just tight, small, fitted double usb-A usb-A cable,
If You connect one port then two sata ports will be visible, like on picture from dual SATA HAT

Do You know that there is also hardware RAID built in there? It can’t create RAID5 from all drive but works much better than software RAID and this makes mdadm don’t needed anymore in OMV7. Its also stable, much more than anything else via USB on pi4.

Thanks dominik for the fast answer.

So, if im remove the dual USB ,bridge" connector, and im put power suply on the hat (or wont required?) plus im put a USB-A - USB-A cabel one of the hat USB ports - PC, i will see two drive like a mobil rack?

Yeah i have read about this manual command line opction, lot people pre-made the raid so and after using the OMV, tricking out the limitations.

Yes - it should connect with Your PC using that cable, basically it’s just usb device and same chip was used on many drive enclosures. Power adapter is needed, mainly for disks - that won’t work via USB (2A only).

With PC You will not get some functionalities related to GPIO, like fan control, LCD and RTC. Those uses standard protocolos on GPIO.

thanks for the confirm. Two other questions, maybe you can help in this too.

Have you modded the button, oled display settings? Example i will like see all 4 disc status.

Im not sure default what is the button default working: long press, double or single.

Yes,
it is as easy as editing service script and restarting it,
I changed that once, long time ago

hint: this oled screen easily burns and looks awful so it’s reasonable to turn screen on button,

thanks for the advise. Im sure, you dont want share your script;)

have a nice day
Gabor

I did not changed anything important, just customized it for my setup, For sure You will be able to change same thing according to Your needs.

Ok thanks.

Just a last question, i have found the oled script, but where will be the button script?

Quick grep shows those vars in misc.py