-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Nicholas Pappas wrote: | Hello all. | | I'm trying to set up my first network drive mount. I am using the | following mount string, and receiving the error below it: | | mount -t nfs sylia:/export01 /mnt/export01 | mount: RPC: Remote system error - Connection refused | | What do I need to emerge on my client and server, and/or have | compiled into my kernel in order for this to work. My guess is NFS in | the kernel is important, but which of the two needs it? | Thanks! | | Nick |
To use nfs you need to do the following:
emerge nfs-utils rc-update add nfs default rc-update add portmap default
Unless you reboot your system you will need to issue the following commands:
/etc/init.d/portmap start /etc/init.d/nfs start
Both portmap and nfs need to be on both the client and server.
On the system which will be serving the file system you need to add the file system to /etc/exports, here is an example:
/home *(rw,sync)
Once that is done you need to export the data by issuing the following command: exportfs -a
HTH Mike -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFB8cPjlJFYJP/fwTsRAkIQAJ4r+7RryNXOeeWhX22VHMoEOrdNjACffG6V i86Ft/3n/9qJZAqz8tpT6GE= =YvPZ -----END PGP SIGNATURE-----
-- gentoo-user@gentoo.org mailing list