lxc container - mount cifs

drnicolas

Renowned Member
Dec 8, 2010
153
7
83
Ich habe einen unprivilegierten Container laufen.

Ich versuche nun, eine CIFS-Freigabe zu mounten.
Also in die fstab die entsprechende Zeile (funktioniert auf einem anderen Rechner) eingefügt und schonmal gewundert, dass fstab leer ist

trotzdem funktioniert es nicht:
mount -a -v (als root) führt zu einer Fehlermeldung

mount -t cifs //192.168.0.10/docs /mnt/docs -o vers=2.0
mount: /mnt/docs: permission denied.
dmesg(1) may have more information after failed mount system call.

Die Fehlermeldung würde auf den Mountpoint hindeuten, das verzeichnis hat aber 0777.

Beim googeln bin ich darauf gestossen, dass möglicherweise das LXC schuld sein könnte.

Wie kriege ich den Mount hin?
 
"Wie kriege ich den Mount hin?"

Einen privilegierten Container (mit SMB/CIFS Feature), oder eine VM verwenden.
 

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!