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.