Difference between revisions of "Talk:NFS"

From ArchWiki
Jump to: navigation, search
(Remove closed topic.)
(Restarting rpc-idmapd and rpc-mountd: close.)
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==exportfs-error==
+
== Update and streamlined ==
I applied this article to my server today and I found an exportfs-error: in /etc/exports a range of clients has to be described like 'ip/netmask'. CORRECT WAY: '192.168.0.0/255.255.255.0', whereas the example on this page throws an error.--[[User:Zenlord|Zenlord]] 08:34, 30 September 2009 (EDT)
+
Took a stab at making the article lean and mean.  Cleaned-up, trimmed away fat, initscripts, etc. Someone please edit the autofs section and make it systemd relevant. I do not use this or I would do it myself.
  
==SSH tunnelling==
+
[[User:Graysky|Graysky]] ([[User talk:Graysky|talk]]) 21:00, 16 October 2012 (UTC)
Since NFSv4 is a insecure protocol (doesn't encrypt traffic), what about adding some info about tunneling it with SSH? This link is very useful: http://blogs.sun.com/shepler/entry/tunneling_nfs_traffic_via_ssh
+
The only problem, rpcbind has to be also tunneled.
+
  
==client ip address/ranges==
+
== <s> Restarting rpc-idmapd and rpc-mountd </s> ==
Also mentioning that we need to put client ip address/ranges in the /etc/exports might be a good idea for people using NFS for the first time. [[User:Inxsible|Inxsible]]
+
  
== Mounting the partitions on the client ==
+
When making changes to /etc/exports, I use systemctl to restart rpc-idmapd and rpc-mountd, but the changes do not take effect. I noticed that rpc-idmapd and rpc-mountd start other units. Its a pain going through and stopping each one individually. How do you shutdown or restart everything at once to reload exports? [[User:Axanon|Axanon]] ([[User talk:Axanon|talk]]) 19:09, 28 December 2012 (UTC)
I tried following the wiki but it seems that, for the client, it is no longer necessary to start rpcbind or nfs-common services.--[[User:Angheloko|Angheloko]] 11:44, 8 October 2011 (EDT)
+
: I've learned a full server restart is ''not'' required to apply changes to a modified {{ic|/etc/exports}}. {{ic|# exportfs -ra}} will do this.[[User:Axanon|Axanon]] ([[User talk:Axanon|talk]]) 19:49, 30 December 2012 (UTC)
 +
:: Thanks for updating the page. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 01:45, 1 January 2013 (UTC)

Revision as of 01:45, 1 January 2013

Update and streamlined

Took a stab at making the article lean and mean. Cleaned-up, trimmed away fat, initscripts, etc. Someone please edit the autofs section and make it systemd relevant. I do not use this or I would do it myself.

Graysky (talk) 21:00, 16 October 2012 (UTC)

Restarting rpc-idmapd and rpc-mountd

When making changes to /etc/exports, I use systemctl to restart rpc-idmapd and rpc-mountd, but the changes do not take effect. I noticed that rpc-idmapd and rpc-mountd start other units. Its a pain going through and stopping each one individually. How do you shutdown or restart everything at once to reload exports? Axanon (talk) 19:09, 28 December 2012 (UTC)

I've learned a full server restart is not required to apply changes to a modified /etc/exports. # exportfs -ra will do this.Axanon (talk) 19:49, 30 December 2012 (UTC)
Thanks for updating the page. -- Fengchao (talk) 01:45, 1 January 2013 (UTC)