mount CIFS share at boot

Hello everybody,

is there a possibility to mount a cifs share automagicaly at boot
time?
Redhat has a netfs scripts which handles cifs mounts (and other network
filesystems).
In SLES11SP1 I didn’t find a similar script. Do I have to write my own
script, or is there a feature which I don’t know?

Sincerely
Bernhard


fpitinfra

fpitinfra’s Profile: http://forums.novell.com/member.php?userid=96880
View this thread: http://forums.novell.com/showthread.php?t=444165

Hi

You can put a line with the correct mount.cifs-syntax in /etc/fstab.
Regards,
Tom


amo_vzug

amo_vzug’s Profile: http://forums.novell.com/member.php?userid=25342
View this thread: http://forums.novell.com/showthread.php?t=444165

That’s exactly what I did, but when I reboot the machine the CIFS share
is not mounted.
Which rc-script does the actual mount?

Sincerely
Bernhard


fpitinfra

fpitinfra’s Profile: http://forums.novell.com/member.php?userid=96880
View this thread: http://forums.novell.com/showthread.php?t=444165

You need also to install the samba-client-package.

Code:

$ zypper install samba-client

This package installs a new init-script (/etc/init.d/smbfs), which
mounts all cifs-shares registered in /etc/fstab (after
network-startup…of course) ;-).
Regards,
Tom


amo_vzug

amo_vzug’s Profile: http://forums.novell.com/member.php?userid=25342
View this thread: http://forums.novell.com/showthread.php?t=444165