Ubuntu 9.04 NFS fstab problems

I had a problem with the new release of Ubuntu 9.04 server not mounting remote shares upon boot. Turns out that the network service starts up after fstab now. An easy fix was to edit the /etc/rc.local file here is what I changed/added

/etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

#mount the NFS Shares
mount -a

exit 0
Above just added the "mount -a" just before the exit 0. Hope this helps everyone who is having the same problem. Seems to work perfect for me.

Comments

Popular posts from this blog

Console over SSH (ONTAP)

Brocade Zone Setup

OpenSolaris ZFS Setup