automatically mounted SMB file systems fail to mount on startup
This document (3489182) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 10 Support Pack 1
//192.168.0.1/data /mnt/cifsdata cifs rw,credentials=/root/credentials.txt 0 0
SMB file systems specified to mount on startup in /etc/fstab fail to mount. After a full boot, the root user can re-mount the filesystems manually without error. The startup failures are identified by the following messages in the/var/log/messagesfile :
kernel: CIFS VFS: Error connecting to IPv4 socket. Aborting operation
kernel: CIFS VFS: cifs_mount failed w/return code = -101
- Open the /etc/init.d/smbfs file.
- Locate the "start)" line. This will be inside of a "case" section, and is what runs when the service is started.
- Create a new line below the "start)" line consisting of :
- Adjust (increase the sleep time) as neccesary if the file system fails to mount.
The number associated with "sleep" is the number of seconds that sleep will wait until proceeding. The objective with the sleep command is to delay the mounting of the file system until the network has established the network connection.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3489182
- Creation Date: 24-Mar-2008
- Modified Date:05-Mar-2021
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com