Operating System - HP-UX
1752756 Members
4761 Online
108789 Solutions
New Discussion юеВ

Re: How to create a Striped Mirror logical volume

 
RSA
Advisor

Re: How to create a Striped Mirror logical volume

Wow!!! It's working.

The option must be activated:

export LVM_CONFIGURE=1; lvmadm -i LargeLVStripeMirror; krs_flush

Now everything is working:

lvcreate -L 90 -i 3 -I 64 -m 1 /dev/vg02

Warning: rounding up logical volume size to extent boundary at size "96" MB.

Logical volume "/dev/vg02/lvol1" has been successfully created with

character device "/dev/vg02/rlvol1".

Logical volume "/dev/vg02/lvol1" has been successfully extended.

Volume Group configuration for /dev/vg02 has been saved in /etc/lvmconf/vg02.conf



lvdisplay -v /dev/vg02/lvol1

--- Logical volumes ---

LV Name /dev/vg02/lvol1

VG Name /dev/vg02

LV Permission read/write

LV Status available/syncd

Mirror copies 1

Consistency Recovery MWC

Schedule striped

LV Size (Mbytes) 96

Current LE 3

Allocated PE 6

Stripes 3

Stripe Size (Kbytes) 64

Bad block on

Allocation strict

IO Timeout (Seconds) default



--- Distribution of logical volume ---

PV Name LE on PV PE on PV

/dev/dsk/c1t6d0 1 1

/dev/dsk/c1t5d0 1 1

/dev/dsk/c1t4d0 1 1

/dev/dsk/c2t6d0 1 1

/dev/dsk/c2t5d0 1 1

/dev/dsk/c2t4d0 1 1



--- Logical extents ---

LE PV1 PE1 Status 1 PV2 PE2 Status 2

00000 /dev/dsk/c1t6d0 00000 current /dev/dsk/c2t6d0 00000 current

00001 /dev/dsk/c1t5d0 00000 current /dev/dsk/c2t5d0 00000 current

00002 /dev/dsk/c1t4d0 00000 current /dev/dsk/c2t4d0 00000 current


Thanks to all
Ralph
Patrick Wallek
Honored Contributor

Re: How to create a Striped Mirror logical volume

What I was thinking was something like this:

lvcreate -L 100 -i 2 -I 64 -m 1 -s g /dev/vg02

Your LV would hopefully be created as a stripe across 2 disks, hopefully in one PVG and then mirrored to the other PVG.
James R. Ferguson
Acclaimed Contributor

Re: How to create a Striped Mirror logical volume

Hi (again) Ralph:

Very good! Where is the 'lvmadm' that you posted, documented? Did the response center offer this?

Regards!

...JRF...
RSA
Advisor

Re: How to create a Striped Mirror logical volume

Hi James.
Yes, the HP Support Center offered this additional information. It's not documented in the Patch description.

Ralph

Patrick Wallek
Honored Contributor

Re: How to create a Striped Mirror logical volume

Hopefully HP will update the patch documentation and list that in the "Special Installation Instructions" (or whatever that section is) so it is known.

That is a major oversight on HP's part.
RSA
Advisor

Re: How to create a Striped Mirror logical volume

After applying the following commands:

export LVM_CONFIGURE=1; lvmadm -i LargeLVStripeMirror; krs_flush

the creation of Raid10 / Raid01 logical volumes is possible with HP-UX 11.23 and the mentioned patch.