SCIENTIFIC-LINUX-USERS Archives

February 2010

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Andy Mastbaum <[log in to unmask]>
Reply To:
Andy Mastbaum <[log in to unmask]>
Date:
Tue, 16 Feb 2010 10:00:26 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (95 lines)
Silly suggestion perhaps, but did you re-run `exportfs -ra` after 
changing exports? if that doesn't work, maybe reload/restart the 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 anyone 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 /data, it will 
> be mounted.
> 
> hmm
> 
> Please help
> 
> 
> 2010/2/16 Urs Beyerle <[log in to unmask] 
> <mailto:[log in to unmask]>>
> 
>     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 on 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=/data             /data                   ext3    defaults
>            1 2
>      > LABEL=/home             /home                   ext3    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ätstrasse 16 (CHN N 16.2)
>     8092 Zürich, Switzerland
> 
>     Tel +41 44 632 82 55
>     Fax +41 44 632 13 11
>     Web http://www.iac.ethz.ch/people/beyerleu
> 
> 

ATOM RSS1 RSS2