--Boundary_(ID_Vl9Ip264VkgnLQ5MYcvcpg)
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: QUOTED-PRINTABLE
Hello.
Thanks for your reply.
I don't know where I can find the log.
I already look into /var/log/messages file, but there's nothing i'm l=
ooking
for.
Where can I find the log?
2010/2/17 Troy Dawson <[email protected]>
Hi,
Through all of this, you haven't said what error you are getting.
You should see an error on both the client trying to mount, and the=
server
when it fails the mount, or successfully mounts.
Please send that information.
Troy
Genie Jhang wrote:
Thanks for you reply, Andy.
Because the nfs server setting is configured long time ago and it =
works
other 8 computers with SL 4.6, I think it is not a problem.
Thanks for your advice, but our lab server can be accessed only in=
the
lab. So, there's no security problem.
I found something.
With the setting I wrote previously, the one written latter ( /hom=
e ) will
be mounted.
In this situation, if I type mount -a, /data is also mounted.
I think this means that fstab file syntax and nfs server setting i=
s all
right.
Am I right?
Additionally, NFS server is SL 4.6 and clients that drive me crazy=
are SL
5.4 and SL 5.3.
I want to install SL 4.6, but its kernel doesn't recognize i7 860.
Please help me.
2010/2/17 Andy Mastbaum <[email protected] <mailto:
[email protected]>>
Silly suggestion perhaps, but did you re-run `exportfs -ra` aft=
er
changing exports? if that doesn't work, maybe reload/restart th=
e nfs
server daemon?
Also, just as a PSA: exporting to *(rw) is a very dangerous
animal... you may be giving root access to your shares to anyon=
e
with root privileges on any client visible to your server!
Best,
Andy
Genie Jhang wrote:
Thanks Urs and Stephan.
I set up three machines and all show me that
/home *
/data *
when i typed showmount -e 192.168.0.109.
Also, I tried to change rw to ro in fstab files, still they
don't work
strange thing is that I set up three machines with the same
configuration,
but one of them works!!
What on earth is this?
And, if I manually type mount -t nfs 192.168.0.109:/data /d=
ata,
it will be mounted.
hmm
Please help
2010/2/16 Urs Beyerle <[email protected]
<mailto:[email protected]> <mailto:[email protected]=
hz.ch
<mailto:[email protected]>>>
Hi,
What does showmount shows on the NFS client?
showmount -e 192.168.0.109
Cheers,
Urs
Genie Jhang wrote:
> Hello.
>
> Our lab are using NFS.
>
> 192.168.0.109:/data /data nfs
> tcp,soft,bg,intr,rw 0 0
> 192.168.0.109:/home /home nfs
> tcp,soft,bg,intr,rw 0 0
>
> with these two lines in /etc/fstab, it worked great o=
n SL
4.6.
>
> So, I added two lines /etc/fstab on SL 5.6, it doesn'=
t work.
>
> home directory is mounted only. data directory is not
mounted.
>
> two lines in fstab file on NFS server is following.
>
> LABEL=3D/data /data ext=
3
defaults
1 2
> LABEL=3D/home /home ext=
3
defaults
1 2
>
> and exports files is
>
> /data *(ro)
> /home *(rw)
>
> What do you think is the problem?
--
Urs Beyerle
Institute for Atmospheric and Climate Science
ETH Zurich
Universit=E4tstrasse 16 (CHN N 16.2)
8092 Z=FCrich, Switzerland
Tel +41 44 632 82 55
Fax +41 44 632 13 11
Web http://www.iac.ethz.ch/people/beyerleu
--
__________________________________________________
Troy Dawson [email protected] (630)840-6468
Fermilab ComputingDivision/LSCS/CSI/USS Group
__________________________________________________
--Boundary_(ID_Vl9Ip264VkgnLQ5MYcvcpg)
Content-type: text/html; charset=ISO-8859-1
Content-transfer-encoding: QUOTED-PRINTABLE
Hello.<div><br></div><div>Thanks for your reply.</div><div><br></div>=
<div>I don't know where I can find the log.</div><div><br></div><=
div>I already look into /var/log/messages file, but there's nothi=
ng i'm looking for.</div>
<div><br></div><div>Where can I find the log?</div><div><br><div clas=
s=3D"gmail_quote">2010/2/17 Troy Dawson <span dir=3D"ltr"><<a href=
=3D"mailto:[email protected]">[email protected]</a>></span><br><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
#ccc solid;padding-left:1ex;">
Hi,<br>
Through all of this, you haven't said what error you are getting.=
<br>
You should see an error on both the client trying to mount, and the s=
erver when it fails the mount, or successfully mounts.<br>
<br>
Please send that information.<br>
<br>
Troy<br>
<br>
Genie Jhang wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex"><div class=3D"im">
Thanks for you reply, Andy.<br>
<br>
Because the nfs server setting is configured long time ago and it wor=
ks other 8 computers with SL 4.6, I think it is not a problem.<br>
<br>
Thanks for your advice, but our lab server can be accessed only in th=
e lab. So, there's no security problem. <br>
I found something.<br>
<br>
With the setting I wrote previously, the one written latter ( /home )=
will be mounted.<br>
<br>
In this situation, if I type mount -a, /data is also mounted.<br>
<br>
I think this means that fstab file syntax and nfs server setting is a=
ll right.<br>
<br>
Am I right?<br>
<br>
Additionally, NFS server is SL 4.6 and clients that drive me crazy ar=
e SL 5.4 and SL 5.3.<br>
<br>
I want to install SL 4.6, but its kernel doesn't recognize i7 860=
.<br>
<br>
Please help me.<br>
<br></div>
2010/2/17 Andy Mastbaum <<a href=3D"mailto:[email protected]"=
target=3D"_blank">[email protected]</a> <mailto:<a href=3D"m=
ailto:[email protected]" target=3D"_blank">[email protected]=
u</a>>><div><div>
</div><div class=3D"h5"><br>
<br>
=A0 =A0Silly suggestion perhaps, but did you re-run `exportfs -ra` a=
fter<br>
=A0 =A0changing exports? if that doesn't work, maybe reload/rest=
art the nfs<br>
=A0 =A0server daemon?<br>
<br>
=A0 =A0Also, just as a PSA: exporting to *(rw) is a very dangerous<b=
r>
=A0 =A0animal... you may be giving root access to your shares to any=
one<br>
=A0 =A0with root privileges on any client visible to your server!<br=
<br>
=A0 =A0Best,<br>
=A0 =A0Andy<br>
<br>
=A0 =A0Genie Jhang wrote:<br>
<br>
=A0 =A0 =A0 =A0Thanks Urs and Stephan.<br>
<br>
=A0 =A0 =A0 =A0I set up three machines and all show me that<br>
<br>
=A0 =A0 =A0 =A0/home *<br>
=A0 =A0 =A0 =A0/data *<br>
<br>
=A0 =A0 =A0 =A0when i typed showmount -e 192.168.0.109.<br>
<br>
=A0 =A0 =A0 =A0Also, I tried to change rw to ro in fstab files, stil=
l they<br>
=A0 =A0 =A0 =A0don't work<br>
<br>
=A0 =A0 =A0 =A0strange thing is that I set up three machines with th=
e same<br>
=A0 =A0 =A0 =A0configuration,<br>
<br>
=A0 =A0 =A0 =A0but one of them works!!<br>
<br>
=A0 =A0 =A0 =A0What on earth is this?<br>
<br>
=A0 =A0 =A0 =A0And, if I manually type mount -t nfs 192.168.0.109:/d=
ata /data,<br>
=A0 =A0 =A0 =A0it will be mounted.<br>
<br>
=A0 =A0 =A0 =A0hmm<br>
<br>
=A0 =A0 =A0 =A0Please help<br>
<br>
<br>
=A0 =A0 =A0 =A02010/2/16 Urs Beyerle <<a href=3D"mailto:urs.beyer=
[email protected]" target=3D"_blank">[email protected]</a><br></di=
v></div>
=A0 =A0 =A0 =A0<mailto:<a href=3D"mailto:[email protected]"=
target=3D"_blank">[email protected]</a>> <mailto:<a href=
=3D"mailto:[email protected]" target=3D"_blank">urs.beye...@env=
.ethz.ch</a><div><div></div><div class=3D"h5">
<br>
=A0 =A0 =A0 =A0<mailto:<a href=3D"mailto:[email protected]"=
target=3D"_blank">[email protected]</a>>>><br>
<br>
<br>
=A0 =A0 =A0 =A0 =A0 Hi,<br>
<br>
=A0 =A0 =A0 =A0 =A0 What does showmount shows on the NFS client?<br>
<br>
=A0 =A0 =A0 =A0 =A0 showmount -e 192.168.0.109<br>
<br>
=A0 =A0 =A0 =A0 =A0 Cheers,<br>
<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Urs<br>
<br>
<br>
=A0 =A0 =A0 =A0 =A0 Genie Jhang wrote:<br>
=A0 =A0 =A0 =A0 =A0 =A0> Hello.<br>
=A0 =A0 =A0 =A0 =A0 =A0><br>
=A0 =A0 =A0 =A0 =A0 =A0> Our lab are using NFS.<br>
=A0 =A0 =A0 =A0 =A0 =A0><br>
=A0 =A0 =A0 =A0 =A0 =A0> 192.168.0.109:/data =A0 =A0 /data =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 nfs<br>
=A0 =A0 =A0 =A0 =A0 =A0> tcp,soft,bg,intr,rw =A0 =A0 0 0<br>
=A0 =A0 =A0 =A0 =A0 =A0> 192.168.0.109:/home =A0 =A0 /home =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 nfs<br>
=A0 =A0 =A0 =A0 =A0 =A0> tcp,soft,bg,intr,rw =A0 =A0 0 0<br>
=A0 =A0 =A0 =A0 =A0 =A0><br>
=A0 =A0 =A0 =A0 =A0 =A0> with these two lines in /etc/fstab, it w=
orked great on SL 4.6.<br>
=A0 =A0 =A0 =A0 =A0 =A0><br>
=A0 =A0 =A0 =A0 =A0 =A0> So, I added two lines /etc/fstab on SL 5=
.6, it doesn't work.<br>
=A0 =A0 =A0 =A0 =A0 =A0><br>
=A0 =A0 =A0 =A0 =A0 =A0> home directory is mounted only. data dir=
ectory is not mounted.<br>
=A0 =A0 =A0 =A0 =A0 =A0><br>
=A0 =A0 =A0 =A0 =A0 =A0> two lines in fstab file on NFS server is=
following.<br>
=A0 =A0 =A0 =A0 =A0 =A0><br>
=A0 =A0 =A0 =A0 =A0 =A0> LABEL=3D/data =A0 =A0 =A0 =A0 =A0 =A0 /d=
ata =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ext3 =A0 =A0 =A0 =A0 =A0 defa=
ults<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A01 2<br>
=A0 =A0 =A0 =A0 =A0 =A0> LABEL=3D/home =A0 =A0 =A0 =A0 =A0 =A0 /h=
ome =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ext3 =A0 =A0 =A0 =A0 =A0 defa=
ults<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A01 2<br>
=A0 =A0 =A0 =A0 =A0 =A0><br>
=A0 =A0 =A0 =A0 =A0 =A0> and exports files is<br>
=A0 =A0 =A0 =A0 =A0 =A0><br>
=A0 =A0 =A0 =A0 =A0 =A0> /data *(ro)<br>
=A0 =A0 =A0 =A0 =A0 =A0> /home *(rw)<br>
=A0 =A0 =A0 =A0 =A0 =A0><br>
=A0 =A0 =A0 =A0 =A0 =A0> What do you think is the problem?<br>
<br>
<br>
=A0 =A0 =A0 =A0 =A0 --<br>
=A0 =A0 =A0 =A0 =A0 Urs Beyerle<br>
=A0 =A0 =A0 =A0 =A0 Institute for Atmospheric and Climate Science<br=
=A0 =A0 =A0 =A0 =A0 ETH Zurich<br>
=A0 =A0 =A0 =A0 =A0 Universit=E4tstrasse 16 (CHN N 16.2)<br>
=A0 =A0 =A0 =A0 =A0 8092 Z=FCrich, Switzerland<br>
<br>
=A0 =A0 =A0 =A0 =A0 Tel +41 44 632 82 55<br>
=A0 =A0 =A0 =A0 =A0 Fax +41 44 632 13 11<br>
=A0 =A0 =A0 =A0 =A0 Web <a href=3D"http://www.iac.ethz.ch/people/bey=
erleu" target=3D"_blank">http://www.iac.ethz.ch/people/beyerleu</a><b=
r>
<br>
<br>
<br>
</div></div></blockquote><font color=3D"#888888">
<br>
<br>
-- <br>
__________________________________________________<br>
Troy Dawson =A0<a href=3D"mailto:[email protected]" target=3D"_blank">d=
[email protected]</a> =A0(630)840-6468<br>
Fermilab =A0ComputingDivision/LSCS/CSI/USS Group<br>
__________________________________________________<br>
<br>
</font></blockquote></div><br></div>
--Boundary_(ID_Vl9Ip264VkgnLQ5MYcvcpg)--