Operating System - HP-UX
1829118 Members
1791 Online
109986 Solutions
New Discussion

extending volume group that contains mirrored pv

 
SOLVED
Go to solution
H S Z
Regular Advisor

extending volume group that contains mirrored pv

hi gurus,
i have a cluster of rp3440 of 2 node a hp fiber disk system.
cluster is running fine.
i have now to extend the volume group shared.
i have now physically installed the drives into the shelf and can see them all with device file when i do ioscan -fnC disk.
find attached please the output of vgdisplay of the volume group shared.
please give me procedure to extend the vg, the lv and the file system.
thanks
2 REPLIES 2
Hein van den Heuvel
Honored Contributor

Re: extending volume group that contains mirrored pv

Google for: +"Physical volume groups" +mirror

Find:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1036407

Read carefully

Check Man pages

execute!

Good luck,
Hein.
MHudec
Frequent Advisor
Solution

Re: extending volume group that contains mirrored pv

#pvcreate /dev/dsk/...

Initialize disks for use in lvm.

#vgextend -g PVG0 /dev/vgsmp /dev/dsk/...
#vgextend -g PVG1 /dev/vgsmp /dev/dsk/...

By this you will extend the respective pvg with named disks. See /etc/lvmpvg for changes.

What does lvdisplay -v /dev/vgsmp/lvsmp | more says (first lines of output till logical extents mapping)? See allocation, mirroring etc. Then we will continue with lvextend and fsadm (provided you have onlinejfs installed).