dascrub(8)
dascrub(8)
dascrub
— Performs a digital surface analysis of disks on the DECmpp Sx disk
array, Version 1.1
Syntax
dascrub -b bank -f function [-t target] [-A] diskarray
Description
If a disk is suspected of having media defects that are not known to the controller,
the
dascrub
command scans disks, normally performing a write/read, looking for
media defects. The drive must already be formatted. Media errors are logged
to the growth error table (GET). Without the -A option, the
dascrub
command
automatically determines which drive to scan for media defects. It examines
the DSBL and SUBS fields of the specified
bank
and selects the disk marked
inoperable. After the scrub, the
daformat(8)
is normally run to merge the GET
into the RFT.
When you use this command and its options, a list of drives to scrub is output,
and positive confirmation is required from the user.
The argument
diskarray
is a character special file associated with the disk array
controller to which the command should be sent. The following options are
processed by
getopt(3)
and should precede
diskarray
.
Options
-b bank
Use this option to specify the target bank; legal values for
bank
are 1–4.
-f function
Use this option to specify the pattern to be used, or the read-check only function;
legal values for
function
are 0–15.
-t target
In the case that DSBL is not equal to 0, SUBS is not equal to 0, and DSBL is not
equal to SUBS, both the disk drives indicated by DSBL and SUBS are candidates
for scrub. Use the -t option to select the drive. When
target
is equal to 0, the disk
drive indicated by DSBL is selected. When
target
is equal to 1, the disk drive
indicated by SUBS is selected. The variable
target
may have no other value.
-A
When the -A option is used, the status of the selected
bank
is examined, and all
drives present in the bank are selected for scrub.
Restrictions
Root privileges are required to execute these commands.
E–14 Parallel Disk Array Reference Pages