Thursday 15 December 2011

Windows share is not mounting when the server is rebooting

Windows share is not mounting when the server is rebooting

When my server reboots, I wish to ensure that a windows share is automatically mounted. Unfortunetely, this is not being done.
The messages file reports the following,

Dec 15 07:17:01 localhost kernel: CIFS VFS: Error connecting to IPv4 socket. Aborting operation
Dec 15 07:17:01 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -113
Dec 15 07:17:01 localhost kernel: CIFS VFS: Error connecting to IPv4 socket. Aborting operation
Dec 15 07:17:01 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -113

I have setup the startup script 'S99mntBKUP' in /etc/rc.d/rc5.d containing the following line,

/bin/mount -v -t cifs \\\\10.110.50.25\\mentorbackup$ /mnt/BACKUP -o username=tidgfile001\\mentorbackup,password=Asp1r3 d3f &

Also added the same line to the 'rc.local' file.

The following line exists in the 'fstab' file.

//10.110.50.25/mentorbackup$ /mnt/BACKUP cifs credentials=tidgfile001\\mentorbackup,password=Asp 1r3d3f,_netdev 0 0

Any clues to show me why the share is not automounting on reboot???

No comments:

Post a Comment