mirroring failed

 
SOLVED
Go to solution
dhamodharan_1
Occasional Advisor

mirroring failed

Hi

I have made attempt to create boot mirror in my box, While creating the mirror for root volume system failed , Then i reduced other volumes but i cannt able to reduce the root volume , also let me know how to remove the lvmtab entry ?

Thanks in Advance
5 REPLIES 5
AwadheshPandey
Honored Contributor
Solution

Re: mirroring failed

pls post error details and see attached book for lvm.

Awadhesh
It's kind of fun to do the impossible
Ninad_1
Honored Contributor

Re: mirroring failed

Hi,

What command you are using to reduce the volumes ?
You can use
lvreduce -m 0 /dev/vg00/lvol3 (To reduce the mirror copies of the root vol)
You cannot directly remove lvmtab entry.
What does lvdisplay -v /dev/vg00/lvol3 show ?
What error is it giving when you try to reduce root volume ?

You may have to force the removal of mirror, but use this option carefully and ensure backups/ignite tapes. Also see man lvreduce.
lvreduce -m 0 -k /dev/vg00/lvol3 /dev/dsk/c1t0d0
(Assuming the mirrored volume you want to remove from the PV /dev/dsk/c1t0d0).

Hope this helps,
Ninad
Devesh Pant_1
Esteemed Contributor

Re: mirroring failed

Here is a document that I like and use for root mirroring
DP
Devesh Pant_1
Esteemed Contributor

Re: mirroring failed

If you have a host disk issue that you are not able to remove, take a look at Technical Knowledge Base document #LVMKBRC00006257

tanks
Devesh
Darrel Louis
Honored Contributor

Re: mirroring failed

Hi,

If you just run "vgexport , it will remove the disks from your /etc/lvmtab.

GoodLuck

Darrel