Operating System - HP-UX
1748159 Members
3893 Online
108758 Solutions
New Discussion

Splitting vg00's lvols and disk order

 
tsunix-pdm-1
Advisor

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,

2 REPLIES 2
Matti_Kurkela
Honored Contributor

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
tsunix-pdm-1
Advisor

Re: Splitting vg00's lvols and disk order

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,