LVM and VxVM

specify the stripe LVM during cold installation

 
SOLVED
Go to solution
emily_3
Frequent Advisor

specify the stripe LVM during cold installation

Is it possible to specify the stripe LVM during cold installation by using the configuration file. If could what's the format to specify the stripe LVM in the configuration file?
14 REPLIES 14
Frederic Sevestre
Honored Contributor

Re: specify the stripe LVM during cold installation

Hi,

Do you mean you want to strippe the lv on vg00 ?

Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
David_246
Trusted Contributor

Re: specify the stripe LVM during cold installation

Hi Emily,

There is no support for striping vg00.
Sorry, you'dd better not try it.

This I thought because of the direct load of /stand/vmunix outside of LVM.

Best Regs David
@yourservice
emily_3
Frequent Advisor

Re: specify the stripe LVM during cold installation

My server only have 2 harddisk, so is it possible to creat a stripe LVM.
My thinking is I have to specify lovl1, lovl2,lvol3 in vg00 in the root disk, and these couldn't be stripe LVM. So could I join the 2th. harddisk to vg00, and specify the other LVM to be stripe LVM? Can part of LVM is stripe, and part of LVM is not stripe under the same VG?



Frederic Sevestre
Honored Contributor

Re: specify the stripe LVM during cold installation

Hi,

You should not strippe the vg00.
The best thing to do is to use the second disk to mirror the vg00.

Create the vg00 on the first disk, then :

#pvcreate -B /dev/rdsk/cxtydz (your second disk)
#mkboot /dev/rdsk/cxtydz
#mkboot -a "hpux -lq" /dev/rdsk/cxtydz
#vgextend vg00 /dev/dsk/cxtydz

then for each lv of vg00 :
# lvextend -m 1 /dev/vg00/lvolx /dev/dsk/cxtydz

Regards,
Fr??d??ric

Crime doesn't pay...does that mean that my job is a crime ?
emily_3
Frequent Advisor

Re: specify the stripe LVM during cold installation

Actually this server is our Ignite (IUX) server, the purpose i want to creat some stripe LVM is to speed the s/w loading by seperating the s/w depot in different harddisk.
So is there any better way to do this?
Frederic Sevestre
Honored Contributor

Re: specify the stripe LVM during cold installation

I am not sure that stripping your lv will increase performance.

Regards,
Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
Karthik S S
Honored Contributor

Re: specify the stripe LVM during cold installation

Hi,

Striping is required only when,
a. You need better read and write performance
b. Data is not critical

Since you want to improve the performance of IUX server, I think mirror disk alone can do the trick. Because, IUX server is read intensive. Network clients boot from the IUX server and read the install image to install the OS and is not write intensive. Hence, You can plan for Mirroring the Disk. Mirrordisk UX comes built-in with HP-UX 11.11 Mission Critical OE.

Regards,
Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Frederic Sevestre
Honored Contributor

Re: specify the stripe LVM during cold installation

You can create all vg00 logicals volumes on your first disk exept the depot's one. Then create the lv for the depot on the other disk :

Create vg00 and all lv on first disk.

# lvcreate lv_depot vg00
# lvextend -L /dev/vg00/lv_depot /dev/dsk/cxtydz (the second disk)
# newfs -F vxfs /dev/vg00/rlv_depot
Now the lv_depot is on the second disk.

Regards,
Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
emily_3
Frequent Advisor

Re: specify the stripe LVM during cold installation

hi techssk,

My understanding is since the IUX server is read intensive, so stripping should be able to have better performance. Why have to be both read and write intensive?
if my understanding is wrong, please correct me?