Operating System - HP-UX
1756609 Members
3134 Online
108848 Solutions
New Discussion

Bad block relocation size?

 
SOLVED
Go to solution
Lee Tae-kyung
Regular Advisor

Bad block relocation size?

Anyone know the size of bad block relocation?
How many blocks is assigned to a logical volume?
If I remember correctly, the size of bad block relocation is 5-10% of a volume group's size.

Thanks in advance.

<<<< A reference document >>>>>>>>>

Managing Disks Using the Logical Volume Manager (LVM) - Bad Block
Relocation

If as a result of a defect on the disk, LVM is unable to store data, a
mechanism is provided to store it at the end of the disk. If your disk
supports automatic bad block relocation (usually known as "hardware
sparing"), then LVM's bad block relocation mechanism is unnecessary.
Bad block relocation is in effect by default when a logical volume is
created. You can use the -r n option of lvcreate(1M) to disable the
bad
block relocation feature.


NOTE Bad block relocation is not supported for root, swap, or dump
logical volumes.
I think I am a specialist in IT Korea^^. I am a programmer and SE and DBA
1 REPLY 1
Tim Adamson_1
Honored Contributor
Solution

Re: Bad block relocation size?

Check the pvcreate(1M) man page:

-d soft_defects Specify the minimum number of bad blocks that LVM should reserve in order to perform software bad block relocation. This number can be no larger than 7039. If not specified, one block is reserved for each 8K of data blocks.

This option is not supported on HP-IB devices; soft_defects is set to 0 when pvcreate is executed for an HP-IB device.


Hope this helps.


Tim
Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.