1vrdb(5)                       File Formats Manual                      vrdb(5)
2
3
4

NAME

6       vrdb - Volume Replication Data Base specification
7

DESCRIPTION

9       The   volume  replication  data  base  is  stored  in  binary  form  in
10       /vice/db/VRDB on each file server.  The makevrdb option  of  the  volu‐
11       til(8) program constructs the VRDB on the system control machine (SCM).
12
13       The data base consists of fixed-length records, each of which describes
14       a replicated (aka group) volume.  Each file server copies the VRDB into
15       memory  at  start-up and whenever an updated version of it is received.
16       The data base is used to map group volume names and numbers into a  VSG
17       and the set of read-write volumes which comprise it.
18
19       The  VRDB  is  generated  from  an  ASCII  version stored on the SCM in
20       /vice/vol/VRList.  The VRList is updated as a side-effect of every cre‐
21       ate and purge of a replicated volume.  Its format is:
22
23       <group  volname>   <group  volnum>   <#  of  replicas>   <rwvol 1>  ...
24       <rwvol 8>  <VSG num>
25
26       A sample line from the VRList is:
27
28       project.coda.src 7f000010 3 c9000012  ca000013  cb000013  0  0  0  0  0
29       E0000107
30
31       Note  that all volume and VSG numbers are given in hex.  Details of the
32       VRDB structure can be found in <vrdb.h>.
33

FILES

35       /vice/db/VRDB
36
37       /vice/vol/VRList
38

BUGS

40       File servers keep the in-memory  copy  as  a  singly-linked  list.   It
41       should  be  converted to a pair of hash-tables, one keyed by group vol‐
42       name, the other by group volnum, for fast lookup.
43
44       The maximum number of replication sites is fixed at 8.  Adding,  delet‐
45       ing, or moving replication sites after creation is not supported.
46

SEE ALSO

48       volutil (8), maxgroupid (5), vsgdb (5)
49

AUTHOR

51       Jay Kistler, 1990, created
52
53                                                                       vrdb(5)
Impressum