LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

Strange !! LVM mirroring issue ..

 
SOLVED
Go to solution
HP-UX_Ali
Regular Advisor

Strange !! LVM mirroring issue ..

Hello Experts,

Need your feed back for below issue.

scenario: I am unable to mirror rest of the lvs "eg : /dev/vg00/lvol10". when issuing the lvextend command, giving below error
lvextend -m 1 /dev/vg00/lvol10 /dev/dsk/c2t1d0
Usage: lvextend
[-A Autobackup]
{-l LogicalExtentsNumber |
-L LogicalVolumeSize}
LogicalVolumePath [ PhysicalVolumePath... | PhysicalVolumeGroupName... ]
"m": Illegal option.

NOTE: vgdisplay out put has been attached..

pls advice what is the issue.

root>for i in /dev/vg00/lvol*
> do
> echo "`lvdisplay $i |grep Mirror` --> $i"
> done
Mirror copies 1 --> /dev/vg00/lvol1
Mirror copies 0 --> /dev/vg00/lvol10
Mirror copies 0 --> /dev/vg00/lvol11
Mirror copies 0 --> /dev/vg00/lvol12
Mirror copies 1 --> /dev/vg00/lvol2
Mirror copies 1 --> /dev/vg00/lvol3
Mirror copies 1 --> /dev/vg00/lvol4
Mirror copies 1 --> /dev/vg00/lvol5
Mirror copies 1 --> /dev/vg00/lvol6
Mirror copies 1 --> /dev/vg00/lvol7
Mirror copies 1 --> /dev/vg00/lvol8
Mirror copies 0 --> /dev/vg00/lvol9
10 REPLIES 10

Re: Strange !! LVM mirroring issue ..

Has someone removed Mirrordisk/UX from this system?

What's the output of:

swlist | grep -i mirror


HTH

Duncan

Accept or Kudo
HP-UX_Ali
Regular Advisor

Re: Strange !! LVM mirroring issue ..

Hi
No the hard is placed

abd below is the out put

root>swlist | grep -i mirror
B2491BA B.11.23 MirrorDisk/UX (Server)

Regards,
P Arumugavel
Respected Contributor

Re: Strange !! LVM mirroring issue ..

hi,

Your syntax is absolute.
But I could suspect the installed MirrorDisk/UX got corrupted/problem.

Reinstalling the same could be expected.

Rgds...
HP-UX_Ali
Regular Advisor

Re: Strange !! LVM mirroring issue ..

Hello all

>>No the hard is placed

I mean to say, harddisk is placed and not removed anytime.

Pls advice on this...

Regards,
Torsten.
Acclaimed Contributor

Re: Strange !! LVM mirroring issue ..

Is it possible you booted from a backup kernel without mirroring support?

Reinstalling the mirroring product will likely help.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Uday_S_Ankolekar
Honored Contributor
Solution

Re: Strange !! LVM mirroring issue ..

If the MirrorDisk/UX bundle shows loaded and you still get the "-m: illegal
option" error, start by reinstalling the MirrorDisk/UX bundle using the
swinstall(1M) command. You will need to specify that this software
should be reinstalled even if it exist on the target.

Example Command: swinstall -x reinstall=true -x reinstall_files=true

NOTE: After reinstalling the MirrorDisk/UX bundle the LVM commands cumulative
patch should be re-applied as well. Use swlist -l product to see if the
LVM commands cumulative patch is applied on your system.
Good Luck..
Steven E. Protter
Exalted Contributor

Re: Strange !! LVM mirroring issue ..

Shalom Ali,

I agree with the assessment that mirror-ux needs to be reinstalled.

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
223848
Frequent Advisor

Re: Strange !! LVM mirroring issue ..

Hi,
I am also thinking the same problem, can you try to reinstall the Mirror Ux and try
HP-UX_Ali
Regular Advisor

Re: Strange !! LVM mirroring issue ..

Hi All thanks for the reply...

I too have to go with the same option, but 1 think is in question. while swinstall in preview mode and make reinstall = true give message "PHKL_31500 and other kernel patches cannot be reinstall"

ERROR: Reinstallation of PHKL_31500 is not supported unless included
in a full system reinstallation.
ERROR: The "checkinstall" script for "PHKL_31500" failed (exit code
"1"). The script location was
"/var/tmp/BAAa02307/catalog/PHKL_31500/pfiles/checkinstall".
* This script had errors and the execution of this product
cannot proceed until the problem is fixed.

Pls advice....

regards
Ali..