Mounting SMB share

FishBoy

New Member
Dec 13, 2023
14
0
1
Hey guys,

I feel like I got a stupid problem.

I want to mount an SMB drive in my proxmox to passthrough to a couple of containers and VMs.
I can add the SMB share just fine as a backup drive, so thats working but not quite what I want.

I modified my fstab on the proxmox host to look like this

Code:
#NAS
//192.168.16x.xxx/public /mnt/NAS/ cifs auto,user=user,password=password,uid=100000,gid=100000 0 0

reloaded my systemctl and ran mount -a. There are no error messages or anything, however, checking with with fdisk -l it wont show the drive. I tried just mounting it from the console, no error message and its prompting me for the password, however not mounting anything.

DMESG output is just

Code:
[1280245.123260] CIFS: Attempting to mount //192.168.16x.xxx/public

Using smbclient it will connect just fine and show all the folder content.

Can someone help me out?

Edit:
I narrowed it down a bit, it seems like the drive is being mounted and immediately umounted again ... How can I narrow this down?
 
Last edited: