lxc mount point problem

Lip90

Well-Known Member
Dec 12, 2018
31
0
46
35
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.