Extend Mirrored logical volume

 
Nedved
Frequent Advisor

Extend Mirrored logical volume

HI,

In my database vg i am having a dblv for 100 GB.

The physical volumes are presented from 2 storage and both or mirrored.

From storage 1 - 2*50 GB disks
From storage 2 - 2*50 GB disks

My dblv size is 100 GB and mirrored with the second storage disks.
Now i need to increase the lvsize 200 GB so my storage presented 4 disks each 2 storages.

Please tell me how to extend the lv to the storage 1 disks and mirror that to the storage 2 disks. in my system online JFS product also installed.
5 REPLIES 5
Torsten.
Acclaimed Contributor

Re: Extend Mirrored logical volume

It would be helpful to know your OS version and the output of vgdisplay -v and lvdisplay -v of the items in question.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Nedved
Frequent Advisor

Re: Extend Mirrored logical volume

Currently i am out off office so i could not post that..

My os version is hpux v3

storage 1 disk device files.

1. /dev/disk/disk11 - dbvg
2. /dev/disk/disk12 - dbvg
3. /dev/disk/disk13
4. /dev/disk/disk14


storage 2 disk device files.

1. /dev/disk/disk231 - dbvg ( mirror )
2. /dev/disk/disk323 - dbvg ( mirror )
3. /dev/disk/disk233
4. /dev/disk/disk234

now i need to extend the dblv to /dev/disk/disk13 & 14 and mirror that to the 2nd storage disk233 and disk234.

Torsten.
Acclaimed Contributor

Re: Extend Mirrored logical volume

Question is if the lvol is striped or if there are some other specials - wait for your details.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Nedved
Frequent Advisor

Re: Extend Mirrored logical volume

lvdisplay /dev/dbvg/lvdb

--- Logical volumes ---
LV Name /dev/dbvg/lvdb
VG Name /dev/dbvg
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 101376
Current LE 3168
Allocated PE 3168
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default


Shibin_2
Honored Contributor

Re: Extend Mirrored logical volume

vgdisplay -v and lvdisplay -v please
Regards
Shibin