[SOLVED] External harddrive use in lxc and vm


New Member
Jul 15, 2023
Dear reader,

So I bought a HP Prodesk 600 G3 to replace my Raspberry Pi as I wanted to run the following on my local server:
- Proxmox with:
+ OMV (vm)
+ Pihole (lxc)
+ Jellyfin (lxc)
+ SABNBzd (lxc)

I own a 8TB WD Elements usb harddrive which I connect to the HP via usb. The root drive is a 250GB SSD.

I succeeded in installing all programs (vm and lxc).
I succeeded in passing the Elements drive through to OMV, and am able to access it over my network (SMB/CIFS) over \\OPENMEDIAVAULT\xxx

However, the last part, which I have been struggling with for over +10 hours is that I cannot seem to access the Elements drive within the containers.
In pve I find the disk (/dev/sdb1) although it's not found in LVM or Directory.

I mounted the drive in /mnt/elements, with use of /etc/fstab
UUID=F84A17A64A1760A4 /mnt/elements ntfs-3g rw,user,exec 0 2
which seems to work.
But when I mount it in the lxc conf file (/etc/pve/lxc/100.conf) with
pct set 102 -mp0 /mnt/elements,mp=/elements,shared=1
It's inaccesible.

So the questions for you guys are:
Is my general idea of doing this right or am I doing it totally wrong?
What could I make this work?

Your help is much appreciated!
I finally managed to get it working.

In OMV I created a NFS.
In Proxmox I added the virtual drive with the NFS, on /mnt/pve/Elements

Then added the mnt with:
pct set xxx -mp0 /mnt/pve/Elements,mp=/elements,shared=1
with xxx being the several numbers for the containers.

Hopefully, this will help someone else in the future.
  • Like
Reactions: Gordian


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!