Can't Create SMB Share on Veracrypt encrypted device

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Can't Create SMB Share on Veracrypt encrypted device

      I have a RAID 1 enclosure that's encrypted using Veracrypt. I connected it to a RPI2b running OMV. I ssh'd into the Pi and mounted the encrypted device at /srv/dev-disk-by-label-Data. The volume is formatted with exfat and is labeled Data. The problem I'm having is that I can't create a SMB share on it. When I go to the add share panel there is no entry for this device in the Device dropdown menu.
      The device is listed on the Disks page and the file system is listed on the File Systems page with the device shown as /dev/dm-0. I am able to cd into the volume with ssh. How do I create a share on this volume?

      Thanks
    • In order to create a shared folder on a filesystem, the filesystem has to be mounted in the filesystems tab (not the cli) and exfat isn't supported by omv.
      omv 5.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.4
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • No. It means it is very difficult to use exfat with OMV and if I understand veracrypt correctly (encrypted disk image file on a filesystem), you won't be able to access the veracrypt image from an exfat filesystem. If you move the veracrypt image to a native Linux filesystem, I would guess it would work but I can't say. I would use LUKSencryption (since there is an OMV plugin) instead of veracrypt and a native Linux filesystem on top of that.
      omv 5.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.4
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • I used full disk encryption instead of an encrypted container within another file system. A file system was then created on that encrypted disk. Unfortunately, the file system I picked was exfat so that will need to be reformatted. So let's say I reformat using ext4. I would still need to use the Veracrypt cli commands to mount the volume. Is there a way to do that within OMV?

      At this point I'm asking to satisfy my own curiosity. If I have to reformat anyway I'll probably just switch to LUKS. I was hoping to avoid that since there's already data on the disk.
    • jobrien929 wrote:

      would still need to use the Veracrypt cli commands to mount the volume. Is there a way to do that within OMV?
      The only way you could mount a veracrypt volume in the web interface is if someone wrote a plugin to do that. If veracrypt's volume is mounted from the CLI and it is creating a devicemapper device, it should (can't guarantee though) show up as an option to create a filesystem on in the Filesystems tab.


      jobrien929 wrote:

      I was hoping to avoid that since there's already data on the disk.
      It would be possible but difficult and not something I would ever use long term.
      omv 5.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.4
      omv-extras.org plugins source code and issue tracker - github

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