Operating System - HP-UX
1833777 Members
1816 Online
110063 Solutions
New Discussion

Mirroring lv on SAM problem

 
SOLVED
Go to solution
A.K.
Frequent Advisor

Mirroring lv on SAM problem

Hi guys,
I install the MirrorDisk/UX B.11.00 on my machine (R Class)
When I try mirroring logical volume from the prompt with vgextend ???m 1
pvcreate -B -f /dev/rdsk/xyz
mkboot /dev/rdsk/xyz mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/xyz
vgextend /dev/vg00 /dev/dsk/xyz
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/xyz

It is working fine

When I enter SAM and try to mirror logical volume
=>Disks and File system
=>Logical volume
=>Action
I don???t have in the action menu the option ???Change Number of Mirror Copy???

Any idea anyone why this is happening?

Thanks,
6 REPLIES 6
John Carr_2
Honored Contributor

Re: Mirroring lv on SAM problem

I think you have forgoten to select a logical volume before clicking the pull down menu

cheers
John.
James R. Ferguson
Acclaimed Contributor

Re: Mirroring lv on SAM problem

Hi:

Select a logical volume and *then* click 'action'. I think you will see the offering you want.

I personally find SAM entirely too cumbersome and slow for the subset of LVM maintenance it offers. For instance, SAM doesn't provide the ability to configure distributed extents, etc. Since you appear to be confortable with commandline syntax, I'd skip SAM entirely, here.

Regards!

...JRF...
A.K.
Frequent Advisor

Re: Mirroring lv on SAM problem

No I didn't forgot
I click on the desirable lv
But no ???Change Number of Mirror Copy??? option appear


Amir
Helen French
Honored Contributor

Re: Mirroring lv on SAM problem

Hi Amir,

Select the desired LV before going to Actions menu. Also, there is no '-m 1' option with vgextend; you have to use it with lvextend.

I would suggest you to do this from command line instead of using SAM. Also apply all latest SAM patches.

HTH,
Shiju
Life is a promise, fulfill it!
John Carr_2
Honored Contributor

Re: Mirroring lv on SAM problem

HI

as JRF said sam is not the best option.

find attached my litle script for mirroring it might save you some typing if you edit as appropiate.

cheers
John.
S.K. Chan
Honored Contributor
Solution

Re: Mirroring lv on SAM problem

Sometimes SAM can be a pain to deal with. In your case what you can do it try running ..

# swconfig LVM.MIRROR-RUN

No harm will be done by doing this. It'll probably say filesets are already configured and skipped to the execution phase. After that try running SAM again and see if the mirroring option is there. If not I think patches are in order, SAM cumulative ?