logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

vos_convertROtoRW - Converts a Read-Only volume into a Read/Write volume

Cautions

       The command name is case-sensitive.  It must be issued with the capital "RO" and "RW".

       After running vos convertROtoRW, the old file server will still contain the old Read/Write copy of the
       volume, even if the VLDB no longer references it. You can view the old volume with voslistvol, and you
       should remove the old copy (for example, with voszap) so that the original file server will match the
       VLDB.

Description

vosconvertROtoRW converts a Read-Only volume into a Read/Write volume when the original Read/Write
       volume is no longer available.  It's normal use is to recover the Read/Write volume from a replica after
       a failed disk, failed server, or accidental deletion.

Examples

       The  following  example  converts the read-only volume test3.readonly in partition vicepb on server1 to a
       read-write volume:

          % vos convertROtoRW server1 b test3.readonly

Name

       vos_convertROtoRW - Converts a Read-Only volume into a Read/Write volume

Options

-server <servername>
           Identifies the file server machine that houses the Read-Only volume which will be converted.  Provide
           the  machine's  IP  address  or  its  host  name  (either  fully  qualified  or  using an unambiguous
           abbreviation).  For details, see vos(1).

       -partition <partitionname>
           Identifies the partition on the file server machine that houses the Read-Only volume  which  will  be
           converted.   Provide  the full partition name (for, example, /vicepa) or one of the abbreviated forms
           described in vos(1).

       -id <volumeID>
           Specifies either the complete name or volume ID number of a Read/Write volume.

       -force
           Don't ask for confirmation.

       -cell <cellname>
           Names the cell in which to run the command. Do not combine this argument with  the  -localauth  flag.
           For more details, see vos(1).

       -noauth
           Assigns  the  unprivileged  identity  "anonymous"  to  the  issuer. Do not combine this flag with the
           -localauth flag. For more details, see vos(1).

       -localauth
           Constructs a server ticket using a key from  the  local  /etc/openafs/server/KeyFile  file.  The  vos
           command  interpreter  presents  it  to  the  Volume  Server  and Volume Location Server during mutual
           authentication. Do not combine this flag with the -cell argument or -noauth flag. For  more  details,
           see vos(1).

       -verbose
           Produces  on the standard output stream a detailed trace of the command's execution. If this argument
           is omitted, only warnings and error messages appear.

       -encrypt
           Encrypts the command so that the operation's results are not transmitted across the network in  clear
           text. This option is available in OpenAFS versions 1.4.11 or later and 1.5.60 or later.

       -noresolve
           Shows  all  servers  as  IP  addresses  instead  of the DNS name. This is very useful when the server
           address is registered as 127.0.0.1 or when dealing with multi-homed servers. This option is available
           in OpenAFS versions 1.4.8 or later and 1.5.35 or later.

       -config <configurationdirectory>
           Set the location of the configuration directory to be used. This defaults to /etc/openafs, except  if
           -localauth is specified, in which case the default is /etc/openafs/server. This option allows the use
           of alternative configuration locations for testing purposes.

       -help
           Prints the online help for this command. All other valid options are ignored.

Privilege Required

       The issuer must be listed in the /etc/openafs/server/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".

See Also

vos(1)

Synopsis

vosconvertROtoRW [-server] <machinename>
          [-partition] <partitionname>
          [-id] <volumenameorID> [-force]
          [-cell <cellname>] [-noauth] [-localauth]
          [-verbose] [-encrypt] [-noresolve]
          [-config <configdirectory>]
          [-help]

       voscon [-s] <machinename>
          [-p] <partitionname>
          [-i] <volumenameorID> [-f]
          [-c <cellname>] [-noa] [-l]
          [-v] [-e] [-nor]
          [-co <configdirectory>]
          [-h]

See Also