I'm a brand new OMV user setting up a RasPi 2 with an external USB/SATA enclosure from Sabrent, model number EC-DFLT. It looks like the udev rule added in 3023d4ea36 incorrectly hits on this device. With that rule in place, the device is accessible the first time I try to add a filesystem from it, but after reboot the by-id and by-label device entries are both missing in /dev/disk and the filesystem shows as Missing in the GUI. Commenting out the rule added in that commit and restarting allows the device to work properly across reboots.
I don't know enough udev to be able to figure out how to adjust that rule to work properly with the intended multi-port units and still work with this one.
Here's info about the device:
# udevadm info --query=all --name=/dev/sda
P: /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/host0/target0:0:0/0:0:0:0/block/sda
N: sda
L: 0
S: disk/by-id/usb-SABRENT_SABRENT_DB98765432143-0:0
S: disk/by-path/platform-3f980000.usb-usb-0:1.4:1.0-scsi-0:0:0:0
E: DEVPATH=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/host0/target0:0:0/0:0:0:0/block/sda
E: DEVNAME=/dev/sda
E: DEVTYPE=disk
E: MAJOR=8
E: MINOR=0
E: SUBSYSTEM=block
E: USEC_INITIALIZED=11550196
E: ID_VENDOR=SABRENT
E: ID_VENDOR_ENC=SABRENT\x20
E: ID_VENDOR_ID=152d
E: ID_MODEL=SABRENT
E: ID_MODEL_ENC=SABRENT
E: ID_MODEL_ID=1561
E: ID_REVISION=0104
E: ID_SERIAL=SABRENT_SABRENT_DB98765432143-0:0
E: ID_SERIAL_SHORT=DB98765432143
E: ID_TYPE=disk
E: ID_INSTANCE=0:0
E: ID_BUS=usb
E: ID_USB_INTERFACES=:080650:080662:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=usb-storage
E: ID_PATH=platform-3f980000.usb-usb-0:1.4:1.0-scsi-0:0:0:0
E: ID_PATH_TAG=platform-3f980000_usb-usb-0_1_4_1_0-scsi-0_0_0_0
E: ID_PART_TABLE_UUID=c80ce61f-1f58-4e42-a332-04f4974a2932
E: ID_PART_TABLE_TYPE=gpt
E: DEVLINKS=/dev/disk/by-id/usb-SABRENT_SABRENT_DB98765432143-0:0 /dev/disk/by-path/platform-3f980000.usb-usb-0:1.4:1.0-scsi-0:0:0:0
E: TAGS=:systemd:
Alles anzeigen
For now, I'm working fine with that rule commented out. I'm worried about it being restored during an update of course, so would appreciate any help figuring out a compatible version of the rule.