All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Fang,Dongyu" <dfang@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: yshao@redhat.com
Subject: Re: [linux-lvm] Use lvcreart -m to make a mirror
Date: Thu, 05 Jan 2006 17:27:05 +0800	[thread overview]
Message-ID: <43BCE669.8050702@redhat.com> (raw)
In-Reply-To: <43BCDC23.9010100@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1226 bytes --]

Thanks your replay.
How can I mount the "original" (mimage_0) or the "mirror" (mimage_1) 
single?
Because I want to verify it write/read data in both LV indeed.
And how can I remove the mirror relation between the two LV(let the 
"original" and "mirror" become two singe LV)?   (I use `lvconvert -m 0 
vg1/mirror1`  then LVs become one.)
    Fang,Dongyu

Patrick Caulfield wrote:

>Fang,Dongyu wrote:
>  
>
>>When I use `lvcreate -l 4 --mirrors 1 -n mirror1 /dev/vg1` want to
>>create  mirror LV, I got four LV:
>> ACTIVE            '/dev/vg1/mirror1' [16.00 MB] inherit
>> ACTIVE            '/dev/vg1/mirror1_mlog' [4.00 MB] inherit
>> ACTIVE            '/dev/vg1/mirror1_mimage_0' [16.00 MB] inherit
>> ACTIVE            '/dev/vg1/mirror1_mimage_1' [16.00 MB] inherit
>>I think the LV mirror1 is the origin LV, mirror1_mlog is log, the two
>>others should be images LV, so why there are two images(in my opinion,
>>it should be only one), and I how to use then? Can I mount it?
>>    
>>
>
>/dev/vg1/mirror1 is the device you mount, the _mimage_ are internal devices
>for LVM. You have the "original" (mimage_0) and the mirror (mimage_1).
>
>The later revisions of LVM will hide these from the lvscan & lvs commands.
>  
>


[-- Attachment #2: dfang.vcf --]
[-- Type: text/x-vcard, Size: 64 bytes --]

begin:vcard
fn:Dongyu Fang
n:Fang;Dongyu
version:2.1
end:vcard


  reply	other threads:[~2006-01-05  9:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-05  3:05 [linux-lvm] Use lvcreart -m to make a mirror Fang,Dongyu
2006-01-05  8:43 ` Patrick Caulfield
2006-01-05  9:27   ` Fang,Dongyu [this message]
2006-01-05  9:47     ` Patrick Caulfield
2006-01-09 23:39       ` Jonathan E Brassow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43BCE669.8050702@redhat.com \
    --to=dfang@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=yshao@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.