Operating System - HP-UX
1837970 Members
2691 Online
110124 Solutions
New Discussion

Re: about the status of lv

 
SOLVED
Go to solution
leyearn
Regular Advisor

about the status of lv

os version 11i v1
sg version OPS 11.14
we created some lvs on VGORA (which is shared by two oracle instances)
now I want to add lv into oracle
but when i lvdisplay the lv(/dev/vgora/app39) which is not added into oracle
Consistency Recovery MWC
Bad block on
I displayed the lv(/dev/vgora/app38)
Consistency Recovery NMWC
Bad block off

the two are different on status
does it has something with added into oracle or not?
is there something wrong with the lv (which is not added into oracle)?
thanks!

5 REPLIES 5
leyearn
Regular Advisor

Re: about the status of lv

#lvdisplay /dev/vgora/app39
--- Logical volumes ---
LV Name /dev/vgora/app39
VG Name /dev/vgora
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
# lvdisplay /dev/vgora/app38
--- Logical volumes ---
LV Name /dev/vgora/app09
VG Name /dev/vgora
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery NOMWC
Schedule parallel
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict
IO Timeout (Seconds) default


Sridhar Bhaskarla
Honored Contributor

Re: about the status of lv

Hi,

When you created the LV, you didn't specify '-r n' option. Hence the bad block relocation is on by default.

On external stroages like EMC/XP etc., that are intelligent, it is recommended to turn-off bad block relocation. You can do it even after creating the logical volume. Run the command

lvchange -r n /dev/vgora/app39

and then try 'lvdisplay'.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
leyearn
Regular Advisor

Re: about the status of lv

our disk System is Fc10
the defualt setting(when we create the lv) is :

Consistency Recovery MWC
Bad block on


OR


Consistency Recovery NMWC
Bad block off

Sridhar Bhaskarla
Honored Contributor
Solution

Re: about the status of lv

Hi,

I do not believe FC10 does bad block relocation by itself. So, you would need to leave it default on the LVM side. Case is different on EMC or XP. EMC in particular recommends to turn it off for their storage arrays.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
leyearn
Regular Advisor

Re: about the status of lv

I added the app39 into oracle
and the two parameters of lv app39 become

Consistency Recovery NMWC
Bad block off