Mounting NFS shares

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
delboy711
Posts: 2
Joined: Wed 09 Nov 2005, 21:50

Mounting NFS shares

#1 Post by delboy711 »

Heres a little tip that does not seem to be documented elsewhere.

Mounting NFS shares in Pupply 2.11 is very slow (approx 30 secs)
The reason is because Puppy does not include portmap and the mount command has to time out waiting for it.

The solution is to put the option 'nolock' in the fstab entry.

So for example to mount a remote NFS share first define the mount point

Code: Select all

mkdir /mnt/music
Then add a line to /etc/fstab

Code: Select all

192.168.1.47:/home/derek/music /mnt/music nfs rsize=8192,wsize=8192,nolock,soft 0 0
Then to mount it automatically on boot add a line to /etc/rc.d/rc.local

Code: Select all

mount /mnt/music

Post Reply