From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S4y8s-0007mj-Fg for garchives@archives.gentoo.org; Tue, 06 Mar 2012 17:25:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 768DEE0EB1; Tue, 6 Mar 2012 17:25:23 +0000 (UTC) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by pigeon.gentoo.org (Postfix) with ESMTP id 8AD46E0B1C for ; Tue, 6 Mar 2012 17:24:30 +0000 (UTC) Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 4489D2091F for ; Tue, 6 Mar 2012 12:24:30 -0500 (EST) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 06 Mar 2012 12:24:30 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=binarywings.net; h=message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type; s=mesmtp; bh=AGuBFxpHG3Go8cA2G4wXXN5i uyM=; b=lPvzYtvZKRJRCz64sVf2iNEmrWTLQGqwE/fj67xzVm3yWus9+XHTHoOy 7FWdTFASn5OQwMGDXM73Usar/KLLeFeNPHMzNH9ePB/050B5jXYuOZj+rYdvgnDd QLlFYhI64lnGr1oTHNHehYGOkdzmNYOTmAsbB+sd7+u4AMNilho= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type; s=smtpout; bh=AGuB FxpHG3Go8cA2G4wXXN5iuyM=; b=CtNlVfe2LXLswofBKXclo04bgchWfL2P+plK E4i+wlFVj2hn51I0UlS483Qw51Uz+DQVfLB6cya48L3+eBX0PpVfyunc0/pZcoYn A8yDWXjuCNO1rqOO8Y5VFslbY/zfEezACLXRMn+kV5hO2JUWbOkDFr8z+CKO1b3V 0uaxqk8= X-Sasl-enc: +CLHsCvh0xao3UAr757CnxOGksQmeMmweGQ8+CqiQWF0 1331054669 Received: from [192.168.5.18] (serv.binarywings.net [83.169.5.6]) by mail.messagingengine.com (Postfix) with ESMTPSA id 344974824A3 for ; Tue, 6 Mar 2012 12:24:28 -0500 (EST) Message-ID: <4F564846.3090907@binarywings.net> Date: Tue, 06 Mar 2012 18:24:22 +0100 From: Florian Philipp User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120303 Thunderbird/10.0.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] LVM: Removing 3 disks and replacing with 1 References: <589B3E10-5607-4A30-8B0C-180CA870C3B4@stellar.eclipse.co.uk> In-Reply-To: <589B3E10-5607-4A30-8B0C-180CA870C3B4@stellar.eclipse.co.uk> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0BD4F97949B2245A365B1034" X-Archives-Salt: c7d23066-2039-41dd-bb82-41506033f962 X-Archives-Hash: 01ad531d20af505b02b7b1141e40b269 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0BD4F97949B2245A365B1034 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Am 06.03.2012 17:32, schrieb Stroller: >=20 > On 6 March 2012, at 09:45, Datty wrote: >> =85 I initially want to replace the 3x1TBs with a single 3TB drive but= >> i've never removed/replaced a drive in an LVM setup before. I think I >> understand how it is done, using pvmove =85=20 >=20 > Or you could just format and mount the new drive and use `cp`. >=20 > Stroller. >=20 +1 If you still want to work on LVM, you can use lvconvert to mirror your old volume on the new disk and then remove the old disks. The creation of the mirror should be inherently secure. pvmove should be safe, too. I know pvmove once crashed for me (old kernel bug, years ago) and I didn't loose data. # create mirror, report progress every 10 seconds lvconvert --interval 10 -m1 vg00/lvol1 /dev/new_disk # detach mirror, creates snapshot lvconvert -m0 vg00/lvol1 Disclaimer: Untested Regards, Florian Philipp --------------enig0BD4F97949B2245A365B1034 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9WSEoACgkQqs4uOUlOuU8ViwCeOEM3xIPzhEnsie9TL6nDOjL8 PfEAnjwdPSLTTw927ywh9qjM5XJb5xzD =lC+W -----END PGP SIGNATURE----- --------------enig0BD4F97949B2245A365B1034--