[SOLVED] Bind mount mounting but subdirectories are empty

emmanuel

Member
Dec 5, 2017
35
2
13
So I have on my Host machine:
/storage/HDD2
/storage/Internal

And I am planning to mount these on my Guest machine which is a container:
/srv/samba

So in my Guest machine I can see that under /srv/samba I see HDD2 and Internal respectively, but not their contents, so I am asking the wizards in the community to help me out. :)
 
Nevermind, I got it, /storage/HDD2 and /storage/Internal are from different hard drives, so I created mp0 and mp1 in my ct.conf file in /etc/pve/lxc and created 2 mount points for each of the directory. "HDD2" is mounted off of /dev/sdb and "Internal" being, well, internal in /dev/sda. Seems you can't create a single "bind mount" mount point for 2 mount points in a host machine to a container if they are located on different hard drives. I shall mark this now as solved. :)

Having a lot of fun with proxmox and a few hair grabbing moments but definitely worth it.
 

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!