Hello all.
I have a Remote Mount disk in OMV 4, called backup, and I would like to ask if it is possible to relabel it as "backup", that is:
/srv/dev-disk-by-label-backup instead of
/srv/ff32d46a-2f2d-4f09-9672-87cd88c42792 which is how OMV labeled it.
Code
//192.168.13.1/backup /srv/ff32d46a-2f2d-4f09-9672-87cd88c42792 cifs credentials=/root/.cifscredentials-bce66a21-5fb1-49b0-adff-20b303297f54,_netdev,iocharset=utf8,vers=2.0,nofail 0 0
In the Remote Mount menu it is clear that he backup name will apply only to OMV web interface and I know that the symlink way is the correct way to achieve this as renaming label could interfere in how OMV has located the disk.
But could it possible with e2label command and editing /etc/openmediavault/config.xml and omv-mkconf fstab? Or should I edit more files?
Thanks in advance.