Operating System - HP-UX
1834435 Members
2202 Online
110067 Solutions
New Discussion

Re: Mirror Disk UX - Unavailable options

 
Paul O'Brien
Frequent Advisor

Mirror Disk UX - Unavailable options

Hi all,

I have a K Class running 10.20 it was installed with Mirror disk UX and mirroring was enabled for some raw data logical volumes to the root disk. The root/boot disk died and we got a new disk and reinstalled the applications and software except for Mirror Disk. The existing disk volumes were reimported but they report in sam that they are still mirrored. I installed Mirror Disk but I do not have the option to mirror a volume.

Is it possible to break the non existant mirror of the data volumes without the chance of damaging the data on the disks so that I can uninstall then reinstall Mirror Disk and hope that I then get the Mirror option.

Regards,

Paul
7 REPLIES 7
Andreas Voss
Honored Contributor

Re: Mirror Disk UX - Unavailable options

Hi,

try lvreduce ie:

lvreduce -m 0 /dev/vgXX/lvolX /dev/dsk/cXtXd0

Regards
Sanjay_6
Honored Contributor

Re: Mirror Disk UX - Unavailable options

Hi,

you can "lvreduce -m 0" to break/reduce the mirroe, Do a "man lvreduce" for the details.

Hope this helps.

thanks
Paul O'Brien
Frequent Advisor

Re: Mirror Disk UX - Unavailable options

I have all the commands but I am worried that because the original disk is missing that some thing might go wrong with the live disk.

Regards,
James R. Ferguson
Acclaimed Contributor

Re: Mirror Disk UX - Unavailable options

Hi Paul:

You are always advised to have adequate recovery procedures when performing any type of maintenance. That said, the best insurance for your boot disk is an Ignite recovery tape.

I'd make an Ignite recovery tape with a current version of Ignite's 'make_tape_recovery' as your insurance. Mirroring is *not* preserved with Ignite anyway, ironically in this case.

You can use:

# make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn

Regards!

...JRF...
Mark van Hassel
Respected Contributor

Re: Mirror Disk UX - Unavailable options

When lvreduce does not work you could try the following:

umount all filesystems in the vg's
vgexport -m vg.map vgname
vgimport -m vg.map vgname [PV1] [PV2] ...
mount file systems

With the vgimport command only specify the physical volumes you want, i.e. not the ones that contain the mirrors.

HtH
The surest sign that life exists elsewhere in the universe is that none of it has tried to contact us
Wodisch
Honored Contributor

Re: Mirror Disk UX - Unavailable options

Hello Paul,

as long as your "surving" disk is not damaged
(and I mean in overwriting some files), then
why not just re-mirror to the *new* one?
Use "vgcfgrestore" to copy the *broken* disk's
PV- and VG-headers to it, and issue a simple
"vgsync". Then watch your "vgdisplay -v" for
the LVs becoming sync'd instead of staying
"stale"...

Just my ?0.02,
Wodisch
Wim Rombauts
Honored Contributor

Re: Mirror Disk UX - Unavailable options

If you have MirrorDisk, why don't you mirror the root/boot disk ? That is a serious protection against failure of that disk and you wouldn't have to do any reinstallation. I could have saved you a whole lot of trouble.