[linux-lvm] LVM on a drive with a bad sector?

Alasdair G Kergon agk at redhat.com
Mon May 24 18:41:21 UTC 2004

On Mon, May 24, 2004 at 08:31:25PM +0200, Martijn Schoemaker wrote:
> (as far as I know there is no
> bad-block mapping within LVM, correct me if I'm wrong)

The closest in LVM2 would be to put the bad sectors inside a single
LV and avoid using that LV.

e.g.  lvcreate -l1 vg -n broken /dev/sda5:46
if the bad sector falls inside physical extent 46 on /dev/sda5.

agk at redhat.com

More information about the linux-lvm mailing list