Hi everyone,
Somewhat ashamed to say you were all right - the problem was in the
exports file - I was using a colon instead of an equals sign, e.g. if
you
want to restrict access to host1, host2 and host3 you should say
-root=host1:host2:host3
and I was saying
-root:host1:host2:host3
I looked at it a thousand times and I didn't see it. What can I say?
Thanks everyone who helped. Original posts below.
John
John Speakman wrote:
> Hi,
>
> thanks to Corinne and Laurent for their suggestions
> (check that root has access in /etc/exports with,
> for instance, "root=0") but this is correct already.
> The only thing I did differently in this instance
> was copy the files from/to the ASE domain root
> rather than the NFS service.
>
> Anyone got any other ideas?
>
> Thanks
> John
>
> John Speakman wrote:
>
> > Hi,
> >
> > This should be an easy one but it's got me stumped.
> >
> > Last week I had to resize the /usr/users partition
> > on one of the clusters; it's an AdvFS drive mounted
> > as an ASE NFS service shared between the
> > two members of the cluster (AS500 and AS800,
> > running 4.0E/TCR 1.5 pk3). So I made the new
> > disk, made an AdvFS domain, added to to ASE
> > as an NFS service, mounted the old and the new
> > services to temporary mount points and copied the
> > entire contents from the old to the new (using cp -pR).
> > Here's where I think I made a boo-boo although
> > I don't see why it's a problem; I didn't copy from
> > one NFS service to the other service (i.e., from
> > /tmpmountpointforolddevice to
> > /tmpmountpointfornewdevice) but from the
> > root of the old ASE domain to the root of
> > the other (i.e. from /usr/var/ase/mnt/oldnfsservice/olddir
> > to /usr/var/ase/mnt/newnfsservice/newdir).
> > Is this a bad thing to do?
> >
> > Boot up the new service and looks dandy; users
> > can read/write from both hosts and all the files are
> > there, so i hop in a cab and go home. The next day,
> > users are happily doing their stuff but I discover
> > there is a problem; root can't write to the new
> > service, even though the users can write to their
> > directories just fine. The ownerships/permissions
> > are identical to the old service (and to other services
> > that root can write to). For instance (as root):
> >
> > # cd /usr/users
> > # touch newfile
> > touch: newfile cannot create
> >
> > The reason I think it's to do with the way I copied
> > it is that if I go to the ASE domain root I can
> > write to it.
> >
> > # cd /usr/var/ase/mnt/newnfsservice/newdir
> > # touch newfile
> > [it works!]
> > #
> >
> > What have I done and how can I make it OK again
> > (preferably without dismounting the system/
> > restarting ASE etc) ?
> >
> > Thanks! I will summarize
> > John
Received on Thu Feb 17 2000 - 15:46:42 NZDT