« XEN - da li se još dvoumite? | Main | Zašto funkcionira slobodan software? »

LVM: moving data from damaged PV to healthy one

This post is mix between rant and mental note:

When you move data off damaged PV (reported by smartd, thanks for it!) be sure that you do following thing:

  • boot in single user more
  • activate LVM (/etc/init.d/lvm start or similar)
  • don't mount logical volumes, because pvmove would block (without any explanation)
  • pvmove /dev/bad_pv /dev/good_pv
  • vgreduce vg_name /dev/bad_pv
I also found out that pvmove can, in fact, be restarted after reboot, but at which point it restarts is still a mystery to me.

TrackBack

TrackBack URL for this entry:
http://blog.rot13.org/mt/mt-tb.cgi/517

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on May 2, 2006 4:09 PM.

The previous post in this blog was XEN - da li se još dvoumite?.

The next post in this blog is Zašto funkcionira slobodan software?.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 4.1