1833757 Members
2901 Online
110063 Solutions
New Discussion

ilegal option. Why?

 
Víctor López Chávez
Occasional Contributor

ilegal option. Why?

# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t1d0s2
Usage: lvextend
[-A Autobackup]
{-l LogicalExtentsNumber |
-L LogicalVolumeSize}
LogicalVolumePath [ PhysicalVolumePath... | PhysicalVolumeGroupName... ]
"m": Illegal option.

Víctor Lóp
4 REPLIES 4
RAC_1
Honored Contributor

Re: ilegal option. Why?

Do you have mirrororing software installed??

swlist | grep -i mirror

Anil
There is no substitute to HARDWORK
A. Clay Stephenson
Acclaimed Contributor

Re: ilegal option. Why?

Two Problems:

/dev/dsk/c2t1d0s2 --> LVM is only intended to work with whole disks not disk slices (that would have to have been created on an earlier OS version)

-m is only available if you have purchased and installed the MirrorUX product.
If it ain't broke, I can fix that.
Sanjay_6
Honored Contributor

Re: ilegal option. Why?

Hi,

Looks like you do not have mirrorux installed on the system. Do a swlist to verify,

swlist |grep -i mirror

If this lists
B2491BA B.11.00 MirrorDisk/UX

It means you have mirrorus installed and the problem is something else. Else you need mirrorux installed on the server for -m option to work.

Hope this helps.

Regds

Re: ilegal option. Why?

Clay,

I expect he is working on an Itanium server where:

lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t1d0s2


Is perfectly valid, as LVM doesn't manage the EFI partitions...

As others have mentioned, sounds like you don't have MirrorDisk/UX installed.

HTH

Duncan

I am an HPE Employee
Accept or Kudo