vos-command-enhancements-20011008
authorJeffrey Hutzelman <jhutz@cmu.edu>
Mon, 8 Oct 2001 23:55:41 +0000 (23:55 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 8 Oct 2001 23:55:41 +0000 (23:55 +0000)
commit0c03f8607e15e5ebb49eb6dd38a72dc320df9a20
tree9708d6cb48cfcdff8bfdad785c87351eeca3af8b
parent0c15cc977e130596bb834de3bc24e10227528c15
vos-command-enhancements-20011008

- Adds the -crypt option, which causes rx connections to be encrypted

  - Adds the 'vos setfields' command, which allows volume info fields to
    be set.  Currently, this command allows a volume's quota to be set,
    and allows its dayuse counter to be manually cleared.  At present,
    no other changes are supported by the volserver RPC interface.

  - Adds the 'vos changeloc' command, which allows the VLDB's idea of the
    location of an RW volume to be explicitly changed without actually
    moving the volume.  This can be used in cases where the VLDB has the
    wrong idea of the location of a volume for some reason.  It is
    somewhat more predictable and easy to understand than the syncserv
    and syncvldb commands.

  - Adds the -offline option to 'vos restore'.  This option causes the
    restored volume to be left offline.  This functionality was already
    present in the code but previously had no user interface.

  - Adds the -readonly option to 'vos restore'.  This option causes the
    restored volume to be an RO volume.  It is not permitted to restore
    an RO volume when the associated RW volume already exists.  While
    it is possible to restore an RW volume where an RO volume exists,
    caution should be used to avoid doing this with VLDB entries created
    by 'vos restore -readonly', since such entries have their ROVOL and
    RWVOL ID's set to the same thing.
src/volser/volser.p.h
src/volser/vos.c
src/volser/vsprocs.c
src/volser/vsutils.c