1833059 Members
2770 Online
110049 Solutions
New Discussion

lvextend -m 1 failing

 
Venkat_11
Regular Advisor

lvextend -m 1 failing

When i am trying to mirror the root disk by using the following commands i am getting the following errors.

# lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t1d0
Usage: lvextend
[-A Autobackup]
{-l LogicalExtentsNumber |
-L LogicalVolumeSize}
LogicalVolumePath [ PhysicalVolumePath... | PhysicalVolumeGroupName... ]
"m": Illegal option.
Can any body advice me why its ending like this.
Thanks

Venkat
15 REPLIES 15
James R. Ferguson
Acclaimed Contributor

Re: lvextend -m 1 failing

Hi Venkat:

I suspect that you do not have a MirrorDisk/UX licence. Check with:

# swlist -l fileset|grep -i mirror

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: lvextend -m 1 failing

It sounds like you don't have the MirrorDisk/UX product installed. Check with "swlist -l product |grep -i mirror". You should see something like:
# swlist -l fileset |grep -i mirror
LVM.LVM-MIRROR-RUN B.11.11 LVM-MIRROR-RUN


Pete

Pete
Peter Godron
Honored Contributor

Re: lvextend -m 1 failing

Venkat,
I would use sam to perform these operations.
Also:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
Lolupee
Regular Advisor

Re: lvextend -m 1 failing

Are you sure you have mirrordisk-UX software? Please, check from

swlist -l fileset |grep -i mirror

to confirm if this is in your system.

If it is then, what o/s are we talking about so that we could have a better discussion.
Ajitkumar Rane
Trusted Contributor

Re: lvextend -m 1 failing

Venkat,

You need to have the Mirror Disk UX product installed on your system. You need to purchase this product.

Rgds,

Ajit
Amidsts difficulties lie opportunities
HGN
Honored Contributor

Re: lvextend -m 1 failing

Hi

You need to have mirror-ux installed, you check like this

#swlist -l fileset|grep -i mirror
LVM.LVM-MIRROR-RUN B.11.11 LVM-MIRROR-RUN
PHCO_30698.LVM-MIRROR-RUN 1.0 LVM.LVM-MIRROR-RUN

Rgds

HGN
Nguyen Anh Tien
Honored Contributor

Re: lvextend -m 1 failing

I am sure that Mirror Disk UX product is not installed on your system.
You need to purchase this product then install it on your server
HP is simple
Venkat_11
Regular Advisor

Re: lvextend -m 1 failing

If i installed Mirror Disk UX product does the system required reboot?? and can any one send the installation procedure for Mirror Disk UX product. I am running HPUX 11i.

Thanks a lot for all people who ever responced.

Venkat
MarkSyder
Honored Contributor

Re: lvextend -m 1 failing

Yes, installing MirrorDisk causes a reboot.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
melvyn burnard
Honored Contributor

Re: lvextend -m 1 failing

use swinstall to install MirrorDisk/UX
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Indrajit_1
Valued Contributor

Re: lvextend -m 1 failing

Hi;

Please check if mirror package is installed.

#swlist -l product |grep -i mirror

if is installed.. check the following command before u perform any mirror operation.

#lvdisplay -v /dev/vg00/lvol3

see the output carefully. also check the physical disk used by the file system.

#vgdisplay -v vg00

check if u have enough free space available in target disk(/dev/dsk/c2t1d0)

Hope this will help u to resolve ur issue..

cheers
indrajit
Never Ever Give Up
Simon Wickham_6
Regular Advisor

Re: lvextend -m 1 failing

Hi,

If you are able to issue a lvchange â s g /dev/vg00/lvol1 to set the strict allocation policy but are unable to lvextend â m 1 /dev/vg00/lvol1 /dev/dsk/c1t2d0 this would point to me you do not have Mirror UX installed.

Regards,
Simon



Venkat_11
Regular Advisor

Re: lvextend -m 1 failing

Thanks for all the replies and i am going to install mirror disk on this server.

Venkat
Peter Godron
Honored Contributor

Re: lvextend -m 1 failing

Venkat,
as this problem is now resolved, could you please award points and close.
Venkat_11
Regular Advisor

Re: lvextend -m 1 failing

Thanks for all who given the valuable sugessions.