Purpose
Removes a read-only site definition from a VLDB entry
Synopsis
vos remsite -server <machine name> -partition <partition name> -id <volume name or ID> [-cell <cell name>] [-noauth] [-localauth] [-verbose] [-help] vos rems -s <machine name> -p <partition name> -i <volume name or ID> [-c <cell name>] [-n] [-l] [-v] [-h]
Description
The vos remsite command removes the read-only replication site specified by the -machine and -partition arguments from the Volume Location Database (VLDB) entry for the indicated volume, which is read/write.
This command is useful for removing read-only sites that were mistakenly created with the vos addsite command, before the vos release command actually releases them. If a read-only copy already exists at the site, it is not affected. However, if this read-only site was the last site housing any version of the volume, then the entire VLDB entry is removed, even if a copy of the read-only version still actually exists at the site. The VL Server does not correct the discrepancy until the vos syncserv and vos syncvldb commands are run.
Cautions
Do not use this command as the standard way to remove a read-only volume, because it can create a discrepancy between the VLDB and the volumes on file server machines. Use the vos remove command instead.
Options
Examples
The following command removes the mistakenly defined read-only site /viceph on the file server machine fs5.abc.com from the VLDB entry for the volume root.cell.
% vos remsite -server fs5.abc.com -partition h -id root.cell
Privilege Required
The issuer must be listed in the /usr/afs/etc/UserList file on the machine specified with the -server argument and on each database server machine. If the -localauth flag is included, the issuer must instead be logged on to a server machine as the local superuser root.
Related Information