summaryrefslogtreecommitdiffstats
path: root/sbin/vinum
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2000-03-01 07:22:10 +0000
committergrog <grog@FreeBSD.org>2000-03-01 07:22:10 +0000
commitd5a01916c232e44ddc06fee14d7b6763cd81fda8 (patch)
treec4f0e3ffdce9ef5e78cf6b5c55e6a610c369491e /sbin/vinum
parentcf44ef7326ff2603083dd09de532d9f2de4ca526 (diff)
downloadFreeBSD-src-d5a01916c232e44ddc06fee14d7b6763cd81fda8.zip
FreeBSD-src-d5a01916c232e44ddc06fee14d7b6763cd81fda8.tar.gz
Remove description of defunct DEBUG_NUMOUTPUT by commenting out.
Describe stop -f to stop when config updates are disabled. Explain in more detail why Vinum needs its own partition type, and why you can't make it the c partition. Implicitly-sanctioned-by: jkh
Diffstat (limited to 'sbin/vinum')
-rw-r--r--sbin/vinum/vinum.874
1 files changed, 40 insertions, 34 deletions
diff --git a/sbin/vinum/vinum.8 b/sbin/vinum/vinum.8
index 6dd1490..ebed0f3 100644
--- a/sbin/vinum/vinum.8
+++ b/sbin/vinum/vinum.8
@@ -563,10 +563,12 @@ The bit mask is composed of the following values:
.It DEBUG_ADDRESSES (1)
.br
Show buffer information during requests
+.ig
.It DEBUG_NUMOUTPUT (2)
.br
Show the value of
.Dv vp->v_numoutput.
+..
.It DEBUG_RESID (4)
.br
Go into debugger in
@@ -1280,9 +1282,21 @@ removes the
.Nm
kld and stops
.Xr vinum 8 .
-This can only be done if no objects are active, In particular, the
+This can only be done if no objects are active. In particular, the
.Fl f
-flag does not override this requirement. This command can only work if
+flag does not override this requirement. Normally, the
+.Nm stop
+command writes the current configuration back to the drives before terminating.
+This will not be possible if configuration updates are disabled, so
+.Nm
+will not stop if configuration updates are disabled. You can override this by
+specifying the
+.Fl f
+flag.
+.Pp
+The
+.Nm stop
+command can only work if
.Nm
has been loaded as a kld, since it is not possible to unload a statically
configured driver.
@@ -2406,12 +2420,31 @@ section above.
.Bl -enum
.It
.Nm
-will not create a device on UFS partitions. Instead, it will return an error
-message
-.if t ``wrong partition type''.
-.if n "wrong partition type".
-The partition type must be
+drives are UNIX disk partitions and must have the partition type
.Ar vinum .
+This is different from
+.Nm ccd ,
+which expects partitions of type
+.Ar 4.2BSD .
+This behaviour of ccd is an invitation to shoot yourself in the foot: with
+.Nm ccd
+you can easily overwrite a file system.
+.Nm
+will not permit this.
+.Pp
+For similar reasons, the
+.Nm vinum Ar start
+command will not accept a drive on partition
+.Ar c .
+Partition
+.Ar c
+is used by the system to represent the whole disk, and must be of type
+.Ar unused .
+Clearly there is a conflict here, which
+.Nm
+resolves by not using the
+.Ar c
+partition.
.It
When you create a volume with multiple plexes,
.Nm
@@ -2492,33 +2525,6 @@ vinumioctl: invalid ioctl from process 247 (vinum): c0e44642
.Pp
This error may also occur if you use old versions of kld or userland program.
.It
-.Nm
-drives are UNIX disk partitions and should have the partition type
-.Ar vinum .
-This is different from
-.Nm ccd ,
-which expects partitions of type
-.Ar 4.2BSD .
-This behaviour of ccd is an invitation to shoot yourself in the foot: with
-.Nm ccd
-you can easily overwrite a file system.
-.Nm
-will not permit this.
-.Pp
-For similar reasons, the
-.Nm vinum Ar start
-command will not accept a drive on partition
-.Ar c .
-Partition
-.Ar c
-is used by the system to represent the whole disk, and must be of type
-.Ar unused .
-Clearly there is a conflict here, which
-.Nm
-resolves by not using the
-.Ar c
-partition.
-.It
The
.Nm vinum Ar read
command has a particularly emetic syntax. Once it was the only way to start
OpenPOWER on IntegriCloud