1753767 Members
5702 Online
108799 Solutions
New Discussion юеВ

mirroring in hp-ux

 
Ajin_1
Valued Contributor

mirroring in hp-ux

Dear Sir

how to mirror a logical volume in hp-ux

Please help.

Regards

AJN

Thanks & Regards
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor

Re: mirroring in hp-ux

Hi:

See the 'lvextend' manpages --- the '-m' option.

Regards!

...JRF...
Berd
Trusted Contributor

Re: mirroring in hp-ux

Hi AJN,

Example below

Mirror a logical volume onto a particular physical volume.

lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t3d0

Berd
Johnson Punniyalingam
Honored Contributor

Re: mirroring in hp-ux

>>how to mirror a logical volume in hp-ux<<

Step 1:- Check if you HPUX/Mirror Installed. than only you try to mirror logical volume in HPUX

# swlist -l product |grep -i Mirror

Very Good. Good Examples are give in "man lvextend" as mentioned by >>JRF<<

man lvextend

add the by below command to "volume group" if you already add the disk, skip below "vgextend" stright away proceed with "lvextend"

# vgextend /dev/vgname /dev/dsk/cxtxdx

# lvextend -m 1 /dev/vgname/lvname /dev/dsk/cxtxdx

(pls take note you do lvextend for lvol's residing under "volume group" eg. lvol 1, 2,3,4 ... etc
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: mirroring in hp-ux

Also please refer to "HP offical" documents "prepared" steps /procedure to Mirror disks

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Problems are common to all, but attitude makes the difference
Steven E. Protter
Exalted Contributor

Re: mirroring in hp-ux

Shalom,

First run a hardware reality check.

Most rx class HP-UX systems have hardware raid and you don't need to mirror.

To mirror LVM you need to have mirror-ux installed.

The process is as noted above
lvextend -L
lvextend -m 1
extendfs/fsadm

fsadm extension requires OnlineJFS another paid add in program to HP-UX.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sp4admin
Trusted Contributor

Re: mirroring in hp-ux

Looks like you have the answer. One more thing is if you havd SAS controller you can mirror the hard drive at the hardware level.

sp,