Disk dying and LVM2

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

 



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/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux