I have an LVM with three drives. One of those drives has two bad sectors (as reported by smartd), and whenever the system tries to access them, I get media errors in the syslog. Other than that, the LVM works fine.
I got a new drive, and added it to the VG. I am now trying to migrate the extents from the bad drive, onto the new one. But when the pvmove command encounters the bad sector, it stops the migration. Fortunately, I can recover from this with "pvmove --abort".
So now, the obvious question is: how do I get around this - getting the data off the bad drive and onto the new, good drive?
TIA
ken
PS: I did try running e2fsck to check for bad blocks, but that didn't remove them.
I got a new drive, and added it to the VG. I am now trying to migrate the extents from the bad drive, onto the new one. But when the pvmove command encounters the bad sector, it stops the migration. Fortunately, I can recover from this with "pvmove --abort".
So now, the obvious question is: how do I get around this - getting the data off the bad drive and onto the new, good drive?
TIA
ken
PS: I did try running e2fsck to check for bad blocks, but that didn't remove them.