I'm trying to set up a CIFS share that will mount automatically on my OpenSolaris server. It seems like it would be simple enough, but there's something wrong in my syntax that's preventing it from mounting.

The line in /etc/vfstab looks like:

//user:password@192.168.2.1/data - /mount_point smbfs - yes -

However, when I try to mount it using mount /mount_point I get an error message:

mount: Mount point cannot be determined

I've scoured the man pages and the net, but I can't see what I am doing wrong.

Edit:
I do have the svc:/network/smb/client service started, and I am able to mount the volume manually using mount -F smbfs ...., but so far no luck with either vfstab or autofs.

According to man 1 mount_smbfs, it should be mountable through vfstab. In any case, I tried it through the automounter as well but it seems to just stall when trying to access the automount location. And again, mounting manually works just fine.
–
Kamil KisielJul 2 '09 at 23:27

CIFS does work in /etc/vfstab on OpenIndiana, I've just done it.
This is the correct line to get it to work. Also check your /mountpoint is correct.
The fileperms, dirperms are just an example of options.