/etc/exports <-> mount problem

Jigang Yang jigang at geoblue.gcn.uoknor.edu
Thu Jun 13 01:46:18 AEST 1991


In article <1991Jun12.014941.19618 at cs.yale.edu>, fn at fractal.math.yale.edu (Francois Normant) writes:
|> In article <1991Jun11.193611.15878 at cs.yale.edu> fn at fractal.math.yale.edu (Francois Normant) writes:
|> >I have 2 RS6000s (one 530, one 930) running AIX 3.1.5., let say foo1 and foo2.
|> >I tried to set /etc/exports file on foo1 to export /u to foo2.
|> >
|> >On foo1
|> >------
|> >/etc/exports contains 1 line:
|> >/u foo2
|> >and I did 
|> >exportfs -a
|> >
|> >On foo2
|> >------
|> >I first checked that foo1 was mountable:
|> >showmount -e foo1
|> >export list for foo1:
|> >/u foo2
|> >
|> >Then I created a directory /users/foo1
|> >and I tried 
|> >mount foo1:/u /users/foo1
|> >and here is the result:
|> > 
|> >mount foo1:/u /users/foo1
|> >mount: access denied for foo1:/u
|> >mount: giving up on:
|> >	foo1:/u
|> >Permission denied
|> >
|> >
|> >I tried to change /etc/exports on foo1 in the following ways
|> >1) /u -access=foo2   		=> permission denied
|> >2) /u -access=foo2,root=foo2	=> permission denied		
|> >3) /u -root=foo2		=> ok it worked, but now /u is opened to the world !
|> >
|>  
|> Thanks James you had the good answer !
|> My nameserver knows foo1 and foo2 as FOO1 and FOO2 (capital letters).
|> mount seems to  be case sensitive.
|> 
|> I just changed my export file to
|> /u FOO1
|
     
   In my case, I have to export the dir using full name of the node:
    /u FOO1.DOMAIN.EDU
   (although there is a alias: foo1.domain.edu)

   If I only use:
    /u FOO1
   I still get the same error message.
   
|> and all is ok now.
|> 
|> Thanks for your cooperation.
|> 
|> -- 
|> Francois Normant - fn at math.yale.edu
|> Yale University - Mathematics Department
|> Box 2155 - Yale Station
|> New Haven CT 06520

-- 
Jigang Yang                       | jigang at geoblue.gcn.uoknor.edu
Geosciences Computing Network     | jigang at gcn.uoknor.edu 
University of Oklahoma            | 
830 Van Vleet Oval,Gould Hall#116 | jigang at uokgcn.bitnet
Norman, Oklahoma 73019            | Telphone: 405-325-5540



More information about the Comp.unix.aix mailing list