Results 1 to 5 of 5
Hello,
I am trying to mount network drive ,I am using the following fstab file :
/dev/sda2 / ext3 acl,user_xattr 1 1
/dev/sda1 swap swap defaults 0 0
proc /proc ...
- 01-29-2008 #1Just Joined!
- Join Date
- Nov 2007
- Posts
- 4
can't find cifs in /etc/fstab or /etc/mtab error
Hello,
I am trying to mount network drive ,I am using the following fstab file :
/dev/sda2 / ext3 acl,user_xattr 1 1
/dev/sda1 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
//rrr /usr/whil/commondata smbfs credentials= /etc/samba/crw , uid=root 0 0
and get the error can't find cifs in /etc/fstab or /etc/mtab (it also written that last line is bad) Why ? Thank you!
- 01-29-2008 #2
If you're trying to do this at boot the problem may lie with the possibility that the network is not up when the system reads fstab. Try the mount line from a command prompt once the system is up and running.
Glenn
Powered by Fedora 16 and Arch Linux
- 01-30-2008 #3
Smbfs on the one hand, cifs on the other? What version of Suse are you using? The mounting filesystem changed at 10.2, from smbfs top cifs. Also/alternatively, you cant mount a server (//rrr). You need to mount a share on the server (//rrr/sharename)
If u using 10.2/3 the FFI: HowTo Mount a CIFS Network Share [AKA Mapped Network Drive] in openSUSE 10.2, 10.3
Last line in fstab must be a blank line. Also, the line for the mount is wrong syntax too.
Swerdna
- 01-30-2008 #4Just Joined!
- Join Date
- Nov 2007
- Posts
- 4
Still getting error after following change (why?)
Hello,
I tried to change the last line to this:
//ttt/abc /usr/whil/commondata cifs credentials=/stc/samba/crw ,uid=root 0 0
And still get a message that line in etc/fstab is bad.
Why?
Thank you
- 01-30-2008 #5
Add a real user, e.g. whil from group users, to the Samba user database on server and client. Make whil the owner of the shared folder on the server & if not owner then as root do chown whil:users /abc and use this:
//ttt/abc /usr/whil/commondata cifs credentials=/stc/samba/crw,uid=whil,gid=users 0 0
Note I took out the space (don't know if that's necessary).
Make sure there's a blank line at end of fstab
Try that??
Swerdna


Reply With Quote
