Full disc filesystem network share

  • Hi,


    i have a 1GB hard drive with one big ext4 partition and want to create a nfs share for other devices. the normal "mount point" of the file system in OMV is /srv/dev-disk-by-uuid-3c658a4d-e308-430f-82d8-04d7bc4892b3/. When i go to storage/shared folders the shared folder is not "/srv/dev-disk-by-uuid-3c658a4d-e308-430f-82d8-04d7bc4892b3" its "/srv/dev-disk-by-uuid-3c658a4d-e308-430f-82d8-04d7bc4892b3/<name>" and that - of course - an empty folder. How can i create a nfs share for "/srv/dev-disk-by-uuid-3c658a4d-e308-430f-82d8-04d7bc4892b3". I think i will have the same problem with all the other hard drives.


    freya

  • If using / as shate name does not work, move everything into a folder.


    Create the new share in the Ui

    In the cli

    cd to the /srv/... folder

    mv * name_of_share

    (Will gice an error message when tryinf to move name_of_share wich can be ignored)

    Maybe you need to resetpermission wirh the plugin, depending what you want to do)


    Moving from the cli is fast and does not copy all files.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • At the end i want to share all hard drives (all with one file system) using NFS. On my client system i want to have one mount point for each hard drive in the server. Thats all what i want.


    This works very easy on my raspberry pi with a normal raspbian image.

  • What do i need to do? I go to storage / shared folder, go to 'create', give a name and choose a 'file system' (there is only one at the moment). Then i have to choose a 'relative path', this cannot be empty. Then i click 'ok' and i have a new 'absolute path'


    Code
    /srv/dev-disk-by-uuid-3c658a4d-e308-430f-82d8-04d7bc4892b3/<relative-path>
  • Use only a single slash as relative path.

    THis will create a shared folder DIsk1 which will contain the root of my Raid4TB Drive

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

Jetzt mitmachen!

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