Automount USB memories (and show them up on SMB)

    • OMV 4.x
    • Automount USB memories (and show them up on SMB)

      Hi!

      Over time I've built my x86 homemade NAS with openmediavault 4, and I've reached a pretty good overall state with that!

      I usually download and transfer a lot of files on that, especially over my several external Hard drives. I mounted my shares through SMB, and is everything working pretty well (copy and pasting files is fast and reliable)

      And here is where it come my issues: when I plug in my USB memories peripherals, I have to mount them manually through the OMV webinterface, then I have to move the files manually through shell to the external hard disk (that obviously can't be put on a 'Shared folder' through the OMV interface).

      This is pretty horrible, and is getting me very pissed every time I have to copy an serious amount of files in and out my NAS. Is basically my only flaws against a fantastic project I (or I shall say we?) made.

      I've searched on the forum for advices, but I've only found an useful thread that talk about a 'usbmount package', but I can't find it on 'Plugins' neither anywhere else.

      There is a way to overcome this issue?

      There is a way to 'automount' USB hard drives ( and consequently share them automatically over SMB)?
    • MioCuggino wrote:

      but I've only found an useful thread that talk about a 'usbmount package', but I can't find it on 'Plugins' neither anywhere else.
      It is a Debian package not a plugin. You would install it from the command line.

      MioCuggino wrote:

      There is a way to overcome this issue?
      the usbbackup plugin would rsync your usb stick to a shared folder. That is about as close as you will get with a plugin.

      MioCuggino wrote:

      There is a way to 'automount' USB hard drives ( and consequently share them automatically over SMB)?
      Not really.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • The usbmount package was very useful to me and I recommended it highly back in the days of OMV 2.x and 3.x.

      However, with the arrival of OMV 4.x which is based on Debian Stretch, usbmount was rendered broken. Some Stretch users have posted workarounds that supposedly made the package whole again, but this is not the case, and the package is not available in any Debian Stretch repositories.

      You might try this solution and see if it works:

      github.com/raamsri/automount-usb
      OMV 4.x - ASRock Rack C2550D4I - 16GB ECC - Silverstone DS380