Hi
What i have is a volume group (vg01) which has no space available which is mirrored over two disks /dev/dsk/c5t9d0 and /dev/dsk/c7t9d0 which are both 18Gig.
Now i have a new disk available which is 36Gig and intend to use this to give me the required space.
Henece due to this is a mirror i require to add the new disk to this mirror.
The O/P from lvdisplay :-
--- Logical volumes ---
LV Name /dev/vg01/lvol12
VG Name /dev/vg01
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 17360
Current LE 4340
Allocated PE 8680
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c5t9d0 4340 4340
/dev/dsk/c7t9d0 4340 4340
Can any one advise me on the best practice to complete this..
My Options
1. pvcreate -B /dev/rdsk/<New Disk>
2. mkboot -l /dev/rdsk/<New Disk>
3. mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/<New Disk>
4. vgextend /dev/vg00 /dev/dsk/<New Disk>
5. lvextend -m 2 /dev/vg00/lvol6 /dev/dsk/<new disk>
6. lvlnboot -r
7. lvlnboot -s
8. lvlnboot -R
9. lvlnboot -v
10. vgcfgbackup /dev/vg00
Simon Peter Wickham
Email: s.wickham@zoom.co.uk
What i have is a volume group (vg01) which has no space available which is mirrored over two disks /dev/dsk/c5t9d0 and /dev/dsk/c7t9d0 which are both 18Gig.
Now i have a new disk available which is 36Gig and intend to use this to give me the required space.
Henece due to this is a mirror i require to add the new disk to this mirror.
The O/P from lvdisplay :-
--- Logical volumes ---
LV Name /dev/vg01/lvol12
VG Name /dev/vg01
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 17360
Current LE 4340
Allocated PE 8680
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c5t9d0 4340 4340
/dev/dsk/c7t9d0 4340 4340
Can any one advise me on the best practice to complete this..
My Options
1. pvcreate -B /dev/rdsk/<New Disk>
2. mkboot -l /dev/rdsk/<New Disk>
3. mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/<New Disk>
4. vgextend /dev/vg00 /dev/dsk/<New Disk>
5. lvextend -m 2 /dev/vg00/lvol6 /dev/dsk/<new disk>
6. lvlnboot -r
7. lvlnboot -s
8. lvlnboot -R
9. lvlnboot -v
10. vgcfgbackup /dev/vg00
Simon Peter Wickham
Email: s.wickham@zoom.co.uk