Change label remote mounted disk?

    • OMV 4.x
    • Resolved
    • Change label remote mounted disk?

      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.

      Source Code

      1. //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.
      || omv 4.0.14 | kernel 4.9.0 | omvextrasorg 4.1.0 ||
    • jfromeo wrote:

      I would like to ask if it is possible to relabel it as "backup",
      Not without changing the plugin but I don't see why it would be necessary. Once you create a shared folder using that mount, there will be an easy, human readable mount in /sharedfolders/SHARED_FOLDER_NAME.
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      jfromeo wrote:

      I would like to ask if it is possible to relabel it as "backup",
      Not without changing the plugin but I don't see why it would be necessary. Once you create a shared folder using that mount, there will be an easy, human readable mount in /sharedfolders/SHARED_FOLDER_NAME.
      Thank you, I will leave it as it is, then.
      || omv 4.0.14 | kernel 4.9.0 | omvextrasorg 4.1.0 ||