From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx11.extmail.prod.ext.phx2.redhat.com [10.5.110.16]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r61AmH4U030700 for ; Mon, 1 Jul 2013 06:48:17 -0400 Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r61AmFTV014170 for ; Mon, 1 Jul 2013 06:48:16 -0400 Received: by mail-lb0-f177.google.com with SMTP id 10so2272961lbf.8 for ; Mon, 01 Jul 2013 03:48:14 -0700 (PDT) MIME-Version: 1.0 Date: Mon, 1 Jul 2013 12:48:14 +0200 Message-ID: From: Alessandro MACUZ Content-Type: multipart/alternative; boundary=001a11c3d14a2d593604e070f708 Subject: [linux-lvm] Forcing the lvconvert copy to be on a different physical disk 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: To: LVM general discussion and development --001a11c3d14a2d593604e070f708 Content-Type: text/plain; charset=ISO-8859-1 Hi all, in my company they want to use LVM to handle a transition period while moving VM guests from local datastore to a NAS (via iSCSI) An example with numbers is worth thousands of words. The idea is to have one leg locally and one leg on the NAS, then we'll remove the local leg and tha machine will run with the leg on the NAS. So there are two MBR-partitioned vdisks, 10G each, and with one big LVM partition (0x8e) I have created one VG spanning both disks and one LV hosted on the local disk. How to tell lvconvert that the mirror, of the LV I want, must entirely be hosted on the second disk? Thanks, Alex --001a11c3d14a2d593604e070f708 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,

in my company they want to use LVM to handle a t= ransition period while moving VM guests from local datastore to a NAS (via = iSCSI)

An example with numbers is worth thousands = of words.
The idea is to have one leg locally and one leg on the NAS, then we= 9;ll remove the local leg and tha machine will run with the leg on the NAS.=

So there are two MBR-partitioned vdisks, 10G each= , and with one big LVM partition (0x8e)

I have created one VG spanning both disks and one LV ho= sted on the local disk.

How to tell lvconvert that= the mirror, of the LV I want, must entirely be hosted on the second disk?<= /div>

Thanks,

Alex
--001a11c3d14a2d593604e070f708--