Splitting vg00's lvols and disk order (136 Views)
Reply
Advisor
tsunix-pdm-1
Posts: 23
Registered: ‎07-14-2011
Message 1 of 3 (136 Views)

Splitting vg00's lvols and disk order

Hi,

 

I have splitted vg00's logical volumes and then I noticed the current logical volumes reside in the alternate disk and the "b" lvols reside in the primary boot disk:

 

systemb:/:vgdisplay -v vg00| grep dev/disk

    PV Name /dev/disk/disk2_p2

    PV Name /dev/disk/disk7_p2

 

 

LV Name /dev/vg00/lvol9

VG Name /dev/vg00

--- Distribution of logical volume ---

PV Name LE on PV PE on PV

/dev/disk/disk7_p2 512 512 -

 

----------------------------------------------------

LV Name /dev/vg00/lvol9b

VG Name /dev/vg00

--- Distribution of logical volume---

PV Name LE on PV PE on PV

/dev/disk/disk2_p2 512 512

 

 

AFAIK, the splitting process should leave first disk (disk2_p2) with current lvols and mirrored disk (disk7_p2) with "b" lvols, shouldn't it?

 

Best Regards,

Honored Contributor
Matti_Kurkela
Posts: 6,271
Registered: ‎12-02-2001
Message 2 of 3 (132 Views)

Re: Splitting vg00's lvols and disk order

Looking at the lvsplit(1M) man page, if you want particular disks to become the "b" lvols, you should configure PVGs and specify the PVG you want to become the "b" lvols when splitting.

 

 

MK
Advisor
tsunix-pdm-1
Posts: 23
Registered: ‎07-14-2011
Message 3 of 3 (127 Views)

Re: Splitting vg00's lvols and disk order

[ Edited ]

yes, I know, but so far, everytime I have splitted vg00's lvols, the "b" ones went with the mirror-alternate boot disk, so I thought this was the default behaviour. I would like to know why this is happening in this way. How does "lvsplit" choose the pairs lvol-disk ?

 

Best Regards,

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.