Example – HP NonStop G-Series User Manual
Page 156
Performing Routine Disk Operations
Guardian User’s Guide — 425266-001
9- 10
Removing Half of a Mirrored Disk
6. Spare any bad sectors:
-> CONTROL DISK $disk { -P | -M }, SPARE
, cylinder , head , sector
where
cylinder
,
head
, and
sector
are the numbers of the cylinder, head, and
sector to be assigned an alternate sector. Do not spare cylinder 0, or head 0, sector 0
on any disk; doing so makes the disk unusable. Do not spare sectors 0, 1, 2, or 3 of
cylinder 0, head 0 on the disk $SYSTEM; doing so prevents you from loading the
system from that disk.
The SCF INFO DISK, BAD and CONTROL DISK, SPARE commands are
described in detail in the SCF Reference Manual for the Storage Subsystem.
7. Stop the paths to the disk half:
-> STOP DISK $disk -M, FORCED
-> STOP DISK $disk -MB, FORCED
FORCED means that SCF continues even if there are open files on the disk.
A warning message and verification request is displayed.
8. Enter Y to continue. STOP DISK brings down the device on which the disk is
mounted.
9. Issue the SCF STATUS DISK command and check to verify that the STOP
command put the specified disk in the STOPPED state.
10. Power off the disk in TSM. For information on using TSM, see the TSM Online
User’s Guide.
11. When the disk stops spinning, physically remove the disk pack.
Example
To remove the primary disk of $DATA00 with SCF before you physically remove it:
1. Make sure you are logged on as a super-group user (255,
n
).
2. Enter:
-> INFO DISK $DATA00, BAD
-> CONTROL DISK $DATA00-P, SPARE 173, 2, 6
-> STOP DISK! $DATA00-P
A warning message and verification request is displayed.
3. Respond yes by entering:
-> Y