Mounting Remote Share @ Boot

Paul Gear paul at libertysys.com.au
Tue May 19 03:59:01 BST 2009


Simon Ives wrote:
> Hi All.
>
> I've got a NFS share on my file server that I mount at boot on my client
> computers.  The share mounts without issue, except on the clients that
> connect to the network via a wireless connection.  On these computers I have
> to execute "sudo mount -a" once the network's connected to get the share to
> mount.  Is there an option to get the share to mount after the network's up?
>
> The relevant line in my current /etc/fstab files is:
>
> 10.0.0.4:/home /media/file_server nfs
> _netdev,rw,rsize=8192,wsize=8192,timeo=14,intr
>   

In my opinion, autofs is a better way to do that.  You define the mount
points you want, and people access them when they need them and they're
mounted automatically.  Make sure you use soft as well as intr on the
mount options.

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: paul.vcf
Type: text/x-vcard
Size: 203 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-au/attachments/20090519/e4f81e5f/attachment.vcf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4646 bytes
Desc: S/MIME Cryptographic Signature
Url : https://lists.ubuntu.com/archives/ubuntu-au/attachments/20090519/e4f81e5f/attachment.bin 


More information about the ubuntu-au mailing list