Is there any way, when mounting the drives for the first time, I can mount them by label instead of by UUID? That way instead of having a drive mounted at /media/xxxxxxxx I could have it mounted at /mnt/disk1 or something like that? I think this will be easier to manage when I create my mergefs pool (which I'd like to mount at /mnt/media-pool) and my snapraid parity drive (/mnt/parity1).
Starting new build, need help with drive mounts
-
-
Mounting by label is the default, I believe. This is version dependant though and mounting by UUID was done on older versions of OMV.
/media has not been used as the mount point directory since OMV 2.x or perhaps OMV 3.x, IIRC.
Not saying what version of OMV you are running makes helping you difficult as the default behavior is version dependant.
If you use the mergerfs plugin you likely aren't going to be happy with the mountpoint it creates regardless of where your drives are mounted.
-
I've been running since 2.x, so that's why I'm mounted at /media.
I'll be doing a fresh install of 5.x, so what's the new mounting schema?
-
For OMV 5.x:
/srv/dev-disk-by-label-xxx
Where xxx is the disk label.
-
ok, got it
so is there any benefit if I do a lot of CLI management to using OMV? Or would I be better off just using a base Debian installation and following a guide like the Linuxserver.io guide?
-
OMV is Debian. So installing OMV gives you both.
-
won't I mess up the fstab if I run mnt /dev/sda1 /mnt/disk1 and mount a mergefs pool at /mnt/media?
-
Don't make edits to the section of fstab that is under OMV's control (the [openmediavault] stanza). Manual edits made there will likely be lost.
You can create your own mounts in fstab so long as they are outside the [openmediavault] stanza.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!