Symlinks plugin - works under OMV5 ??

  • Guys,


    New OMV5 user and just trying to use the SYMLINKS plugs - running 5.6.0.1 of OMV and every time i try to create a link i receive an error - however the link then shows in the OMV interface - but when going to the filesystem the link has not worked.


    I installed the symlinks plugin from the commandline using the plugins tab after folllowing this thread


    How to mount HDD with OMV by label instead of UUID? - Page 2 - General - openmediavault


    Any ideas ?


    Craig

  • Works fine for me. What are you trying to link? Screenshot of the symlink would help. Also, try linking /tmp/test1 to /tmp/test2

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • thanks for the quick reply.


    I have two RAID sets - both with mounted filesystems - but no shares at this stage.


    They both show up on /srv by their UUID


    I firstly tried to create directories in /mnt as /mnt/oldraid and mnt/newraid


    Then tried to use the symlink add in


    Will grab the errors and screenshot them shortly


    I will try your suggestion re the temp directory and report back


    Craig

  • the directory in mount was created from the commandline as user root

    I assume you mean /mnt/oldraid? If so, you do not want to make the directory. That prevents you from creating the symlink (obviously). There should be nothing named /mnt/oldraid in the /mnt directory.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I would just use good-old "ln -s" (symbolic link) UNIX command. Then if you made mistake use "umount" See UNIX man pages for detailed info.

  • Thanks for the quick help

    I updated the plugin to tell you if the destination exists.

    I would just use good-old "ln -s" (symbolic link) UNIX command

    The plugin is doing that. The point of the plugin is eliminate the need to drop to the command line and keep track of your symlinks. ln -s wouldn't work either if the destination was already created.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • You are right. I guess I am just old fashion guy. Spent too many years on UNIX console so I feel more at home with it.

    So do I. I prefer the console and use it all day long every day. But I write plugins for people who aren't like us : )

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Yep i am a commandline guy as well but need to hand this system off to a client so i am going through doing all the things i think they will need on an ongoing basis to see what does and does not work as expected.


    Thanks for the quick response and getting the plugin updated so quickly


    Craig

  • curto

    Added the Label OMV 5.x
  • curto

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!