1 vos syncserv AFS Commands vos syncserv
6 vos syncserv -- synchronize VLDB entries that mention a
8 given site with volume headers.
11 vos syncserv -server <machine name> [-partition <partition
12 name>] [-cell <cell name>] [-noauth] [-localauth]
16 ACCEPTABLE ABBREVIATIONS/ALIASES
18 vos syncs -s <machine name> [-p <partition name>]
19 [-c <cell name>] [-n] [-l] [-v] [-h]
23 Finds and inspects the VLDB entries for volumes (ReadWrite,
24 ReadOnly and Backup) residing on the file server machine
25 specified by -serverMEITHER all of the volumes OR only the
26 volumes on the optionally specified -partition. It checks
27 that everything in the VLDB entry is correct, including the
28 reported sites of all copies (even though that requires
29 looking at volumes on servers other than -server). There
30 are several possible changes it can make:
32 - If a volume header is marked Off-line, but the
33 corresponding VLDB entry is normal, then the
34 volume is brought on-line. (Note that the Off-line
35 flag does not indicate the volume is corrupted.)
37 - If there are two copies of a given volume at
38 different sites, both marked Off-line, the newer
39 volume is brought on-line and the older one is
40 deleted from its site and the VLDB. (This
41 situation could arise if the execution of a
42 vos move command were interrupted).
44 - If a volume recorded in the VLDB does not exist at
45 the indicated site, then the VLDB entry is
46 changed. In the case of ReadWrite, Backup and the
47 last site for ReadOnly, that means changing the
48 appropriate VLDB status flag to invalid.
50 Run this command, preferably on all file server machines,
51 after vos syncvldb has been run on all file server machines.
55 -server names the file server machine for which to
56 check entries in the VLDB. Abbreviated
57 forms of machine names may be allowed
58 depending on the naming service available at
59 the time the command is issued; see page xii
60 in the introductory About This Manual
62 names the partition for which to check VLDB
63 entries. In addition to the full /vicepx
64 form of a partition name, three shorter
68 forms are acceptable; see page xii in the
69 introductory About This Manual chapter.
71 specifies the cell in which to run the
72 command. See section 8.3 in the Reference
73 Manual for more details. -noauth
74 tells the Volume and Volume Location Servers
75 to assign the identity anonymous to the
76 issuer. See section 8.3 in the Reference
77 Manual for more details. -localauth
78 constructs a server ticket using a key from
79 /usr/afs/etc/KeyFile. See section 8.3 in
80 the Reference Manual for more details.
82 tells the Volume and Volume Location Servers
83 to report on what they are doing as they
84 execute the command. See section 8.3 in the
85 Reference Manual for more details. -help
86 prints the online help for this command. Do
87 not provide any other arguments or flags
88 with this one. See section 8.3 in the
89 Reference Manual for more details.
93 The following alters the VLDB entries of volumes whose site
94 definitions mention fs3.transarc.com to match the volume
97 % vos syncserv fs3.transarc.com
101 Issuer must be listed in /usr/afs/etc/UserList on -server.
105 vos move vos syncvldb