
Chapter 7
Removing and Replacing Components
Individual Component Remove/Replace Instructions
150
Hot Swap Software Procedure for Attached Physical Volumes
The following procedure is an example of how to recover from replacing a disk that was recognized as an
attached physical volume. Be sure that all the software procedures in the
Disk Drive Removal
section have
been completed prior to starting these steps. This example assumes that the disk was mirrored.
NOTE
HP often uses different manufacturers for disks, but assigns the same product number. The hot
swap manual procedure will not update disk driver internal information to that of the replaced
disk drive.
Step 1.
Perform an
ioscan
on the replaced disk drive to ensure that it is accessible (claimed), to double
check that it is a proper replacement, and that the device files are present. Refer to the above note.
For example:
# ioscan -fnC disk
Step 2.
Use the following procedure to mirror the root disk:
a.
Create the new physical volume using the
pvcreate
command.
For example:
# pvcreate -B /dev/rdsk/cXtXdX
b.
Extend the volume group to include the new physical volume using the
vgextend
command:
For example:
# vgextend /dev/vg00 /dev/dsk/cXtXdX
c.
The
mkboot
command must be run to make the device bootable.
For example:
# mkboot /dev/rdsk/cXtXdX
d.
Use the
mkboot
command again to add the HP-UX auto-file-string.
For example:
# mkboot -a “hpux” /dev/rdsk/cXtXdX
e.
Run
lvlnboot
with the following command:
# lvlnboot -R
f.
Run
lvextend
to put a mirror into the replaced disk drive. It may take several minutes to copy
the original copy of the data to the mirrored extents. The logical volume(s) will still be
accessible to user applications during this operation.
For example:
# lvextend -m 1 <LV name> /dev/dsk/cXtXdX
OR
# lvextend -m 2 <LV name> /dev/dsk/cXtXdX (for 3 way mirroring)
For example:
# lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/cXtXdX
OR
# lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/cXtXdX
Repeat this for each logical volume to be mirrored.
Verify that the mirror is bootable and AUTO file is correct.
For example:
# lifls -l /dev/rdsk/cXtXdX
OR
# lifcp /dev/rdsk/cXtXdX:AUTO -
Содержание L1000 - 9000 - 0 MB RAM
Страница 7: ...Contents vii Typical Installation Schedule 207 Site Inspection 208 Delivery Survey 212 ...
Страница 8: ...Contents viii ...
Страница 10: ...Tables x ...
Страница 12: ...Figures xii ...
Страница 14: ...xiv ...
Страница 16: ...Chapter 1 Server Overview 2 ...
Страница 17: ...Chapter 2 3 2 Server Unpacking and Installation ...
Страница 37: ...Chapter 3 23 3 Installing Additional Components ...
Страница 60: ...Chapter 3 Installing Additional Components Installing Disk Drives 46 ...
Страница 61: ...Chapter 4 47 4 Cable Connections ...
Страница 91: ...Chapter 5 77 5 Utilities ...
Страница 98: ...Chapter 5 Utilities Configuring the Rev B Guardian Service Processor GSP 84 ...
Страница 99: ...Chapter 6 85 6 Troubleshooting ...
Страница 134: ...Chapter 6 Troubleshooting Fan Power Supply and Disk LED States 120 ...
Страница 189: ...Appendix A 175 A Parts and Accessories ...
Страница 195: ...Appendix B 181 B System Specifications ...