I am having a problem mounting an Western Digital NFS drive with CIFS during bootup. I can mount it after I log into the machine with mount -a command. the following entry is in my fstab.
//192.168.1.202/media /mnt/media cifs credentials=/home/corey/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
The following is in my syslog during bootup. It seems to delay my startup as it tries to mount the drive sometimes for over 2 mins before continuing to boot. Note that sometimes it works but most of the time it fails and I have to manually mount it after I log into the system.
- Code: Select all
Mounting /mnt/media...
Sep 30 18:30:02 Gaia systemd[1]: mnt-media.mount: Directory /mnt/media to mount over is not empty, mounting anyway. (To see the over-mounted files, please manually mount the underlying file system to a secondary location.)
Sep 30 18:30:02 Gaia smb[1381]: Starting SMB services: [ OK ]
Sep 30 18:30:02 Gaia systemd[1]: Starting CUPS Printing Service...
Sep 30 18:30:02 Gaia kernel: Key type cifs.spnego registered
Sep 30 18:30:02 Gaia kernel: Key type cifs.idmap registered
Sep 30 18:30:02 Gaia kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Sep 30 18:30:02 Gaia systemd[1]: Started CUPS Printing Service.
Sep 30 18:30:03 Gaia smb[1381]: Starting NMB services: [ OK ]
Sep 30 18:30:03 Gaia systemd[1]: Started LSB: Samba servers (nmbd and smbd).
Sep 30 18:30:03 Gaia shorewall[1382]: Compiling...
Sep 30 18:30:02 Gaia kernel: ip6_tables: (C) 2000-2006 Netfilter Core Team
Sep 30 18:30:03 Gaia shorewall6[1388]: Compiling...
Sep 30 18:30:03 Gaia mount[1390]: mount error(101): Network is unreachable
Sep 30 18:30:03 Gaia mount[1390]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Sep 30 18:30:03 Gaia systemd[1]: mnt-media.mount mount process exited, code=exited status=32
Sep 30 18:30:02 Gaia kernel: CIFS VFS: Error connecting to socket. Aborting operation
Sep 30 18:30:02 Gaia kernel: CIFS VFS: cifs_mount failed w/return code = -101
Sep 30 18:30:03 Gaia systemd[1]: Failed to mount /mnt/media.
Sep 30 18:30:03 Gaia systemd[1]: Dependency failed for Remote File Systems.
Sep 30 18:30:03 Gaia systemd[1]: Job remote-fs.target/start failed with result 'dependency'.
I appreciate a point in the right direction or any help.
Cuz.