Question about Mirror/UX (110 Views)
Reply
Advisor
S-un-B-ix-S
Posts: 41
Registered: ‎10-24-2005
Message 1 of 18 (110 Views)

Question about Mirror/UX

I have Mirror/UX installed on a rx8640 with 11.31. However, when I attempt to use -m option on lvextend, it tells me illegal option.

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


Checked that it installed.
root:/tmp->swlist -l product | grep -i mirror
LVM-MirrorDisk B.11.31 MirrorDisk/UX

Checked that is available in kernel.

root:/tmp->strings /stand/vmunix | grep -i mirror RAID 1+0 - Disk Mirroring RAID 5+1 - Mirrored RAID 5 MirrorDisk no fresh mirror

Any help would be appreciated.
Please use plain text.
Honored Contributor
Honored Contributor
TTr
Posts: 3,434
Registered: ‎01-22-2008
Message 2 of 18 (110 Views)

Re: Question about Mirror/UX

Do you have two disks in vg00? You should specify the PV with the lvextend command to indicate where to mirror lvol1.

vgdisplay -v /dev/vg00
I do not reply to forumers who 1) consistently don't assign points, 2) ask for step-by-step instructions for a topic but appear to have no IT experience and make no effort to learn. Some exceptions for newcomers and special topics.
Please use plain text.
Advisor
S-un-B-ix-S
Posts: 41
Registered: ‎10-24-2005
Message 3 of 18 (110 Views)

Re: Question about Mirror/UX

Yes, there are 2 physical disks in vg00.

--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4356
VGDA 4
PE Size (Mbytes) 32
Total PE 8694
Alloc PE 3962
Free PE 4732
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

....


--- Physical volumes ---
PV Name /dev/disk/disk616_p2
PV Status available
Total PE 4347
Free PE 385
Autoswitch On

PV Name /dev/dsk/c2t6d0s2
PV Status available
Total PE 4347
Free PE 4347
Autoswitch On
Please use plain text.
Advisor
S-un-B-ix-S
Posts: 41
Registered: ‎10-24-2005
Message 4 of 18 (110 Views)

Re: Question about Mirror/UX

:root:/opt/uniq->lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0s2
Usage: lvextend
[-A Autobackup]
{-l LogicalExtentsNumber |
-L LogicalVolumeSize}
LogicalVolumePath [ PhysicalVolumePath... | PhysicalVolumeGroupName... ]
"m": Illegal option.
Please use plain text.
Honored Contributor
Keith Bryson
Posts: 288
Registered: ‎06-04-2003
Message 5 of 18 (110 Views)

Re: Question about Mirror/UX

Hi

If you do a plain "swlist", do you see the following bundles (or something like these):


B2491BA B.11.31 MirrorDisk/UX (Server)

Base-VXFS B.11.31 Base VxFS File System 4.1 Bundle

for HP-UX

BaseLVM B.11.31.0909 Logical Volume Manager

All the best
Arse-cover at all costs
Please use plain text.
Honored Contributor
Johnson Punniyalingam
Posts: 2,246
Registered: ‎09-22-2008
Message 6 of 18 (110 Views)

Re: Question about Mirror/UX

How about trying using "smh" or SAM to mirror you logical volume

SMH -> f - Disks and File Systems-> l - Logical Volumes View or Manage Logical Volumes
Problems are common to all, but attitude makes the difference
Please use plain text.
Honored Contributor
johnsonpk
Posts: 361
Registered: ‎05-11-2008
Message 7 of 18 (110 Views)

Re: Question about Mirror/UX

I doubt , you have mirror ux installed?

Check mirror ux

# swlist -l fileset |grep -i mir

LVM.LVM-MIRROR-RUN B.11.23 LVM Mirror



rgds!
Johnson
Please use plain text.
Respected Contributor
Jupinder Bedi
Posts: 333
Registered: ‎01-14-2010
Message 8 of 18 (110 Views)

Re: Question about Mirror/UX

I am pretty sure that you dont have mirror software installed on it . on 11.31 output should be like as follows


LVM-MirrorDisk.LVM-MIRROR B.11.31 HP-UX sup
port for the MirrorDisk/UX

and also -m will disable if you dont have mirror software installed on the system and this is only error what you are getting
All things excellent are as difficult as they are rare
Please use plain text.
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 9 of 18 (110 Views)

Re: Question about Mirror/UX

Shalom,

Mirror-UX needs the Physical volum path you wish to mirror to. Always do your homework and set that path. Letting it decide, will lead to bad results.

This is a simple matter of not following basic command syntax.

lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c1t0d0

That is good syntax.

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
Please use plain text.
Honored Contributor
Johnson Punniyalingam
Posts: 2,246
Registered: ‎09-22-2008
Message 10 of 18 (110 Views)

Re: Question about Mirror/UX

always follow official documents from HP as mentioned below

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Problems are common to all, but attitude makes the difference
Please use plain text.
Honored Contributor
Patrick Wallek
Posts: 13,736
Registered: ‎06-21-2000
Message 11 of 18 (107 Views)

Re: Question about Mirror/UX

>>This is a simple matter of not following
>>basic command syntax.

No, it isn't. It is a matter of 'lvextend' not being aware of the '-m' option. It plainly says '"m": Illegal option.' If you notice the 'usage' statement it says nothing about the '-m' option.

It appears, as others have basically said, that Mirror/UX is not installed. Or maybe more accurately not COMPLETELY installed for some reason.

I would reinstall Mirror/UX at your first opportunity. I don't recall if it requires a reboot or not.

>>lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c1t0d0
>>That is good syntax.

That is true.
Please use plain text.
Acclaimed Contributor
James R. Ferguson
Posts: 21,184
Registered: ‎07-06-2000
Message 12 of 18 (107 Views)

Re: Question about Mirror/UX

Hi:

I'm in agreement with Patrick. You might try running a full 'swverify' to make sure that everything is in the state you think it is;

# swverify \*

Regards!

...JRF...
Please use plain text.
Trusted Contributor
SUDHAKAR_18
Posts: 292
Registered: ‎02-13-2008
Message 13 of 18 (107 Views)

Re: Question about Mirror/UX

Hi,

swlist -l fileset -a state |grep -v -e "#" -e "configured"

please run the above command & provide the output. Mirror disk may not installed properly.
Please use plain text.
Super Advisor
Super Advisor
AVV
Posts: 211
Registered: ‎03-23-2008
Message 14 of 18 (107 Views)

Re: Question about Mirror/UX

Hello,

Please check whether you had the Mirror UX software installed in your system. I assumes it is not there.

#swlist | grep -i mirror

and check with that.

If there is no Mirror UX , you have to install and reboot the server for building the new kernel and the mirroring.

Best of Luck
Please use plain text.
Super Advisor
dictum9
Posts: 1,126
Registered: ‎05-20-2005
Message 15 of 18 (107 Views)

Re: Question about Mirror/UX

If I run:

swlist -l product | grep -i mirr

Nothing shows up.

But look at this. Does that mean I have mirror-ux installed? This is 11.23.


#: swlist -l fileset |grep -i mir
LVM.LVM-MIRROR-RUN B.11.23 LVM Mirror
PHCO_34036.LVM-MIRROR-RUN 1.0 LVM.LVM-MIRROR-RUN
Please use plain text.
Advisor
bobsam
Posts: 13
Registered: ‎02-09-2010
Message 16 of 18 (107 Views)

Re: Question about Mirror/UX

hi S-un-B-ix-S ,

Like all i am also doubtou full that you are installed Mirror/UX properly,
Jest check it by
#swlist -l bundle
Mirror UX will come in the top. If it is installed properly then you can mirrored it by using #lvextend -m 1 (option), with out installing Mirror ux properly then you will not get -m option from lvextend,

Please confirm your first disk device file..


thanks,


Please use plain text.
Valued Contributor
Prasanth Thomas
Posts: 146
Registered: ‎06-19-2008
Message 17 of 18 (107 Views)

Re: Question about Mirror/UX

HI,

Please let me know is this issue resolved???

If not please share me the o/p f below command

# ioscan -m dsf
# strings /etc/lvmtab
#ls -ltr /dev/disk/*


Regards,
Prasanth Thomas.
Please use plain text.
Valued Contributor
Prasanth Thomas
Posts: 146
Registered: ‎06-19-2008
Message 18 of 18 (107 Views)

Re: Question about Mirror/UX

i am suspecting this issue with your second disk device file. You did not extend the VG properly for that please share the o/p which i have requested you earlier.

Regards,
PT.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation