Document the 'vos offline' -busy and -sleep opts
authorAndrew Deason <adeason@sinenomine.net>
Thu, 29 Jul 2010 18:02:47 +0000 (13:02 -0500)
committerDerrick Brashear <shadow@dementia.org>
Thu, 29 Jul 2010 18:41:54 +0000 (11:41 -0700)
Change-Id: I68d374a206a398467e5980a87b3ca2ad41bf9653
Reviewed-on: http://gerrit.openafs.org/2482
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

doc/man-pages/README
doc/man-pages/pod1/vos_offline.pod

index 3a25ee8..b76a072 100644 (file)
@@ -263,8 +263,6 @@ Known Problems
    Changes needed to have vos suite commands completely up to date,
    including the 1.5 branch:
 
-   * Document vos offline -busy / -sleep
-
    * Document vos create -minquota which is available since 1.5.61
 
    * Document vos restore -creation/-lastupdate and -nodelete
index 301e218..53ca666 100644 (file)
@@ -60,6 +60,37 @@ L<vos(1)>.
 
 Specifies either the complete name or volume ID number of the volume.
 
+=item B<-sleep> <I<seconds to sleep>>
+
+Specifies to sleep for a certain number of seconds after taking the
+volume offline before bringing it online again. If this option is
+specified, the volume will be online when B<vos offline> successfully
+completes. If this option is not specified, B<vos online> must be run to
+bring the volume online.
+
+=item B<-busy>
+
+Specifies to mark the volume as `busy' instead of `offline'. This
+means that a program trying to access this volume will receive a VBUSY
+error instead of a VOFFLINE error (until the volume is brought back
+online).
+
+Different programs may react differently when they see these two
+different states, but in general a `busy' volume is only unavailable
+for a short period of time and will become online soon. An `offline'
+volume, on the other hand, is typically unavailable for longer periods
+and may not come back online until an administrator intervenes.
+
+As an example of when these states occur normally, a volume can be
+`busy' when it is being cloned (perhaps as the result of a
+B<vos backup> or B<vos release> operation). A volume can be `offline'
+if a non-DAFS fileserver has detected a problem in the volume, and an
+administrator must manually schedule a salvage for that volume before
+it becomes available again.
+
+If B<-busy> is specified, the B<-sleep> option must also be specified, to
+indicate for how long to keep the volume busy.
+
 =item B<-cell> <I<cell name>>
 
 Names the cell in which to run the command. Do not combine this argument