1748286 Members
3303 Online
108761 Solutions
New Discussion юеВ

Re: lvextend -m fails

 
SOLVED
Go to solution
Sigma
Advisor

lvextend -m fails

Hello all,
I'm attempting to mirror the root disk, see below.

pvcreate -B /dev/rdsk/c2t2d0
vgextend /dev/vg00/ /dev/dsk/c2t2d0
mkboot /dev/rdsk/c2t2d0
mkboot -a "hpux -lq" /dev/rdsk/c2t2d0
mkboot -a "hpux -lq" /dev/rdsk/c1t0d0

lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t2d0
Usage: lvextend
"m" Illegal option

Any idea as to what's going on here? Already done a vgscan.

Thanks for your help.
Steve
7 REPLIES 7
Uday_S_Ankolekar
Honored Contributor
Solution

Re: lvextend -m fails

Do you have mirror/ux software installed in your server ??

swlist will show you this

-USA..
Good Luck..
John Poff
Honored Contributor

Re: lvextend -m fails

Hi,

Do you have the MirrorDisk/UX software installed on this system?

This is from the man page for lvextend:

The -m option is only meaningful if the optional HP MirrorDisk/UX
software has been installed on the system.


JP
Patrick Wallek
Honored Contributor

Re: lvextend -m fails

As said above, you MUST have the MirrorDisk/UX product installed. This is NOT a free product. It MUST be purchased.

More information on MirrorDisk/UX here:
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B2491BA
Bharat Katkar
Honored Contributor

Re: lvextend -m fails

Steve,

#swlist | grep Mirror

Does that show you MirrorDISK/UX software installed?

Regards,
You need to know a lot to actually know how little you know
Sigma
Advisor

Re: lvextend -m fails

No I do not, thanks for the quick responses.
Hoang Chi Cong_1
Honored Contributor

Re: lvextend -m fails

Hi everybody.
I have an question: Actually my system support Disk Mirror. When I using lvdisplay command, the result is:
lvdisplay /dev/vg00/lvol1
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 304
Current LE 38
Allocated PE 76
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default

But when I check with swlist command, nothing comes back!
Any idea?

Thanks.
Looking for a special chance.......
Matthew Pegge_1
Frequent Advisor

Re: lvextend -m fails

Have you overwritten you lvchange file with a copy from a system without mirror disk installed? This would disable the -m option of lvextend.