System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to make sure OS mirror configured

 
SOLVED
Go to solution
mw.kim
Occasional Contributor

How to make sure OS mirror configured

Could you show me the answer?

There are Too many disks
I need to find OS cofigured layouts
7 REPLIES
Vijaykumar_1
Valued Contributor
Solution

Re: How to make sure OS mirror configured

You can check with lvlnboot -v command, as it displays the root,boot and swap configured on the server..

lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0s2 (0/0/0/2/0.6.0) -- Boot Disk
/dev/dsk/c2t6d0s2 (0/0/0/3/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0s2
/dev/dsk/c2t6d0s2
Root: lvol3 on: /dev/dsk/c0t6d0s2
/dev/dsk/c2t6d0s2
Swap: lvol2 on: /dev/dsk/c0t6d0s2
/dev/dsk/c2t6d0s2
Dump: lvol11_0 on: /dev/dsk/c0t6d0s2, 0
Dump: lvol11_2 on: /dev/dsk/c2t6d0s2, 1

Also you can verify with lvdisplay command..

mirror copies=1

LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
mw.kim
Occasional Contributor

Re: How to make sure OS mirror configured

Thank you really appreciate that..

Is not also configured when I execute lvdisplay /dev/vg_name/lvol_name , it dose display mirror copies = 0 ?
SoorajCleris
Honored Contributor

Re: How to make sure OS mirror configured

Hi,

It will show you mirror copies zero.

You can check the with lvdisplay -v also. If you see two physiscal extents there. It means it is mirrored. else no.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
SoorajCleris
Honored Contributor

Re: How to make sure OS mirror configured

For example

[hpa50-11]/ >lvdisplay /dev/vg00/lvol1
--- 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) 300
Current LE 75
Allocated PE 75
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default


Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Lijeesh N G_1
Respected Contributor

Re: How to make sure OS mirror configured

Hi,

Is not also configured when I execute lvdisplay /dev/vg_name/lvol_name ,
it dose display mirror copies = 0 ?

==>If it is "0" means,the specified logical volume is not mirrored.
==>If it is "1 or more" means,the specified logical volume is mirrored.
If it is 1 means, the LV has one copy of mirror, if it is it has two mirror copies.

Regards,
LIJEESH N G
Lijeesh N G_1
Respected Contributor

Re: How to make sure OS mirror configured

Typo,

If it is "2" means , it has two mirror copies.
Lijeesh N G_1
Respected Contributor

Re: How to make sure OS mirror configured

Hi,

Example for 1 mirror copy,

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

Regards,
LIJEESH N G