1847087 Members
5551 Online
110262 Solutions
New Discussion

Mirror..

 
SOLVED
Go to solution
Veronica Chavez_1
Occasional Advisor

Mirror..

Hi,
My system was crash and I recovery with Ignite, both I don't know if the disk continue mirrored. Ignite backup was only of essencial files

$ make_recovery

without some parameter

How can I know if the disks were mirrored??

Thanks all for your help!!
10 REPLIES 10
Michael_356
Frequent Advisor
Solution

Re: Mirror..

Hi there,

if you do a
vgdisplay -v vg00
you can see the LV Status with available/syncd, then your logigal volume is mirrored

Regards

Michael
Uday_S_Ankolekar
Honored Contributor

Re: Mirror..

lvdisplay command would show it
For exapmple lvdisplay -v /dev/vg00/lvol1 will show you Mirror Copies and the details of primary and secondary disks.

If you see 0 infornt of Mirror copies then there are no mirror copies.

-USA..
Good Luck..
Pete Randall
Outstanding Contributor

Re: Mirror..

Are you saying that the system was mirrored and you recovered from an Ignite backup? I would have thought you would rather boot ofr the mirrors, then fix the original disks and re-sync the mirrors.


Pete

Pete
Pete Randall
Outstanding Contributor

Re: Mirror..

And I should have added that an Ignite recovery does not re-establish your mirror setup - you need to do that yourself.


Pete

Pete
Veronica Chavez_1
Occasional Advisor

Re: Mirror..

I'am confused,

1. If I do a
vgdisplay -v vg00, I can see LV Status with available/syncd, but

if i do a
lvdisplay -v /dev/vg02/lvol1 I see Mirror copies with 0, then, is the disk mirrored?

2. When i do backup with
make_recovery without some parameter, Am i backup all configuration (including mirror)?

what is the diference with
make_recovery -A -v

Thanks all


Patrick Wallek
Honored Contributor

Re: Mirror..

If the "mirror copies" is 0 in the lvdisplay the NO you are not mirrored.

There is no way for Ignite to back up the mirroring. That has to be redone after your Ignite restore.

If you do not use the '-A' option to make_recovery then the you will only get the "essential" files from VG00. The -A will tell make_recovery to take the whole VG00.

The man page explains everything quite well.

# man make_recovery

By the way, you should really be using the newer make_tape_recovery command.

# man make_tape_recovery
Veronica Chavez_1
Occasional Advisor

Re: Mirror..

Thanks all for your help!!!
Prashant Zanwar_4
Respected Contributor

Re: Mirror..

You may use make_tape_recovery like the below, just check which version of Ignite you are using doing swlist.

/opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -v -t "Recovery tape created on $(hostname) on $(date)"

For getting the mirrored information you may as above.

Thanks and rgdz
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Prashant Zanwar_4
Respected Contributor

Re: Mirror..

I am sorry about it. I have just picked up the question from discussion onwards, thats why answered like that. Still I am able to find some useful information which may help you.

The make_recovery tool will create a recovery tape for a system with mirrored disks but it will not restore the mirrored disk configuration. If the system is later recovered, previously mirrored
volumes will no longer be mirrored. They can be manually re-mirrored
after the system is up. Using make_recovery -p allows appending
commands to restore mirrored disks to be executed automatically after
the system has been restored. For more details, see the white paper
/opt/ignite/share/doc/diskmirror.pdf.

Hope the above helps you.

Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Julián Esteban Aimar
Occasional Advisor

Re: Mirror..

are you excecute $make_recovery -v -A?
-v is verbose mode, -A backup all files.
view mirrored, example:

$lvdisplay /dev//

--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 84
Current LE 21
Allocated PE 21
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default

you see Mirror copies.

Good luck.
(Julián from Argentin