How to share a local "home/user/share" folder as SMB?

  • I'm using Odroid XU4 and I managed to install openmediavault thanks to "Armbian Stretch" image.


    I'm trying to share a local folder (from the SD card) by the OMV control panel, unfortunately I'm unable to do it, because the device with this folder is not available on the list. I can only see the mounted and shared external USB HDDs.
    I tried to edit the /etc/samba/smb.conf manually, adding:
    [sambashare]
    path = /home/mona/sambashare


    Unfortunately after restart it's gone.


    How can I mount this local folder for SMB sharing?

    • Offizieller Beitrag

    While not the best option, add those lines to the extra options box on the samba settings tab. You really should enable user directories in the Users tab and samba plugin. Then it would share your home directory automatically.

    omv 7.0.5-1 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.11 | compose 7.1.3 | k8s 7.1.0-3 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • Thank you for the reply.
    I actually tried to enable "User home directory", unfortunately the "Location" field only allows me to select one of the mounted external HDDs. I can't select the internal storage there. Any idea why?


    EDIT: Your trick with extra options works great. Thank you!

    • Offizieller Beitrag

    Any idea why?

    Yes. This is one of the main OMV concepts - no data on the OS drive.

    omv 7.0.5-1 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.11 | compose 7.1.3 | k8s 7.1.0-3 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

Jetzt mitmachen!

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