HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Steps for adding new disk in HP-UX 11.31

 
Shivkumar
Super Advisor

Steps for adding new disk in HP-UX 11.31

Hi,

What are steps for adding new disk in root volume group and non-root volume group ?

Thanks,
Shiv
2 REPLIES
vishnu.khandare
Respected Contributor

Re: Steps for adding new disk in HP-UX 11.31

Hi Shiv,
Its easy to add the new disk.
1)In Root volume group
U have to add the disk and mirror it.
Steps:
#pvcreate -fB /dev/rdisk/diskXX
#vgextend vg00 /dev/disk/diskX
# mkboot /dev/rdisk/diskX
# mkboot â a â hpux â lq(;0)/stand/vmunixâ /dev/rdisk/diskX
#lvextend â m 1 /dev/vg00/lvol1 /dev/disk/diskX
#lvextend â m 1 /dev/vg00/lvol2 /dev/disk/diskX
⠦⠦⠦⠦⠦..
#lvextend â m 1 /dev/vg00/lvol7 /dev/disk/diskX
#lvextend â m 1 /dev/vg00/lvol8/dev/disk/diskX
#vgdisplay â v vg00
#lvdisplay â v /dev/vg00/lvol1
#lvlnboot â R
#setboot -a hardware_path of added disk

Verify the setbboot by
#lvlnboot â v

# setboot

2)For non root volume group
#pvcreate -f /dev/rdisk/diskX
#vgextend vg0X /dev/disk/diskX

Hope this solves ur query.
Don't forget to assign points.

Regards
Vishnu Khandare
You should deserve before U desire!!!!
Victor Fridyev
Honored Contributor

Re: Steps for adding new disk in HP-UX 11.31

There is not any difference between adding a disk to root and non-root VG, if one does not intend to build Mirroring.
But, IMHO, if you don't build mirroring, it's a bad idea to extend VG00 with additional disk, because you increase a possibility of the VG failure.
Entities are not to be multiplied beyond necessity - RTFM