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

Re: [linux-lvm] Disk dying and LVM2



I haven't ever tried moving a root partition, but it should be possible.

pvmove will ignore the errors it encounters and "do the best it can" to transfer all data. If it can't read a certain sector, that will be missing from the move.

 brassow

On Feb 8, 2008, at 8:06 AM, Martin Sarsale wrote:

Guys,

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?

thanks!

--
Martin Sarsale - martin malditainternet com

_______________________________________________
linux-lvm mailing list
linux-lvm redhat com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


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