Mount point as a drive

shaymar

New Member
Nov 24, 2023
2
0
1
Hey all, noob here.
I got proxmox installed on an Intel NUC, having (only) 2 HDDs setup as ZFS RAID 1. This setup is only for my homelab for media server, home-assistant, etc.
I would like to allocate a dedicated space to be used for both SMB/NFS shares so various Containers, such as Plex will be able to use it.

First I thought just to create a SMB/NFS server on the proxmox host itself and allocate it to a folder on its drive, however, as this is really a bad practice, I decided to use OMV as a NAS server which will act as the NFS/SMB server.

I'm trying to mount some of the storage I have to a drive so OMV will be able to see it.
I created a new ZFS storage on proxmox and called it 'storage-media'.
Then, I installed OMV as a container and added a mount point (mp1) for that 'storage-media' storage, with the path of '/storage-media'.

I can see the storage inside the '/storage-media' path, but I need this path to be mounted as a disk.

Clearly I'm not in the right direction. Appreciate your help
 
With ZFS there is no virtual disk when using an LXC. It is then using datasets which are filesystems without any block device below it. And as you already mentioned, OMV needs blockdevices. There is the OMV plugin "sharerootfs" which you can use to share filesystems but this isn't working for quite some time.
I would recommend to use an OMV VM instead of a LXC.
Or you try something like zamba instead: https://github.com/bashclub/zamba-lxc-toolbox
 
Last edited:
Thanks, this makes lots of sense.

For those interested knowing, I ended up spinning a TurnKey Linux FileServer LXC. It provides both NFS & SMB services, which can share the mount point.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!