[SOLVED] How to mount partition with data in lxc?


New Member
Jun 19, 2023
Good day.
I would like to mount a partition (ext4) with data under the LXC container (alpine).
Despite the visibility of the partition under the lsblk command, it does not exist in /dev


Under "node" you can mount the data without any problem.



Any suggestions on how to solve the problem?
The mount point requires preparation of the disk - loss of data.
Above is a test environment (all ideas allowed), but I would like to know how to do it seamlessly "in production" without losing/moving data .
Good day.
I knew it was a matter of one command.
I was trying with "mount point" and it is "bind mount point".
Thank you for the proper guidance.


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!