mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-22 16:44:32 +01:00
Update description of checkparity and rebuildparity commands.
This commit is contained in:
parent
86ed226506
commit
2550d2afdc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61358
@ -55,9 +55,10 @@
|
|||||||
.in +1i
|
.in +1i
|
||||||
Attach a plex to a volume, or a subdisk to a plex.
|
Attach a plex to a volume, or a subdisk to a plex.
|
||||||
.in
|
.in
|
||||||
.Cd checkparity Ar plex
|
.Cd checkparity Ar plex Op Fl f
|
||||||
|
.Op Fl v
|
||||||
.in +1i
|
.in +1i
|
||||||
Check the parity blocks of a RAID-5 plex.
|
Check the parity blocks of a RAID-4 or RAID-5 plex.
|
||||||
.in
|
.in
|
||||||
.Nm concat
|
.Nm concat
|
||||||
.Op Fl f
|
.Op Fl f
|
||||||
@ -227,9 +228,11 @@ XXX
|
|||||||
Move all the subdisks from the specified drive onto the new drive.
|
Move all the subdisks from the specified drive onto the new drive.
|
||||||
.in
|
.in
|
||||||
..
|
..
|
||||||
.Cd rebuildparity Ar plex
|
.Cd rebuildparity Ar plex Op Fl f
|
||||||
|
.Op Fl v
|
||||||
|
.Op Fl V
|
||||||
.in +1i
|
.in +1i
|
||||||
Rebuild the parity blocks of a RAID-5 plex.
|
Rebuild the parity blocks of a RAID-4 or RAID-5 plex.
|
||||||
.in
|
.in
|
||||||
.Cd resetconfig
|
.Cd resetconfig
|
||||||
.in +1i
|
.in +1i
|
||||||
@ -468,6 +471,27 @@ multiplied by the stripe size. For example, in a plex of block size 256k, the
|
|||||||
first subdisk will have offset 0, the second offset 256k, the third 512k, etc.
|
first subdisk will have offset 0, the second offset 256k, the third 512k, etc.
|
||||||
This calculation ignores parity blocks in RAID-5 plexes.
|
This calculation ignores parity blocks in RAID-5 plexes.
|
||||||
.El
|
.El
|
||||||
|
.It Nm checkparity
|
||||||
|
.Ar plex
|
||||||
|
.Op Fl f
|
||||||
|
.Op Fl v
|
||||||
|
.Pp
|
||||||
|
Check the parity blocks on the specified RAID-4 or RAID-5 plex. This operation
|
||||||
|
maintains a pointer in the plex, so it can be stopped and later restarted from
|
||||||
|
the same position if desired. In addition, this pointer is used by the
|
||||||
|
.Nm rebuildparity
|
||||||
|
command, so rebuilding the parity blocks need only start at the location where
|
||||||
|
the first parity problem has been detected.
|
||||||
|
.Pp
|
||||||
|
If the
|
||||||
|
.Fl f
|
||||||
|
flag is specified,
|
||||||
|
.Nm checkparity
|
||||||
|
starts checking at the beginning of the plex. If the
|
||||||
|
.Fl v
|
||||||
|
flag is specified,
|
||||||
|
.Nm checkparity
|
||||||
|
prints a running progress report.
|
||||||
.It Nm concat
|
.It Nm concat
|
||||||
.Op Fl f
|
.Op Fl f
|
||||||
.Op Fl n Ar name
|
.Op Fl n Ar name
|
||||||
@ -1041,6 +1065,34 @@ and
|
|||||||
.Nm saveconfig
|
.Nm saveconfig
|
||||||
commands. Reset bit 4 of the daemon options mask to re-enable configuration
|
commands. Reset bit 4 of the daemon options mask to re-enable configuration
|
||||||
saves.
|
saves.
|
||||||
|
.It Nm rebuildparity
|
||||||
|
.Ar plex
|
||||||
|
.Op Fl f
|
||||||
|
.Op Fl v
|
||||||
|
.Op Fl V
|
||||||
|
.Pp
|
||||||
|
Rebuild the parity blocks on the specified RAID-4 or RAID-5 plex. This
|
||||||
|
operation maintains a pointer in the plex, so it can be stopped and later
|
||||||
|
restarted from the same position if desired. In addition, this pointer is used
|
||||||
|
by the
|
||||||
|
.Nm checkparity
|
||||||
|
command, so rebuilding the parity blocks need only start at the location where
|
||||||
|
the first parity problem has been detected.
|
||||||
|
.Pp
|
||||||
|
If the
|
||||||
|
.Fl f
|
||||||
|
flag is specified,
|
||||||
|
.Nm rebuildparity
|
||||||
|
starts rebuilding at the beginning of the plex. If the
|
||||||
|
.Fl v
|
||||||
|
flag is specified,
|
||||||
|
.Nm rebuildparity
|
||||||
|
first checks the existing parity blocks prints information about those found to
|
||||||
|
be incorrect before rebuilding. If the
|
||||||
|
.Fl V
|
||||||
|
flag is specified,
|
||||||
|
.Nm rebuildparity
|
||||||
|
prints a running progress report.
|
||||||
.It Nm rename
|
.It Nm rename
|
||||||
.Op Fl r
|
.Op Fl r
|
||||||
.Ar [ drive | subdisk | plex | volume ]
|
.Ar [ drive | subdisk | plex | volume ]
|
||||||
@ -1288,7 +1340,7 @@ example, if you are performing this operation in a script), use the
|
|||||||
option.
|
option.
|
||||||
.Pp
|
.Pp
|
||||||
Copying data doesn't just take a long time, it can also place a significant load
|
Copying data doesn't just take a long time, it can also place a significant load
|
||||||
on the system. You can specify the transfer size in bytes with the
|
on the system. You can specify the transfer size in bytes or sectors with the
|
||||||
.Fl S
|
.Fl S
|
||||||
option, and an interval (in milliseconds) to wait between copying each block with
|
option, and an interval (in milliseconds) to wait between copying each block with
|
||||||
the
|
the
|
||||||
|
Loading…
Reference in New Issue
Block a user