From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v624) In-Reply-To: <45C8BDE7.5020403@myself.gen.nz> References: <45C62BB0.6090004@free.fr> <45C8BDE7.5020403@myself.gen.nz> Message-Id: Content-Transfer-Encoding: 7bit From: Jonathan E Brassow Subject: Re: [linux-lvm] replacing a failling disk on a mirrred VG. Date: Thu, 8 Feb 2007 02:51:02 -0600 Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: LVM general discussion and development , steve@myself.gen.nz On Feb 6, 2007, at 11:41 AM, Steve Wray wrote: > Jonathan E Brassow wrote: >> This one should be pretty easy... >> Effectively, you want to keep the primary mirror devices, so do: >> lvconvert -m0 >> to down convert them to linear devices. >> Then remove PV1 (vgreduce), add a new disk to your system, add it to >> your vg (vgextend), and finally, up-convert the linear devices to >> mirrors again: >> lvconvert -m1 > > So you can't just add a new disk and use pvmove to move extents off of > the failing disk? > You could if it was a linear device, but we are still working on the proper stacking of mirrors. brassow