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

Re: [linux-lvm] badblocks handling with LVM

On Wed, Apr 25, 2001 at 07:59:48PM +0200, Russell Coker wrote:
> On Monday 23 April 2001 12:08, Andreas Dilger wrote:
> > Laurent writes:
> > > I have blocks marked bad on a ext2 filesystem.  The device has bad
> > > blocks. I'm wondering how bad blocks are handled with lvm.  I would like
> > > to create a phycal volume on this device and use reiserfs on it.
> > > Could you give me some informations ?
> >
> > As long as the bad blocks are not in the first ~250kB of the partition/disk
> > then LVM doesn't care about it.  However, reiserfs doesn't yet support bad
> > blocks in the filesystem (this is currently under development AFAIK), so
> > this will not help you.
> 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.

> -- 
> http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
> http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
> http://www.coker.com.au/projects.html Projects I am working on
> http://www.coker.com.au/~russell/     My home page
> _______________________________________________
> linux-lvm mailing list
> linux-lvm sistina com
> http://lists.sistina.com/mailman/listinfo/linux-lvm


Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***


Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
Mauelshagen Sistina com                           +49 2626 141200
                                                       FAX 924446

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