Another backup issue with cifs share as target

Hi,

i have the same issue:

here are the permissions in my host, the smb share is mounted to /mnt/lxc_shares/nas

root@pve:~# ls -l /mnt/lxc_shares/
total 0
drwxrwxrwx 2 100000 100000 0 Aug 27 21:37 nas

and here are the persmissions in my lxc-container:

root@Docker-LXC:/mnt/nextcloud-data/backup/borg# ls -l /mnt/
total 4
drwxrwxrwx 2 root     root    0 Aug 27 21:37 backupNextcloud

i mounted the disk in my .conf like this:

mp0: ...
mp1: /mnt/lxc_shares/nas/,mp=/mnt/backupNextcloud
unprivileged: 1
lxc.idmap: u 0 100000 33
lxc.idmap: g 0 100000 33
lxc.idmap: u 33 33 1
lxc.idmap: g 33 33 1
lxc.idmap: u 34 100034 65502
lxc.idmap: g 34 100034 65502

Hi, this seems to be an nfs mountpoint. so you need to disable the squashroot feature (IIRC it is called like that) so that the root user can access the share.

Can you please explain me what and how to connect the fritz.nas network device correctly?

ich have this line in the fstab in the host:

//192.168.180.1/fritz.nas/backupDisk /mnt/lxc_shares/nas cifs _netdev,x-systemd.automount,uid=100000,gid=100000,noatime,dir_mode=0777,file_mode=0777,credentials=/root/.smbcredentials,vers=3.0 0 0

Ah so this is also a cifs drive

yes, and the drive is formatted as ext4

Can someone help me please?