oh... sorry to hear.<br>Actually, Fredrick, you may just answered my question that i posted earlier about moving VG to another disk(s) and changing the stiping to linear. I think (hope) that the command i needed is : lvconvert -m 0 ....<br>
<br>i hope you did take a backup ?<br>Andrew<br><br><br><div class="gmail_quote">On Mon, Jan 11, 2010 at 11:54 AM, Fredrik Tolf <span dir="ltr"><<a href="mailto:fredrik@dolda2000.com">fredrik@dolda2000.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi list,<br>
<br>
I've got a mirror volume with two S-ATA disks, one of which started<br>
getting bad sectors recently, and I want to replace it. I'm having<br>
trouble removing it from the volume, however.<br>
<br>
When googling around on the subject, I've read everywhere that I<br>
shouldn't have to do anymore than remove it, and LVM should discover<br>
that and reconvert the mirror back into a linear volume. To be a bit<br>
more careful, though, I ran "echo 1 >/sys/block/sdh/device/delete" to<br>
have it removed properly in software first. Much to my surprise, shall<br>
we say, that just made the LV die a horrible death; it started returning<br>
EIO for every access to it, and I had to reboot the server to get it<br>
working again. Again, this is the proper procedure according to what<br>
I've been reading on the net; did I do it wrong, somehow, or are my<br>
sources completely off? (And if this doesn't work, then what would<br>
actually happen if the disk were to fail physically?)<br>
<br>
As I rebooted the server, I tried disconnecting the disk in advance, but<br>
that made LVM unable to bring the VG back online at all.<br>
<br>
How am I supposed to take this disk out of the volume? If I should use<br>
`lvconvert -m 0 $LV', then how do I specify which disk is to be removed?<br>
<br>
I'm using a stock Debian stable (Lenny) installation, meaning Linux<br>
2.6.24 and LVM2 2.02.39.<br>
<br>
Appreciative for any answers,<br>
<br>
Fredrik Tolf<br>
<br>
<br>
_______________________________________________<br>
linux-lvm mailing list<br>
<a href="mailto:linux-lvm@redhat.com">linux-lvm@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-lvm" target="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>
read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</a><br>
</blockquote></div><br>