Creating a sharable folder from a directory mounted via VirtIO FS

  • I am running the OMV ISO in a VM under Proxmox. I have a directory exposed from the host to the OMV guest via virtiofsd.


    My issue is that I cannot create a sharable folder because I do not have a file system. So the question would be if this is a limitation of OMV, or if I am missing something.
    I assume OMV is looking for block devices and that is the issue.


    Code
    root@omv: ~# mount | grep data
    data on /data type virtiofs (rw,relatime)


    fstab:

    Code
    UUID=eaf19a96-e1e3-4c2d-a225-fff096b5b9ec /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=917996f0-1529-4f99-8b24-76c5a8aef4a3 none            swap    sw              0       0
    /dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
    data /data virtiofs defaults


    Disk info from Report:

    • New
    • Official Post

    My issue is that I cannot create a sharable folder because I do not have a file system. So the question would be if this is a limitation of OMV, or if I am missing something.
    I assume OMV is looking for block devices and that is the issue.

    I don't see it as a limitation of OMV but as a limitation of your configuration. You must provide OMV with what it expects, a file system.

  • I don't see it as a limitation of OMV but as a limitation of your configuration. You must provide OMV with what it expects, a file system.

    I suppose the implied limitation here is OMV not supporting virtiofs or rather, not having the ability to just add an existing directory as a shared folder without a physical device path (eg. /dev/disk/*)

    • New
    • Official Post

    It all depends on the prism from which you look. Indeed, OMV is not designed with virtualization in mind, so it is not surprising that it does not support what you are looking for. On the contrary, OMV is capable of virtualizing other machines, that makes more sense to me. Therefore for me it is not a limitation at all. Rather, it would be a useless feature.

    • New
    • Official Post

    Install the sharerootfs plugin and then you can create a sharedfolder from the /data mountpoint. But as chente mentions, this is not really the point of OMV and you are likely to have issues with that method.

    omv 7.6.0-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.16 | compose 7.3.3 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!

  • Install the sharerootfs plugin and then you can create a sharedfolder from the /data mountpoint. But as chente mentions, this is not really the point of OMV and you are likely to have issues with that method.


    The sharerootfs plugin did solve this. Thank you.

    Just to clarify my usage a bit, I really only wanted the user/group permission management out of OMV since there aren't many alternative interfaces (via webui) for doing this.

    Thank you both.

  • rkben

    Added the Label resolved

Participate now!

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