1834478 Members
3517 Online
110067 Solutions
New Discussion

bbr

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

bbr

I saw this quote in a post that interests me.


"HPRC said bad block reolcation for EMC should NOT be set to OFF, but to NONE. This was our mistake. Its set to NONE now."


How can I verify what my setting is for bbr? Can I do this on the unix side or do I have to verify this on the EMC side? How would you do this?
UNIX IS GOOD
3 REPLIES 3
harry d brown jr
Honored Contributor
Solution

Re: bbr

Set and check it on the Unix side:

lvdisplay -v /dev/vg##/lvol#|grep "Bad block"

live free or die
harry
Live Free or Die
Alex Glennie
Honored Contributor

Re: bbr

a) Run lvdisplay on the lvol it should list Bad block on/none etc

To modify the Bad Block Relocation policy, use the lvchange command:

lvchange -r y - Turns Bad Block Relocation on
lvchange -r n - Turns Bad Block Relocation off
lvchange -r N - Turns Bad Block Relocation NONE

KBRC00010410 contains more details ...
John Poff
Honored Contributor

Re: bbr

Hi Robert,

I saw that post and I'm wondering about it too. We use EMC for storage and our EMC CE told me to set it for 'no' a long time ago. I didn't realize that there are three settings instead of two.

You set it with the -r option on lvcreate and lvchange. The '-r y' enables bad block realloacation, '-r n' prevents it, and '-r N' disables it. I'm going to see if I can use lvchange to change the policy on existing logical volumes. You can see what your logical volumes are set for by using lvdisplay and checking the 'Bad block' field.

As far as I know we haven't run into any problems with it so far.

JP