Help with /etc/fstab file for automatic mounting during boot

Hello All,

I have been following this documentation to get these drives to automatically mount during boot.
https://www.novell.com/support/kb/doc.php?id=7000932I am using SUSE Linux Enterprise 11

However, I can only get the drives to mount if I enter the "Sudo mount -a " command into the terminal.

This is the current format of the line I am working on in the /etc/fstab file.

//IP/charts /media/nss/MEDIA/charts cifs auto,user=xxxxxx,password=xxxxxxx 0 0

Please advise.
Thank you.

  • Victoria

FYI, these are the openSUSE forums.
The SUSE forums are located at Rancher Labs .

Most users here (including me) probably don’t know any specifics of SLE 11…

However, I can only get the drives to mount if I enter the "Sudo mount -a " command into the terminal.

This is the current format of the line I am working on in the /etc/fstab file.

//IP/charts /media/nss/MEDIA/charts cifs auto,user=xxxxxx,password=xxxxxxx 0 0

Try to add the _netdev mount option:

//IP/charts /media/nss/MEDIA/charts cifs _netdev,auto,user=xxxxxx,password=xxxxxxx 0 0

This tells the system that this is actually a network share. Otherwise it might get mounted before the network is available, which would fail of course.

Also make sure that the mount point /media/nss/MEDIA/charts exists. It is created automatically in openSUSE 13.2 here, but IIRC this was not done in some earlier versions… And I don’t know how SLE11 would react if it isn’t there.

Btw, “auto” is the default, so you can just leave it out.

FYI, these are the openSUSE forums.
The SUSE forums are located at Rancher Labs .

My mistake! I will move this over to those forums if adding the _netdev mount option does not work.
Thank you! :slight_smile:

Hello,
Just wanted to let you know _netdev, did not work. I will try my luck on the other forum. Thanks again.