Operating System - HP-UX
1848132 Members
8864 Online
104022 Solutions
New Discussion

Re: whats wrong with this cmd ?

 
gary guo
Contributor

whats wrong with this cmd ?

LV Name /dev/vg00/lvol10
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 500
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c0t5d0
PV Status available
Total PE 2169
Free PE 0

PV Name /dev/dsk/c0t8d0
PV Status available
Total PE 2170
Free PE 958

i wanna build a mirror use the /dev/dsk/c0t8d0 ,so i use lvextend cmd, but some thing wrong ,and i dont know what does the message mean :
lvextend -m 1 /dev/vg00/lvol10 /dev/dsk/c0t8d0
Usage: lvextend
[-A Autobackup]
{-l LogicalExtentsNumber |
-L LogicalVolumeSize}
LogicalVolumePath [ PhysicalVolumePath... | PhysicalVolumeGroupName... ]
"m": Illegal option.
5 REPLIES 5
Rainer von Bongartz
Honored Contributor

Re: whats wrong with this cmd ?


Looks like you are missing MirrorDisk

Mirrored disk operations require the installation of the optional HP MirrorDisk/UX software, which is not included in the standard HP-UX operating system.


Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
David_246
Trusted Contributor

Re: whats wrong with this cmd ?

Hi,

You can also see that it doesn't like the -m option. That's why is tells you the usage. The last line even tells you, you used an illegal option.

I'd not expected to not even know the -m option if you don't have mirrordisk installed, but the truth is very hard.

Regs David
@yourservice
T G Manikandan
Honored Contributor

Re: whats wrong with this cmd ?

#swlist |grep -i mirrordisk

should not return anything.
You need that software for mirroring
T G Manikandan
Honored Contributor

Re: whats wrong with this cmd ?

#swlist |grep -i mirrordisk

should not return anything (in your case) which means the software is not installed
You need that software for mirroring
Michael Duthie
Trusted Contributor

Re: whats wrong with this cmd ?

Gary,

If you don't have the license go to www.software.hp.com


product #: B2491BA
version: -
software specification: Server, HP-UX11.00
Server, HP-UX11.11
price: $1017.00 Per Processor License