I have a MiniPC running Proxmox as the host OS. Within Proxmox, I have a Docker-dedicated Debian LXC that’s running docker + portainer.

I have a single 16TB drive that I want to be able to expose it:

  • over the network like a NAS via Samba / NFS
  • to other Proxmox VMs and LXCs
  • to Docker containers within my Docker LXC (*arrs, plex, photo sharing, nextcloud, other stuff)

In the future, I’d like to add a second drive and have some kind of redundancy or backup between the two of them.

What’s the best way to do this?

To expose over network, do I expose the drive from the host as a bind mount into an LXC and do one of:

And once I do get it exposed over the network, is it better to have my other Docker containers/LXCs access the drive through the NAS, or through another bind mount from the host?

Any tips would be appreciated!

  • superslomotionB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    You could run truenas with the one drive in vm in proxmox and then add it in proxmox as storage, and mount in lxcs. I did that and it works for my small media drive.