Hello ,
I am playing around with OMV (usul 5.4.2 and 5.5.9) and two odroid boxes. I've got a little odroid-hc1 and a less little odroid-hc2, both running a debian 10 with an odroidxu4 Linux kernel from armbian. I need to grasp a bit more what OMV does before I can entrust my little odroid boxes with the safekeeping of my dearest data (I am an OMV newbee).
I am stumbling on the fstab lines entered by openmediavault.
# Mount /dev/sda1 => /
UUID=ff8134c6-35e2-4d00-825c-915811d702a6 / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1
# Mount => sd /media/sd
UUID=b2ad4155-a442-4533-ab02-a95e91d4ab6f /media/sd ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1
# Mount /dev/sda2 => /home
UUID=42976dcb-63a6-42b8-8532-20bbb6913738 /home ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1
tmpfs /tmp tmpfs defaults,nosuid 0 0
# >>> [openmediavault]
/dev/disk/by-id/ata-WDC_WD7500BPKT-75PK4T0_WD-WX81A1112345-part3 /srv/dev-disk-by-id-ata-WDC_WD7500BPKT-75PK4T0_WD-WX81A1112345-part3 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]
UUID=7324a0d0-e150-4b2b-9254-c56a03412345 / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1
tmpfs /tmp tmpfs defaults,nosuid 0 0
# >>> [openmediavault]
/dev/disk/by-label/WDRED01/srv/dev-disk-by-label-WDRED01 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]
I've got the following questions:
- Why not using a UUID based naming scheme instead of the one based upon the serial number of the devices?
In other words, why does omv-salt identify the devices using "/dev/disk/by-id/<device-id>-part<part-number>" instead of "/dev/disk/by-uuid/<uuid> or simply UUID=<uuid>? - Why not using the partition UUID to name the filesystem mount points?
- If there is no reason for not using the UUID based naming scheme, how can I tune my openmediavault config to use it?