Managing Disk Devices
4-6 Peripherals Configuration (R1001H) HP-UX version 11.00.01
9. Add the physical volume to the volume group by entering
vgextend vg_name pv_path
vg_name is the volume group name and pv_path is the block device file
name, for example, /dev/dsk/c0t1d0.
10. Do one of the following:
a. If you replaced a mirrored disk, reestablish the volume mirror by entering
lvextend -m 1 vg_name pv_path
Repeat for each logical volume.
b. If you replaced a nonmirrored disk, restore the missing data from your
backup archives (if available). See the Managing Systems and
Workgroups (B2355-90157) for instructions on how to restore data.
11. Restore any volumes that were disabled by the failure. See the Managing
Systems and Workgroups (B2355-90157) for more information.
Replacing an Online Disk Drive
Use the following procedure to replace an online disk drive:
1. Log in as root.
2. Determine the location and state of the disk you are replacing by entering the
following commands:
ioscan -fn -C disk
ftsmaint ls hw_path
hw_path is the hardware path to the disk. Check the H/W Path, State, and
Status columns. See the “Administering Fault Tolerant Hardware” chapter
in the HP-UX Operating System: Fault Tolerant System Administration (R1004H)
for a description of the possible states. (There is substantial overlap between
the ftsmaint and ioscan commands, but the ftsmaint command does not
include the device file names and the ioscan command does not include the
Status information.)
3. Determine whether you are replacing a mirrored or nonmirrored LVM disk as
follows:
a. To determine the volume paths, enter
vgdisplay -v
Logical volume path names are in the LV Name fields. (The volume group
path name is in the VG Name field.)
Kommentare zu diesen Handbüchern