If the disk is hot swappable, remove the disk
1. # vgreduce -f /dev/vg00
This will remove the failed disk from vg00
2. # lvlnboot -R
3. Insert the new disk
4. # ioscan -fnC disk
5. # vgcfgrestore -n /dev/vg00 /dev/rdsk/<device file>
6. # mkboot /dev/rdsk/devicefile
7. # mkboot -a "hpux" /dev/rdsk/devicefile
8. # vgchange -a y /dev/vg00
9. # vgsync /dev/vg00
10. # lvlnboot -R
11. confirm with vgdisplay, lvdisplay, pvdisplay and lvlnboot.
=============================
If the disks are not hot swappable
1. Shutdown and get the disk replaced
2. boot in single-user mode
3. ioscan, find the device file
4. vgcfgrestore -n /dev/vg00 /dev/dsk/<dev-file>
5. mkboot /dev/rdsk/<dev-file>
6.mkboot -a "hpux" /dev/rdsk/<dev-file>
7.vgchange -a y /dev/vg00
8.vgsync /dev/vg00
9. Reboot in multi-user mode
1. # vgreduce -f /dev/vg00
This will remove the failed disk from vg00
2. # lvlnboot -R
3. Insert the new disk
4. # ioscan -fnC disk
5. # vgcfgrestore -n /dev/vg00 /dev/rdsk/<device file>
6. # mkboot /dev/rdsk/devicefile
7. # mkboot -a "hpux" /dev/rdsk/devicefile
8. # vgchange -a y /dev/vg00
9. # vgsync /dev/vg00
10. # lvlnboot -R
11. confirm with vgdisplay, lvdisplay, pvdisplay and lvlnboot.
=============================
If the disks are not hot swappable
1. Shutdown and get the disk replaced
2. boot in single-user mode
3. ioscan, find the device file
4. vgcfgrestore -n /dev/vg00 /dev/dsk/<dev-file>
5. mkboot /dev/rdsk/<dev-file>
6.mkboot -a "hpux" /dev/rdsk/<dev-file>
7.vgchange -a y /dev/vg00
8.vgsync /dev/vg00
9. Reboot in multi-user mode
1 Comments
How to check whether disk is hot swappable or not?
ReplyDelete