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.
You might try setting up a .nsmbrc file. I abandoned using OSOL as my desktop OS before I got it resolved, but I think there’s a bug in using Automounter + CIFS : here’s my post to the osol forums: http://opensolaris.org/jive/thread.jspa?messageID=398091
Now for the easy things, sorry, they have to be asked:
- /mount_point actually exists, right?
- Solaris’ mount command and bash completion don’t play nice together. If I run:
mount /mount_point
on a normal mount, it works fine, but if I add the trailing slash that tab-completion adds for me, it reports the same error:
mount /mount_point/
Check more discussion of this question.