Update and tidy descriptions of info -V.
Describe use of -w option with start. Tidy up descriptions of scale factor suffixes.
This commit is contained in:
parent
4506e9078e
commit
05da76e022
@ -263,6 +263,7 @@ Set state without influencing other objects, for diagnostic purposes only.
|
|||||||
Read configuration from all vinum drives.
|
Read configuration from all vinum drives.
|
||||||
.in
|
.in
|
||||||
.Cd start
|
.Cd start
|
||||||
|
.Op Fl w
|
||||||
.Op volume | plex | subdisk
|
.Op volume | plex | subdisk
|
||||||
.in +1i
|
.in +1i
|
||||||
Allow the system to access the objects
|
Allow the system to access the objects
|
||||||
@ -356,14 +357,13 @@ The
|
|||||||
.Fl v
|
.Fl v
|
||||||
.if t (``verbose'')
|
.if t (``verbose'')
|
||||||
.if n ("verbose")
|
.if n ("verbose")
|
||||||
option can be used with any command to request more detailed information.
|
option can be used to request more detailed information.
|
||||||
.It Fl V
|
.It Fl V
|
||||||
The
|
The
|
||||||
.Fl V
|
.Fl V
|
||||||
.if t (``Very verbose'')
|
.if t (``Very verbose'')
|
||||||
.if n ("Very verbose")
|
.if n ("Very verbose")
|
||||||
option can be used with any command to request more detailed information than
|
option can be used to request more detailed information than the
|
||||||
the
|
|
||||||
.Fl v
|
.Fl v
|
||||||
option provides.
|
option provides.
|
||||||
.It Fl w
|
.It Fl w
|
||||||
@ -630,6 +630,10 @@ Time Event Buf Dev Offset Bytes SD
|
|||||||
14:40:00.668556 4DN Read 0xf2361f40 4.23 0xd2109 8192 17 0 0 0
|
14:40:00.668556 4DN Read 0xf2361f40 4.23 0xd2109 8192 17 0 0 0
|
||||||
14:40:00.669777 6RP Write 0xf2361f40 4.39 0x104109 8192 19 0 0 0
|
14:40:00.669777 6RP Write 0xf2361f40 4.39 0x104109 8192 19 0 0 0
|
||||||
14:40:00.685547 4DN Write 0xf2361f40 4.39 0x104109 8192 19 0 0 0
|
14:40:00.685547 4DN Write 0xf2361f40 4.39 0x104109 8192 19 0 0 0
|
||||||
|
11:11:14.975184 Lock 0xc2374210 2 0x1f8001
|
||||||
|
11:11:15.018400 7VS Write 0xc2374210 0x7c0 32768 10
|
||||||
|
11:11:15.018456 8LR Write 0xc2374210 13.39 0xcc0c9 32768
|
||||||
|
11:11:15.046229 Unlock 0xc2374210 2 0x1f8001
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
@ -639,8 +643,11 @@ to identify the requests associated with a user request, though this is not 100%
|
|||||||
reliable: theoretically two requests in sequence could use the same buffer
|
reliable: theoretically two requests in sequence could use the same buffer
|
||||||
header, though this is not common. The beginning of a request can be identified
|
header, though this is not common. The beginning of a request can be identified
|
||||||
by the event
|
by the event
|
||||||
.Ar 1VS .
|
.Ar 1VS
|
||||||
The example above shows the requests involved in a single user request.
|
or
|
||||||
|
.Ar 7VS .
|
||||||
|
The first example above shows the requests involved in a user request. The
|
||||||
|
second is a subdisk I/O request with locking.
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Ar Event
|
.Ar Event
|
||||||
@ -654,7 +661,7 @@ a mnemonic for the location
|
|||||||
.Bl -hang
|
.Bl -hang
|
||||||
.It 1VS
|
.It 1VS
|
||||||
(vinumstrategy) shows information about the user request on entry to
|
(vinumstrategy) shows information about the user request on entry to
|
||||||
.Fd vinumstrategy .
|
.Fn vinumstrategy .
|
||||||
The device number is the
|
The device number is the
|
||||||
.Nm
|
.Nm
|
||||||
device, and offset and length are the user parameters. This is always the
|
device, and offset and length are the user parameters. This is always the
|
||||||
@ -663,7 +670,7 @@ beginning of a request sequence.
|
|||||||
(launch_requests) shows the user request just prior to launching the low-level
|
(launch_requests) shows the user request just prior to launching the low-level
|
||||||
.Nm
|
.Nm
|
||||||
requests in the function
|
requests in the function
|
||||||
.Fd launch_requests.
|
.Fn launch_requests .
|
||||||
The parameters should be the same as in the
|
The parameters should be the same as in the
|
||||||
.Ar 1VS
|
.Ar 1VS
|
||||||
information.
|
information.
|
||||||
@ -687,31 +694,48 @@ is the offset of the associated group request, where applicable.
|
|||||||
.Nm
|
.Nm
|
||||||
requests which are launched to satisfy the high-level request. This information
|
requests which are launched to satisfy the high-level request. This information
|
||||||
is also logged in
|
is also logged in
|
||||||
.Fd launch_requests.
|
.Fn launch_requests .
|
||||||
.It 4DN
|
.It 4DN
|
||||||
(done) is called from
|
(done) is called from
|
||||||
.Fd complete_rqe,
|
.Fn complete_rqe ,
|
||||||
showing the completion of a request. This completion should match a request
|
showing the completion of a request. This completion should match a request
|
||||||
launched either at stage
|
launched either at stage
|
||||||
.Ar 4DN
|
.Ar 4DN
|
||||||
from
|
from
|
||||||
.Fd launch_requests,
|
.Fn launch_requests ,
|
||||||
or from
|
or from
|
||||||
.Fd complete_raid5_write
|
.Fn complete_raid5_write
|
||||||
at stage
|
at stage
|
||||||
.Ar 5RD
|
.Ar 5RD
|
||||||
or
|
or
|
||||||
.Ar 6RP .
|
.Ar 6RP .
|
||||||
.It 5RD
|
.It 5RD
|
||||||
(RAID-5 data) is called from
|
(RAID-5 data) is called from
|
||||||
.Fd complete_raid5_write
|
.Fn complete_raid5_write
|
||||||
and represents the data written to a RAID-5 data stripe after calculating
|
and represents the data written to a RAID-5 data stripe after calculating
|
||||||
parity.
|
parity.
|
||||||
.It 6RP
|
.It 6RP
|
||||||
(RAID-5 parity) is called from
|
(RAID-5 parity) is called from
|
||||||
.Fd complete_raid5_write
|
.Fn complete_raid5_write
|
||||||
and represents the data written to a RAID-5 parity stripe after calculating
|
and represents the data written to a RAID-5 parity stripe after calculating
|
||||||
parity.
|
parity.
|
||||||
|
.It 7VS
|
||||||
|
shows a subdisk I/O request. These requests are usually internal to
|
||||||
|
.Nm
|
||||||
|
for operations like initialization or rebuilding plexes.
|
||||||
|
.It 8LR
|
||||||
|
shows the low--level operation generated for a subdisk I/O request.
|
||||||
|
.It Lockwait
|
||||||
|
specifies that the process is waiting for a range lock. The parameters are the
|
||||||
|
buffer header associated with the request, the plex number and the block number.
|
||||||
|
For internal reasons the block number is one higher than the address of the
|
||||||
|
beginning of the stripe.
|
||||||
|
.It Lock
|
||||||
|
specifies that a range lock has been obtained. The parameters are the same as
|
||||||
|
for the range lock.
|
||||||
|
.It Unlock
|
||||||
|
specifies that a range lock has been released. The parameters are the same as
|
||||||
|
for the range lock.
|
||||||
.El
|
.El
|
||||||
.\" XXX
|
.\" XXX
|
||||||
.It Nm init Op Fl w
|
.It Nm init Op Fl w
|
||||||
@ -993,7 +1017,7 @@ have an existing configuration which you never want to see again.
|
|||||||
.Pp
|
.Pp
|
||||||
.Nm
|
.Nm
|
||||||
maintains a number of statistical counters for each object. See the header file
|
maintains a number of statistical counters for each object. See the header file
|
||||||
.Fi vinumvar.h
|
.Pa vinumvar.h
|
||||||
for more information.
|
for more information.
|
||||||
.\" XXX put it in here when it's finalized
|
.\" XXX put it in here when it's finalized
|
||||||
Use the
|
Use the
|
||||||
@ -1080,6 +1104,7 @@ the usual consistency mechanism of
|
|||||||
and should be used only for recovery purposes. It is possible to crash the
|
and should be used only for recovery purposes. It is possible to crash the
|
||||||
system by incorrect use of this command.
|
system by incorrect use of this command.
|
||||||
.It Nm start
|
.It Nm start
|
||||||
|
.Op Fl w
|
||||||
.Op volume | plex | subdisk
|
.Op volume | plex | subdisk
|
||||||
.Pp
|
.Pp
|
||||||
.Nm start
|
.Nm start
|
||||||
@ -1179,8 +1204,11 @@ plexes in the case of a volume) and sets the state of the object accordingly.
|
|||||||
In a later version, this operation will cause the subdisks
|
In a later version, this operation will cause the subdisks
|
||||||
.Pp
|
.Pp
|
||||||
To start a plex in a multi-plex volume, the data must be copied from another
|
To start a plex in a multi-plex volume, the data must be copied from another
|
||||||
plex in the volume. Since this frequently takes a long time, it is done in the
|
plex in the volume. Since this frequently takes a long time, it is normally
|
||||||
background.
|
done in the background. If you want to wait for this operation to complete (for
|
||||||
|
example, if you are performing this operation in a script), use the
|
||||||
|
.Fl w
|
||||||
|
flag.
|
||||||
.It Nm stop
|
.It Nm stop
|
||||||
.Op Fl f
|
.Op Fl f
|
||||||
.Op volume | plex | subdisk
|
.Op volume | plex | subdisk
|
||||||
@ -1414,19 +1442,30 @@ commands must be in a configuration file. Entries in the configuration file
|
|||||||
define volumes, plexes and subdisks, and may be in free format, except that each
|
define volumes, plexes and subdisks, and may be in free format, except that each
|
||||||
entry must be on a single line.
|
entry must be on a single line.
|
||||||
.Pp
|
.Pp
|
||||||
|
.Ss Scale factors
|
||||||
Some configuration file parameters specify a size (lengths, stripe sizes).
|
Some configuration file parameters specify a size (lengths, stripe sizes).
|
||||||
These lengths can be specified as bytes, as sectors of 512 bytes (by appending
|
These values can be specified as bytes, or one of the following scale factors
|
||||||
the letter \f(CWs\fR), as kilobytes (by appending the letter \f(CWk\fR), as
|
may be appended:
|
||||||
megabytes (by appending the letter \f(CWm\fR) or as gigabytes (by appending the
|
.Bl -hang
|
||||||
letter \f(CWg\fR). These quantities represent the values 2**10, 2**20 and 2**30
|
.It s
|
||||||
respectively. For example, the value \f(CW16777216\fR bytes can also be written
|
specifies that the value is a number of sectors of 512 bytes.
|
||||||
as \f(CW16m\fR, \f(CW16384k\fR or \f(CW32768b\fR.
|
.It k
|
||||||
|
specifies that the value is a number of kilobytes (1024 bytes).
|
||||||
|
.It m
|
||||||
|
specifies that the value is a number of megabytes (1048576 bytes).
|
||||||
|
.It g
|
||||||
|
specifies that the value is a number of gigabytes (1073741824 bytes).
|
||||||
|
.It b
|
||||||
|
is used for compatibility with VERITAS. It stands for blocks of 512 bytes.
|
||||||
|
This abbreviation is confusing, since the word ``block'' is used in different
|
||||||
|
meanings, and its use is deprecated.
|
||||||
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
For reasons of compatibility,
|
For example, the value 16777216 bytes can also be written as
|
||||||
.Nm
|
.Nm 16m ,
|
||||||
takes the letter \f(CWb\fP (block) to be equivalent to \f(CWs\fP (sector). The
|
.Nm 16384k
|
||||||
use of this abbreviation is deprecated, since the size of a block is very
|
or
|
||||||
dependent on the context.
|
.Nm 32768s .
|
||||||
.Pp
|
.Pp
|
||||||
The configuration file can contain the following entries:
|
The configuration file can contain the following entries:
|
||||||
.Pp
|
.Pp
|
||||||
@ -2410,7 +2449,7 @@ plexes.
|
|||||||
- directory containing device nodes for
|
- directory containing device nodes for
|
||||||
.Nm
|
.Nm
|
||||||
subdisks.
|
subdisks.
|
||||||
.Sh ENVIRONMENT VARIABLES
|
.Sh ENVIRONMENT
|
||||||
.Bl -hang
|
.Bl -hang
|
||||||
.It VINUM_HISTORY
|
.It VINUM_HISTORY
|
||||||
The name of the log file, by default /var/log/vinum_history.
|
The name of the log file, by default /var/log/vinum_history.
|
||||||
@ -2433,9 +2472,9 @@ The name of the editor to use for editing configuration files, by default
|
|||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
command first appeared in
|
command first appeared in
|
||||||
.Fx 3.0.
|
.Fx 3.0 .
|
||||||
The RAID-5 component of
|
The RAID-5 component of
|
||||||
.Nm
|
.Nm
|
||||||
was developed by Cybernet Inc.
|
was developed for Cybernet Inc.
|
||||||
.Pa www.cybernet.com
|
.Pa www.cybernet.com
|
||||||
for its NetMAX product.
|
for its NetMAX product.
|
||||||
|
Loading…
Reference in New Issue
Block a user