1752590 Members
4267 Online
108788 Solutions
New Discussion юеВ

Re: mirror disks

 
SOLVED
Go to solution
Sami Aqel
Occasional Advisor

mirror disks

How can i be sure that data is written on both mirrored disks ?

What commands are used to know the bootable disk(s)? and wether it is right configured or not.
5 REPLIES 5
Sanjay Kumar Suri
Honored Contributor

Re: mirror disks

#lvlnboot -v

Above command is for finding out mirror boot disks.

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Ranjith_5
Honored Contributor
Solution

Re: mirror disks

Hi Sami,


I.)
==========

#lvdisplay /dev/vgxx/ will give you the following output.

G Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 10239
VGDA 2
PE Size (Mbytes) 4
Total PE 10238
Alloc PE 10238
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use


In this if you have any mirror copies you can see that value of mirror copyies is >0. If it is showing 1 there is a mirror copy , if the value is 2 there are 2 mirror copies of this disk. You can also see the lv is lying on which all pvs.
=====================================================================
II.)
======
#lvlnboot -R /dev/vg00 - Ensure BDRA and LIFs are Sync'ed

#lvlnboot -v /dev/vg00 - Veryfy BDRA configuration


Ranjith_5
Honored Contributor

Re: mirror disks

Correction from last post. 0 points for this:-
===================

In this if you have any mirror copies you can see that value of mirror copies is >0. If it is showing 1 there is a mirror copy , if the value is 2 there are 2 mirror copies of that volume. You can also see the lv is lying on which all pvs

regards,
Syam
Bharat Katkar
Honored Contributor

Re: mirror disks

Hi,

1. # lvlnboot -v
For looking out Boot Disk
2. # lvdisplay /dev/vg00/lvol3 | grep Mirror | awk '{ print $2 }'

If this returns 0 then no mirror copies otherwise the number indicates the mirror copies.


Hope that helps.
Regards,

You need to know a lot to actually know how little you know
Sami Aqel
Occasional Advisor

Re: mirror disks

Thanks