[OpenAFS] Why isn't my RO path working?

Derek Atkins warlord@MIT.EDU
15 Mar 2001 12:20:12 -0500


That doens't surprise me.  When the client was started there was only
a RW root.afs, so that got cached.  Due to the way RW/RO semantics
work in terms of parentage, because root.afs was RW, EVERYTHING below
it became RW (even if there was a RO volume).

Restarting the client caused it to load the RO root.afs volume, which
allowed child volumes to appear RO as well, which is why it's working
now.

Enjoy!

-derek

"Charrick, Gordon" <gordon.charrick@tfn.com> writes:

> Rebooting the client got it to behave.
> 
> -----Original Message-----
> From: Derek Atkins [mailto:warlord@MIT.EDU]
> Sent: Thursday, March 15, 2001 11:20 AM
> To: Charrick, Gordon
> Subject: Re: [OpenAFS] Why isn't my RO path working?
> 
> 
> Have you restarted your client?  Another thing to try is:
> 	fs flush /afs
> 	fs flushv /afs
> 
> -derek
> 
> "Charrick, Gordon" <gordon.charrick@tfn.com> writes:
> 
> > [gordonc@loonie /afs]$ vos exam root.afs
> > root.afs                          536870912 RW          4 K  On-line
> >     cerberus1.dhcp.cda.com /vicepa 
> >     RWrite  536870912 ROnly  536870913 Backup          0 
> >     MaxQuota       5000 K 
> >     Creation    Wed Mar 14 15:24:03 2001
> >     Last Update Thu Mar 15 08:36:29 2001
> >     23 accesses in the past day (i.e., vnode references)
> > 
> >     RWrite: 536870912     ROnly: 536870913 
> >     number of sites -> 2
> >        server cerberus1.dhcp.cda.com partition /vicepa RW Site 
> >        server cerberus1.dhcp.cda.com partition /vicepa RO Site
> > 
> > [gordonc@loonie /afs]$ vos exam root.cell
> > root.cell                         536870915 RW          3 K  On-line
> >     cerberus1.dhcp.cda.com /vicepa 
> >     RWrite  536870915 ROnly  536870916 Backup          0 
> >     MaxQuota       5000 K 
> >     Creation    Wed Mar 14 15:29:29 2001
> >     Last Update Thu Mar 15 08:42:13 2001
> >     31 accesses in the past day (i.e., vnode references)
> > 
> >     RWrite: 536870915     ROnly: 536870916 
> >     number of sites -> 2
> >        server cerberus1.dhcp.cda.com partition /vicepa RW Site 
> >        server cerberus1.dhcp.cda.com partition /vicepa RO Site
> > 
> > 
> > -----Original Message-----
> > From: Derek Atkins [mailto:warlord@MIT.EDU]
> > Sent: Thursday, March 15, 2001 11:12 AM
> > To: Charrick, Gordon
> > Subject: Re: [OpenAFS] Why isn't my RO path working?
> > 
> > 
> > What's the output of:
> > 	vos exam root.afs
> > 	vos exam root.cell
> > 
> > -derek
> > 
> > "Charrick, Gordon" <gordon.charrick@tfn.com> writes:
> > 
> > > Yes, that's not it!
> > > 
> > > -----Original Message-----
> > > From: Derek Atkins [mailto:warlord@MIT.EDU]
> > > Sent: Thursday, March 15, 2001 10:30 AM
> > > To: Charrick, Gordon
> > > Cc: 'openafs-info@openafs.org'
> > > Subject: Re: [OpenAFS] Why isn't my RO path working?
> > > 
> > > 
> > > Did you vos release root.afs and root.cell after you did 'vos addsite'?
> > > 
> > > -derek
> > > 
> > > "Charrick, Gordon" <gordon.charrick@tfn.com> writes:
> > > 
> > > > I've got a test cell set up with two servers and three partitions.
> I've
> > > > created clones of root.afs and root.cell. My top level mount points
> look
> > > > like so:
> > > > 
> > > > [gordonc@loonie /afs]$ fs lsmount test .test
> > > > 'test' is a mount point for volume '#root.cell'
> > > > '.test' is a mount point for volume '%root.cell'
> > > > 
> > > > However if I run the fs examine command I get the following. I'm also
> > > > clearly in the RW tree since I can write in the directory /afs/test.
> The
> > > > clones of root.afs and root.cell have been released, btw. 
> > > > 
> > > > [gordonc@loonie /afs]$ fs exam /afs/test
> > > > Volume status for vid = 536870915 named root.cell
> > > > 
> > > > [gordonc@loonie /afs]$ fs exam /afs/.test
> > > > Volume status for vid = 536870915 named root.cell
> > > > 
> > > > Any quick clues?
> > > > _______________________________________________
> > > > OpenAFS-info mailing list
> > > > OpenAFS-info@openafs.org
> > > > https://lists.openafs.org/mailman/listinfo.cgi/openafs-info
> > > 
> > > -- 
> > >        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> > >        Member, MIT Student Information Processing Board  (SIPB)
> > >        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
> > >        warlord@MIT.EDU                        PGP key available
> > 
> > -- 
> >        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> >        Member, MIT Student Information Processing Board  (SIPB)
> >        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
> >        warlord@MIT.EDU                        PGP key available
> 
> -- 
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord@MIT.EDU                        PGP key available

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available