Quick FreeBSD4/Dragonfly 1.X NFS howto

#1
Okay really quick (summary) while its still fresh in my head:

on the server append to the end of /etc/rc.conf the following:

rpcbind_enable="YES"
nfs_server_enable="YES"
nfs_server_flags="-u -t -n 4"

add to /etc/exports the following info:

/path/to/export <ip/hostname that will mount this export>

repeat as necessary (check man exports for more detail)

reboot server or type: portmap && nfsd -u -t -n 4 && mountd -r

on the client add the following lines to /etc/rc.conf:

rpcbind_enable="YES"
nfs_client_enable="YES"
nfs_client_flags="-n 4"

type portmap && nfsiod -n 4

mount the exports as follows:

mount -v host:/path/to/export /path/to/mount/at

-v makes output verbose

in /etc/fstab on client:

host:/path/to/export /path/to/mount/at nfs rw 0 0

repeat as necessary

et voila :D nfs mounted exports

enjoy :D
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,971
Messages
673,300
Members
89,016
Latest member
Poseeut