[OpenAFS] replication question

Walter Lamagna wlamagna@tenroses.com.ar
Wed, 22 Nov 2006 17:52:44 -0300


Here is more information, Server A is named "Turing" and has the
root.afs and root.cell RW volumes.  Server B is "Retro".

# vos examine root.afs
root.afs                          536870912 RW          4 K  On-line
    turing /vicepa 
    RWrite  536870912 ROnly  536870913 Backup          0 
    MaxQuota       5000 K
    Creation    Wed Nov 15 08:22:34 2006
    Copy        Wed Nov 15 08:22:34 2006
    Backup      Never
    Last Update Thu Nov 16 17:15:23 2006
    0 accesses in the past day (i.e., vnode references)

    RWrite: 536870912     ROnly: 536870913 
    number of sites -> 3
       server turing partition /vicepa RW Site 
       server turing partition /vicepa RO Site 
       server retro partition /vicepa RO Site
----------------
# vos examine root.cell
root.cell                         536870915 RW          4 K  On-line
    turing /vicepa 
    RWrite  536870915 ROnly  536870916 Backup          0 
    MaxQuota       5000 K 
    Creation    Wed Nov 15 08:50:28 2006
    Copy        Wed Nov 15 08:50:28 2006
    Backup      Never
    Last Update Fri Nov 17 14:51:17 2006
    34 accesses in the past day (i.e., vnode references)

    RWrite: 536870915     ROnly: 536870916 
    number of sites -> 3
       server turing partition /vicepa RW Site 
       server turing partition /vicepa RO Site 
       server retro partition /vicepa RO Site
-----------------

Another interesting data is that when Server A is down, in Server B i
can not access the RW partition, this happens:

[root@retro afs]# fs lq turing.com.ar/
Volume Name                   Quota      Used %Used   Partition
root.cell.readonly             5000         4    0%          3%  
[root@retro afs]# fs lq .turing.com.ar/
Volume Name                   Quota      Used %Used   Partition
fs: File '.turing.com.ar/' doesn't exist
-----------------

Any idea ?

Thanks very much
Walter

On Wed, 2006-11-22 at 15:34 -0500, Jeffrey Altman wrote:
> Your clients don't believe you.
> What is the output of "vos examine root.afs" and "vos examine root.cell"?
> 
> 
> 
> Walter Lamagna wrote:
> > I do have them already:
> > 
> > Server A:
> > root.afs
> > root.afs.readonly
> > root.cell
> > root.cell.readonly
> > documents.readonly
> > 
> > Server B:
> > root.afs.readonly
> > root.cell.readonly
> > documents
> > 
> > 
> > Thanks,
> > Walter
> > 
> > 
> > On Wed, 2006-11-22 at 15:11 -0500, Jeffrey Altman wrote:
> >> Walter Lamagna wrote:
> >>> Hello, i am setting up afs replication and have a question.
> >>>
> >>> The Server A has the root.afs and root.cell RW volumes, also some RW and
> >>> RO volumes. And Server B has some RW and RO volumes.  It happens that
> >>> when i shutdown server A, i can not access RW volumes in Server B,
> >>> though thouse RW volumes i want to access are located in Server B.
> >>>
> >>> When i turn off server B, in server A i can still access the RW volumes
> >>> that are located in server A.  Does this happen because root.afs and
> >>> root.cell RW volumes are in server A ? Should i use some special
> >>> argument when starting BosServer ?  How do i resolve it ?
> >>>
> >>> Thanks very much.
> >>> Walter
> >> You should have RO copies of your root.afs and root.cell volumes on
> >> both servers.
> >>
> >> Jeffrey Altman
> >>
> 
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
--