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.


    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.

    omv 5.5.23-1 usul arm64

    omv 5.5.23-1 usul x64


    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • 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 5.5.23-1 usul arm64

    omv 5.5.23-1 usul x64


Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!