[linux-lvm] Disk dying and LVM2

Martin Sarsale martin at malditainternet.com
Fri Feb 8 14:06:23 UTC 2008


I have a volume made up by two SATA disks, one 80g other 250g. The 80g
is dying and I'm about to replace it.
The volume is mounted as the root fs.

This is my plan, can you tell me if I'm on the right track?

1) empty at least 80g in the volume
2) reboot, mount readonly and resize the reiserfs to 80gb less than
current (this is, to 250g)
3) pvmove /dev/old_disk
4) reboot
5) take the old disk out

While the system boots and works more-or-less, when trying to open
some files I get input/output errors: what will happen when pvmove
tries to move the sector containing this file? After the pvmove the
system shouldn't be in a worse condition that it's now, right?


Martin Sarsale - martin at malditainternet.com

More information about the linux-lvm mailing list