Hello,
I have an old drive I'd like to package with a raspberry pi for offsite backups. I ran into OMV and it seems like it should do exactly what I need. I like the easy setup of the wireguard plugin and a nice web interface to configure everything with. However, I'm running into a problem with a USB to SATA converter.
The one I used to set up the proof of concept (ASM1053E) works just fine. I see SMART status, drive spins down when it is supposed to, and everything just seems to work But when I move the drive to the smaller, enclosure friendly, usb to sata adapter (JMS583Gen 2) the drive will mount but nothing else works. And if I try to interact with the disk controls or statistics the drive will dismount. Like, if I go to the Disks tab, the blue line will show its loading until the drive dismounts and it will then give an error that /dev/sda does not exist. If I leave SMART off and dont touch the web interface it can do a 16 hour backup transfer just fine. This wouldn't be a problem except the disk doesn't ever spin down.
The googles suggested adding usb-storage.quirks=152d:0583:u to the raspberry pi config or even adding a file called /etc/modprobe.d/disable_uas.conf with the config and updating initramfs. However neither of these seem to work. In fact, without the quirks enabled I'm still able to perform a sudo smartctl -a -d sat /dev/sda and get a proper output. So I'm not sure that the quirks are the issue here.
I've seen people with Jmicron controllers have issues on these threads but not this specific one. Does anyone have suggestions before I abandon OMV and just set up the backups using SSH?