Received: from mx1.redhat.com (ext-mx04.extmail.prod.ext.phx2.redhat.com [10.5.110.8]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id o96GHZEU028303 for ; Wed, 6 Oct 2010 12:17:35 -0400 Received: from web120712.mail.ne1.yahoo.com (web120712.mail.ne1.yahoo.com [98.138.82.219]) by mx1.redhat.com (8.13.8/8.13.8) with SMTP id o96GHNvm007799 for ; Wed, 6 Oct 2010 12:17:23 -0400 Message-ID: <11404.7696.qm@web120712.mail.ne1.yahoo.com> References: <87363.97197.qm@web120701.mail.ne1.yahoo.com> <87y6adm5hs.fsf@twilight.int.mornfall.net.> Date: Wed, 6 Oct 2010 08:50:41 -0700 (PDT) From: Jay In-Reply-To: <87y6adm5hs.fsf@twilight.int.mornfall.net.> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-399052783-1286380241=:7696" Subject: Re: [linux-lvm] LVM mirror questions 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 --0-399052783-1286380241=:7696 Content-Type: text/plain; charset=us-ascii Hi Petr, Thanks for the reply. "Should continue to work.." leaves me with some doubt. My intent for a mirror is for a datastore that has reliability at the expense of space. In addition, when a large datastore is rebooted, there would be a period of time when the data is being mirrored, which leaves a window of peril. After I migrate my data off of lvm and onto an md device, I will test lvm. Test #1 will be start a huge write operation on a mirror that consists of 2 mirrors and 1 log, all on seperate pvs. While the write operation is happening, I will unplug the log drive and see if lvm switches in midstream to a memory log without loss. Test #2 will be to see if I can make lvm activate lvs or vgs in a certain order. That way I could make the first 20 extents of every physical device part of a vg/lv that houses mirror logs. These log lvs would be mirrored across all physical devices. The log lvs would have memory logs, which would be ok since they will be so small. The window of peril is reduced from hours to a few seconds. Anyways, thanks again for the answer! Jason Harris ________________________________ From: Petr Rockai To: LVM general discussion and development Sent: Tue, October 5, 2010 1:02:55 AM Subject: Re: [linux-lvm] LVM mirror questions Jay writes: > What happens to an lvm mirror if the disk log is lost? The mirror should continue to work with a core (memory) log. Yours, Petr. _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ --0-399052783-1286380241=:7696 Content-Type: text/html; charset=us-ascii
Hi Petr,

Thanks for the reply.  "Should continue to work.." leaves me with some doubt.  My intent for a mirror is for a datastore that has reliability at the expense of space.   In addition, when a large datastore is rebooted, there would be a period of time when the data is being mirrored, which leaves a window of peril. After I migrate my data off of lvm and onto an md device, I will test lvm. 

Test #1 will be start a huge write operation on a mirror that consists of 2 mirrors and 1 log, all on seperate pvs.   While the write operation is happening, I will unplug the log drive and see if lvm switches in midstream to a memory log without loss.    

Test #2 will be to see if I can make lvm activate lvs or vgs in a certain order.   That way I could make the first 20 extents of every physical device part of a vg/lv that houses mirror logs.   These log lvs would be mirrored across all physical devices.   The log lvs would have memory logs, which would be ok since they will be so small.     The window of peril is reduced from hours to a few seconds. 

Anyways, thanks again for the answer!

Jason Harris


From: Petr Rockai <prockai@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Sent: Tue, October 5, 2010 1:02:55 AM
Subject: Re: [linux-lvm] LVM mirror questions

Jay <jrharris19@yahoo.com> writes:
> What happens to an lvm mirror if the disk log is lost?

The mirror should continue to work with a core (memory) log.

Yours,
  Petr.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

--0-399052783-1286380241=:7696--