[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] badblocks handling with LVM



On Thu, Apr 26, 2001 at 10:06:03AM +0000, Heinz J. Mauelshagen wrote:
> > The problem is that when you move LV's around and make snapshots the bad 
> > blocks on the underlieing media will move.  Therefore I think that management 
> > of bad blocks possibly should be done in the LVM.
> > 
> > Or should we just assume that LVM runs over RAID arrays of ATA/SCSI disks 
> > that have sector-sparing so that bad blocks are not an issue?
> 
> That's what I recommend because disks typically "hide" bad sectors to a certain
> degree using bad block relocation et al.
> If the given disk capacity for this is not enough because too many bad blocks
> occured already then you are in serious trouble and need to repleace
> your disk (subsystem) anyway IMO.

And if anyone insist on using LVM to mark the blocks anyway, it can be
done with out special code. Just create a volume named "broken", and put
the PVs in question in this.


-- 
Ragnar Kjørstad
Big Storage


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]