The entire process of the image on the root disk of HPUX 11.23 (below)

Source: Internet
Author: User
Tags syslog


 

9. Add the new partition to vg00.
Note: using "S2"
# Pvcreate-FB/dev/rdsk/c2t6d0s2
Physical Volume "/dev/rdsk/c2t6d0s2" has been successfully created.
# Vgextend vg00/dev/DSK/c2t6d0s2
Volume group "vg00" has been successfully extended.
Volume group configuration for/dev/vg00 has been saved in/etc/lvmconf/vg00.conf

10. mirror all logical volumes in vg00.
Note: using "S2"
# Lvextend-M 1/dev/vg00/lvol1/dev/DSK/c2t6d0s2
The newly allocated mirrors are now being synchronized. This operation will
Take some time. Please wait ....
Logical volume "/dev/vg00/lvol1" has been successfully extended.
Volume group configuration for/dev/vg00 has been saved in/etc/lvmconf/vg00.conf
# Lvextend-M 1/dev/vg00/lvol2/dev/DSK/c2t6d0s2
The newly allocated mirrors are now being synchronized. This operation will
Take some time. Please wait ....
Logical volume "/dev/vg00/lvol2" has been successfully extended.
Volume group configuration for/dev/vg00 has been saved in/etc/lvmconf/vg00.conf
# Lvextend-M 1/dev/vg00/lvol3/dev/DSK/c2t6d0s2
The newly allocated mirrors are now being synchronized. This operation will
Take some time. Please wait ....
Logical volume "/dev/vg00/lvol3" has been successfully extended.
Volume group configuration for/dev/vg00 has been saved in/etc/lvmconf/vg00.conf
# Lvextend-M 1/dev/vg00/lvol4/dev/DSK/c2t6d0s2
The newly allocated mirrors are now being synchronized. This operation will
Take some time. Please wait ....
Logical volume "/dev/vg00/lvol4" has been successfully extended.
Volume group configuration for/dev/vg00 has been saved in/etc/lvmconf/vg00.conf
# Lvextend-M 1/dev/vg00/lvol5/dev/DSK/c2t6d0s2
The newly allocated mirrors are now being synchronized. This operation will
Take some time. Please wait ....
Logical volume "/dev/vg00/lvol5" has been successfully extended.
Volume group configuration for/dev/vg00 has been saved in/etc/lvmconf/vg00.conf
# Lvextend-M 1/dev/vg00/lvol6/dev/DSK/c2t6d0s2
The newly allocated mirrors are now being synchronized. This operation will
Take some time. Please wait ....
Logical volume "/dev/vg00/lvol6" has been successfully extended.
Volume group configuration for/dev/vg00 has been saved in/etc/lvmconf/vg00.conf
# Lvextend-M 1/dev/vg00/lvol7/dev/DSK/c2t6d0s2
The newly allocated mirrors are now being synchronized. This operation will
Take some time. Please wait ....
Logical volume "/dev/vg00/lvol7" has been successfully extended.
Volume group configuration for/dev/vg00 has been saved in/etc/lvmconf/vg00.conf
# Lvextend-M 1/dev/vg00/lvol8/dev/DSK/c2t6d0s2
The newly allocated mirrors are now being synchronized. This operation will
Take some time. Please wait ....
Logical volume "/dev/vg00/lvol8" has been successfully extended.
Volume group configuration for/dev/vg00 has been saved in/etc/lvmconf/vg00.conf

11. Add the new disk to/STAND/bootconf.
Note: using "S2"
# Vi/STAND/bootconf
L/dev/DSK/c0t6d0s2
L/dev/DSK/c2t6d0s2


12. Verify that the new disk was added to vg00, And the LV's are in sync.
# Vgdisplay-V vg00
--- Volume groups ---
VG name/dev/vg00
VG write access read/write
VG status available
Max lv255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4356
Vgda 4
PE size (Mbytes) 32
Total PE 8692
Alloc PE 2330.
Free PE 6362
Total PVG 0
Total spare PVS 0
Total spare PVS in use 0

--- Logical volumes ---
LV name/dev/vg00/lvol1
LV status available/syncd
LV size (MB) 1792
Current le 56
Allocated PE 112.
Used PV 2

LV name/dev/vg00/lvol2
LV status available/syncd
LV size (MB) 8192
Current le 256
Allocated PE 512.
Used PV 2

LV name/dev/vg00/lvol3
LV status available/syncd
LV size (MB) 992
Current le 31
Allocated PE 62
Used PV 2

LV name/dev/vg00/lvol4
LV status available/syncd
LV size (MB) 512
Current le 16
Allocated PE 32
Used PV 2

LV name/dev/vg00/lvol5
LV status available/syncd
LV size (MB) 128
Current le 4
Allocated PE 8
Used PV 2

LV name/dev/vg00/lvol6
LV status available/syncd
LV size (MB) 9184
Current le 287
Allocated PE 574.
Used PV 2

LV name/dev/vg00/lvol7
LV status available/syncd
LV size (MB) 7776
Current le 243
Allocated PE 486.
Used PV 2

LV name/dev/vg00/lvol8
LV status available/syncd
LV size (MB) 8704
Current le 272
Allocated PE 544.
Used PV 2


--- Physical volumes ---
PV name/dev/DSK/c0t6d0s2
PV status available
Total PE 4346
Free PE 3181
Autoswitch on
Proactive polling on

PV name/dev/DSK/c2t6d0s2
PV status available
Total PE 4346
Free PE 3181
Autoswitch on
Proactive polling on

13. Verify that the bdra was updated properly. Take note of the HW paths
Step 14.
# Lvlnboot-V
Boot definitions for volume group/dev/vg00:
Physical volumes belonging in root volume group:
/Dev/DSK/c0t6d0s2 (0/0/0/2/0.6.0) -- boot disk
/Dev/DSK/c2t6d0s2 (0/0/0/3/0.6.0) -- boot disk
Boot: lvol1 on:/dev/DSK/c0t6d0s2
/Dev/DSK/c2t6d0s2
Root: lvol3 on:/dev/DSK/c0t6d0s2
/Dev/DSK/c2t6d0s2
Swap: lvol2 on:/dev/DSK/c0t6d0s2
/Dev/DSK/c2t6d0s2
Dump: lvol2 on:/dev/DSK/c0t6d0s2, 0

14. Add EFI primary and high availability boot path menu entries.
# Setboot-P 0/0/0/2/0.6.0
# Setboot-H 0/0/0/3/0.6.0
# Setboot-B on

15. Verify that the primary and mirror boot paths are configured properly.
# Setboot
Primary bootpath: 0/0/0/2/0.6.0
Ha alternate bootpath: 0/0/0/3/0.6.0
Alternate bootpath: 0/0/0/1/0

Autoboot is on (Enabled)

16. test the new mirror by booting off of it.
# Cd/
# Shutdown-ry 0

Shutdown program
05/14/08 17:19:51 eat
Broadcast message from root (console) Wed May 14 17:19:51... system being brought down now! ! !

# Grep "boot device"/var/adm/syslog. Log
Vmunix: boot device's HP-UX HW path is: 0/0/0/2/0.6.0

17. Change the boot sequence in order to boot from mirror Disk/dev/DSK/c2t6d0:
# Setboot-P 0/0/0/3/0.6.0
# Setboot-H 0/0/0/2/0.6.0
# Setboot-B on
# Setboot
Primary bootpath: 0/0/0/3/0.6.0
Ha alternate bootpath: 0/0/0/2/0.6.0
Alternate bootpath: 0/0/0/1/0
# Cd/
# Shutdown-ry 0

18. Verify which disk/kernel you booted from.
# Grep "boot device"/var/adm/syslog. Log
Vmunix: boot device's HP-UX HW path is: 0/0/0/3/0.6.0

 

 

Over

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.