lxc mount point problem

Lip90

Well-Known Member
Dec 12, 2018
30
0
46
34
Hello Guys,

for years my lxc container has accessed a mountpoint (/data/storage) of the host.
Now it does not work anymore.

Code:
root@pve:~# zfs list
NAME                           USED  AVAIL  REFER  MOUNTPOINT
data                           922G  1.73T   104K  /data
data/image                    68.1G  1.73T   112K  /data/image
data/image/subvol-106-disk-1    96K  10.0G    96K  /data/image/subvol-106-disk-1
data/image/subvol-107-disk-2   530M  7.48G   530M  /data/image/subvol-107-disk-2
data/image/subvol-108-disk-1    96K  10.0G    96K  /data/image/subvol-108-disk-1
data/image/vm-103-disk-0      67.6G  1.73T  67.6G  -
data/iso                      7.96G  1.73T  7.96G  /data/iso
data/storage                   846G  1.73T   846G  /data/storage

In the config of the container I have the following code:

Code:
arch: amd64
cores: 1
hostname: Fileserver
memory: 2048
net0: name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=06:C9:D8:65:5B:5B,ip=192.168.1.12/24,type=veth
onboot: 1
ostype: ubuntu
rootfs: samsung_ssd_240G:vm-102-disk-0,size=10G
swap: 512
lxc.mount.entry: /data/storage storage none bind 0 0

It seems the Conteiner has no access.

Code:
root@Fileserver:~# df -h
Filesystem                                     Size  Used Avail Use% Mounted on
/dev/mapper/samsung_ssd_240G-vm--102--disk--0  9.8G  3.6G  5.8G  38% /
none                                           492K     0  492K   0% /dev
/dev/mapper/pve-root                            55G   25G   28G  47% /storage
tmpfs                                          7.8G     0  7.8G   0% /dev/shm
tmpfs                                          7.8G  8.4M  7.8G   1% /run
tmpfs                                          5.0M     0  5.0M   0% /run/lock
tmpfs                                          7.8G     0  7.8G   0% /sys/fs/cgroup
tmpfs                                          1.6G     0  1.6G   0% /run/user/0


Do you know what the problem is?
I hope you can help.
 

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!