[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] NFS Error



Barry R Cisna wrote:
Brian,

I see your problem in your exports file.You have posted this as your
exportfs -v:

 root#/usr/sbin/exportfs -v
 /opt/ltsp         <world>(ro,async,wdelay,no_root_squash,no_subtree_check)

This does NOT show the i386 dir (which I am sure it should).

I have tried a number of permutations in /etc/exports:
---------    1  -----------
/opt/ltsp/i386            192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
/var/opt/ltsp/swapfiles   192.168.0.0/255.255.255.0(rw,no_root_squash,async)
----------   2  ----------------
/opt/ltsp/i386 *(ro,async,no_root_squash)
----------   3  -------------------------
/opt/ltsp *(ro,async,no_root_squash)
-------
All gave the exact same error messages, as described previously. The official
K12-Fedora instructions at
http://www.ltsp.org/~sbalneav/LTSPManual.html#id2526788
specifies only 1 line to put in /etc/exports, as shown
in the excerpt below:

6. Update NFS /etc/exports file.

echo "/opt/ltsp *(ro,async,no_root_squash)" >>/etc/exports


I can attest to the fact that this worked for several months, and only stopped
working over the Xmas holidays, after I updated my Fedora9 server.


I have tested these /etc/exports files with iptables and ip6tables turned off,
so it doesn't appear to be a firewall issue.

By the way, when I try example 1 from above, I get the following output
from exportfs -v:

exportfs: No host name given with /var/opt/ltsp/swapfiles192.168.0.0/255.255.255.0(rw,no_root_squash,async) (ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,anonuid=65534,anongid=65534), suggest *(ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,anonuid=65534,anongid=65534) to avoid warning
/opt/ltsp/i386	192.168.0.0/255.255.255.0(ro,wdelay,no_root_squash,no_subtree_check)
/var/opt/ltsp/swapfiles192.168.0.0/255.255.255.0(rw,no_root_squash,async)
		<world>(ro,wdelay,root_squash,no_subtree_check)





You should get a return of:

*
*
*Notice the i386*

I would also put at a minimum these two lines in your exports file. Make sure the variables match the above two lines as well. I have read in the past were some of these will cause a show stopper

I bet if you duplicate the above two lines in your /etc/exports file
Then do a 'service nfs restart' ,,,& 'service iptables stop'
and reboot a couple TC's
there is a good chance your TC's will be booting ( providing there are not other behind the scenes snafoos).
Let us know your progress.

Take Care,
Barry Cisna





_______________________________________________
K12OSN mailing list
K12OSN redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>


--
============================================
Brian Fristensky
971 Somerville Avenue
Winnipeg MB R3T 1B4 CANADA
bfristen shaw ca
204-261-3960
============================================


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]