PDA

View Full Version : mount Windows share cifs fstab



akamschizki
28-Mar-2015, 09:42
I have sles 12 with current patches. I would like mounting the windows share (NAS) via cifs. I use a command in fstab.
//ip NAS/sharename / mnt/mountname cifs credentials=/root/.smbcredentials,rw,nounix,iocharset=utf8,file_mode =0777,dir_mode=0777 0 0
with command mount -a, everything works, but after server restart share mouting not.
systemctl status mnt_mountname.mount - code = exited, status = 32
I think the problem is that mouting start (fstab) if SLES network not been fully started.

ab
28-Mar-2015, 12:41
Maybe this will help; I'll try this out later on my system:

http://www.freedesktop.org/software/systemd/man/systemd.mount.html

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...