I have a large (6TB+) software array; and i've managed to get it to automount using the following in /etc/fstab:
all gravy so far; login as administrator and boom; RAID array mounted...
/dev/md127 /media/RAIDArray/ ext4 defaults 0 0
Now i'm looking to restrict access to this as read-only from a standard user; I created a noddy user (default permissions via user accounts control panel). When logging into the system as the standard user; the RAID array is unmounted...
I tried to resolve this by adding some switches to the fstab entry:
When doing this; neither the admin account or the standard user account can mount the array. I'm assuming that this has to be controlled via permissions and not via the fstab?
/dev/md127 /media/RAIDArray/ ext4 auto,ro,user,owner 0 0
In addition to all this; if I add the UUID of the array to the fstab:
When using the command sudo mount -a I get the following:
UUID=XXXX-XXXX-XXXX-XXXX /media/RAIDArray/ ext4 defaults 0 0
anyone dealt with these issues?
special device UUID=fxxxx-xxxx-xxxx-xxxx does not exist