No cifs in container

Nemo

Member
Nov 4, 2011
13
0
21
Hello,

I have a container based on a debian 6.0.4 template. Both Proxmox VE 2.0 and Debian are updated with apt. Both have cifs and smbclient installed (samba-common, smbfs, cifs-utils). Also, the Proxmox server can mount cifs shares. However, the container gives me:

# mount -t cifs -o guest //server/share /tmp/smb
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Of course, there are no modules (if I lsmod, I get an empty list and "modprobe cifs" gives me "FATAL: Could not load /lib/modules/2.6.32-6-pve/modules.dep: No such file or directory").

A smbclient command works.

How can I achieve a cifs mount in my container?

Thanks in advance, nemo
 
Thanks a lot! That was quick. (Funny none of these posts showed up when I searched the forum for "cifs mount". You just have to get lucky with your search terms I guess.) Anyway, I'm on my way, thanks again.
 

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!