From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lAP4IOnw002701 for ; Sat, 24 Nov 2007 23:18:24 -0500 Received: from server1.auhost.org (ns1.auhost.org [202.60.69.11]) by mx3.redhat.com (8.13.1/8.13.1) with ESMTP id lAP4Hq71024798 for ; Sat, 24 Nov 2007 23:17:53 -0500 Received: from [124.243.167.118] (helo=garage3) by server1.auhost.org with smtp (Exim 4.68) (envelope-from ) id 1Iw8w4-0002Sw-3N for linux-lvm@redhat.com; Sun, 25 Nov 2007 15:17:38 +1100 Message-ID: <001601c82f1a$2e564500$0201a8c0@garage3> From: "David Benham" Date: Sun, 25 Nov 2007 15:18:02 +1100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0013_01C82F76.5F0504F0" Subject: [linux-lvm] Mirrored disks copying after boot 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: linux-lvm@redhat.com This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C82F76.5F0504F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have LVM2 2.02.25 on linux Kernel 2.6.81 (built using LFS 6.0) I have 2 x 320Gb and an 80Gb drive. Here is /etc/lvm/backup/vg0 file contents:- # Generated by LVM2: Wed Nov 14 18:09:54 2007 contents =3D "Text Format Volume Group" version =3D 1 description =3D "Created *after* executing 'lvconvert -m1 /dev/vg0/lvol0 = /dev/hdd1 /dev/hdb1 /dev/hda3'" creation_host =3D "garage4" # Linux garage4 2.6.8.1 #1 SMP Tue Jun = 19 21:42:08 EST 2007 i686 creation_time =3D 1195024194 # Wed Nov 14 18:09:54 2007 vg0 { id =3D "mXiSar-aFO7-e71V-Yt9e-0WFj-24FF-y9cg0S" seqno =3D 25 status =3D ["RESIZEABLE", "READ", "WRITE"] extent_size =3D 8192 # 4 Megabytes max_lv =3D 0 max_pv =3D 0 physical_volumes { pv0 { id =3D "Stp052-dnCw-0HCx-m45C-xVUW-pvBG-2Jgz8k" device =3D "/dev/hdd1" # Hint only status =3D ["ALLOCATABLE"] dev_size =3D 625137282 # 298.089 Gigabytes pe_start =3D 384 pe_count =3D 76310 # 298.086 Gigabytes } pv1 { id =3D "J6615x-1Owa-2sp8-7Ro0-2wJ9-gl2R-yRV8JF" device =3D "/dev/hdb1" # Hint only status =3D ["ALLOCATABLE"] dev_size =3D 625137282 # 298.089 Gigabytes pe_start =3D 384 pe_count =3D 76310 # 298.086 Gigabytes } pv2 { id =3D "Kw1YZO-5bPy-RWWz-d8DO-412N-N4MX-bkb8cE" device =3D "/dev/hda3" # Hint only status =3D ["ALLOCATABLE"] dev_size =3D 147910455 # 70.5292 Gigabytes pe_start =3D 384 pe_count =3D 18055 # 70.5273 Gigabytes } } logical_volumes { lvol0 { id =3D "vo0JVR-1iLr-EVKb-nkLH-QQN0-2Xxa-MY2lb6" status =3D ["READ", "WRITE", "VISIBLE"] segment_count =3D 1 segment1 { start_extent =3D 0 extent_count =3D 76310 # 298.086 = Gigabytes type =3D "mirror" mirror_count =3D 2 mirror_log =3D "lvol0_mlog" region_size =3D 1024 mirrors =3D [ "lvol0_mimage_0", 0, "lvol0_mimage_1", 0 ] } } lvol0_mlog { id =3D "tmkdda-pBbn-tErD-R5Hy-OnIc-tduT-wpEA0o" status =3D ["READ", "WRITE"] segment_count =3D 1 segment1 { start_extent =3D 0 extent_count =3D 1 # 4 Megabytes type =3D "striped" stripe_count =3D 1 # linear stripes =3D [ "pv2", 0 ] } } lvol0_mimage_0 { id =3D "Ggwn8d-Et1N-CqRC-wtxT-aVFd-ZV78-CDE82e" status =3D ["READ", "WRITE"] segment_count =3D 1 segment1 { start_extent =3D 0 extent_count =3D 76310 # 298.086 = Gigabytes type =3D "striped" stripe_count =3D 1 # linear stripes =3D [ "pv0", 0 ] } } lvol0_mimage_1 { id =3D "lBjNh8-X2pU-JUG2-VYKy-XT45-vo8Z-3aEnpN" status =3D ["READ", "WRITE"] segment_count =3D 1 segment1 { start_extent =3D 0 extent_count =3D 76310 # 298.086 = Gigabytes type =3D "striped" stripe_count =3D 1 # linear stripes =3D [ "pv1", 0 ] } } } } Whenever I reboot, an LVS show copy% with a value for many hours. I guess it is 'resync'ing, but why when the log is on disk and not using = a 'corelog'? Thanks ------=_NextPart_000_0013_01C82F76.5F0504F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I have LVM2 2.02.25 on linux Kernel = 2.6.81 (built=20 using LFS 6.0)
I have 2 x 320Gb and an 80Gb = drive.
Here is /etc/lvm/backup/vg0 file=20 contents:-
# Generated by LVM2: Wed Nov 14 = 18:09:54=20 2007
 
contents =3D "Text Format = Volume=20 Group"
version =3D 1
 
description =3D "Created = *after* executing=20 'lvconvert -m1 /dev/vg0/lvol0 /dev/hdd1 /dev/hdb1 = /dev/hda3'"
 
creation_host =3D=20 "garage4"       # Linux garage4 2.6.8.1 #1 = SMP Tue=20 Jun 19 21:42:08 EST 2007 i686
creation_time =3D=20 1195024194      # Wed Nov 14 18:09:54 = 2007
 
vg0=20 {
        id =3D=20 "mXiSar-aFO7-e71V-Yt9e-0WFj-24FF-y9cg0S"
     = ;  =20 seqno =3D 25
        status =3D = ["RESIZEABLE",=20 "READ", "WRITE"]
        = extent_size =3D=20 8192           &nb= sp; =20 # 4 Megabytes
        max_lv =3D=20 0
        max_pv =3D = 0
 
       =20 physical_volumes {
 
          &nbs= p;    =20 pv0=20 {
           &n= bsp;           =20 id =3D=20 "Stp052-dnCw-0HCx-m45C-xVUW-pvBG-2Jgz8k"
     = ;            =       =20 device =3D "/dev/hdd1"    # Hint only
 
          &nbs= p;            = ;=20 status =3D=20 ["ALLOCATABLE"]
         =             &= nbsp; =20 dev_size =3D 625137282    # 298.089=20 Gigabytes
          =             &= nbsp;=20 pe_start =3D=20 384
           =              = pe_count =3D 76310        # 298.086=20 Gigabytes
          =      =20 }
 
          &nbs= p;    =20 pv1=20 {
           &n= bsp;           =20 id =3D=20 "J6615x-1Owa-2sp8-7Ro0-2wJ9-gl2R-yRV8JF"
     = ;            =       =20 device =3D "/dev/hdb1"    # Hint only
 
          &nbs= p;            = ;=20 status =3D=20 ["ALLOCATABLE"]
         =             &= nbsp; =20 dev_size =3D 625137282    # 298.089=20 Gigabytes
          =             &= nbsp;=20 pe_start =3D=20 384
           =              = pe_count =3D 76310        # 298.086=20 Gigabytes
          =      =20 }
 
          &nbs= p;    =20 pv2=20 {
           &n= bsp;           =20 id =3D=20 "Kw1YZO-5bPy-RWWz-d8DO-412N-N4MX-bkb8cE"
     = ;            =       =20 device =3D "/dev/hda3"    # Hint only
 
          &nbs= p;            = ;=20 status =3D=20 ["ALLOCATABLE"]
         =             &= nbsp; =20 dev_size =3D 147910455    # 70.5292=20 Gigabytes
          =             &= nbsp;=20 pe_start =3D=20 384
           =              = pe_count =3D 18055        # 70.5273=20 Gigabytes
          =      =20 }
        }
 
       =20 logical_volumes {
 
          &nbs= p;    =20 lvol0=20 {
           &n= bsp;           =20 id =3D=20 "vo0JVR-1iLr-EVKb-nkLH-QQN0-2Xxa-MY2lb6"
     = ;            =       =20 status =3D ["READ", "WRITE",=20 "VISIBLE"]
          = ;            =  =20 segment_count =3D 1
 
          &nbs= p;            = ;=20 segment1=20 {
           &n= bsp;           &nb= sp;       =20 start_extent =3D=20 0
           &n= bsp;           &nb= sp;       =20 extent_count =3D 76310    # 298.086=20 Gigabytes

         &n= bsp;           &nb= sp;         =20 type =3D=20 "mirror"
          &= nbsp;           &n= bsp;        =20 mirror_count =3D=20 2
           &n= bsp;           &nb= sp;       =20 mirror_log =3D=20 "lvol0_mlog"
         &nb= sp;           &nbs= p;         =20 region_size =3D 1024
 
          &nbs= p;            = ;        =20 mirrors =3D=20 [
           &n= bsp;           &nb= sp;           &nbs= p;   =20 "lvol0_mimage_0",=20 0,
           &= nbsp;           &n= bsp;           &nb= sp;   =20 "lvol0_mimage_1",=20 0
           &n= bsp;           &nb= sp;       =20 ]
           &n= bsp;           =20 }
           &n= bsp;   =20 }
 
          &nbs= p;    =20 lvol0_mlog=20 {
           &n= bsp;           =20 id =3D=20 "tmkdda-pBbn-tErD-R5Hy-OnIc-tduT-wpEA0o"
     = ;            =       =20 status =3D ["READ",=20 "WRITE"]
          &= nbsp;           &n= bsp;=20 segment_count =3D 1
 
          &nbs= p;            = ;=20 segment1=20 {
           &n= bsp;           &nb= sp;       =20 start_extent =3D=20 0
           &n= bsp;           &nb= sp;       =20 extent_count =3D 1        # 4=20 Megabytes
 
          &nbs= p;            = ;        =20 type =3D=20 "striped"
          =             &= nbsp;        =20 stripe_count =3D 1        # = linear
 
          &nbs= p;            = ;        =20 stripes =3D=20 [
           &n= bsp;           &nb= sp;           &nbs= p;   =20 "pv2",=20 0
           &n= bsp;           &nb= sp;       =20 ]
           &n= bsp;           =20 }
           &n= bsp;   =20 }
 
          &nbs= p;    =20 lvol0_mimage_0=20 {
           &n= bsp;           =20 id =3D=20 "Ggwn8d-Et1N-CqRC-wtxT-aVFd-ZV78-CDE82e"
     = ;            =       =20 status =3D ["READ",=20 "WRITE"]
          &= nbsp;           &n= bsp;=20 segment_count =3D 1
 
          &nbs= p;            = ;=20 segment1=20 {
           &n= bsp;           &nb= sp;       =20 start_extent =3D=20 0
           &n= bsp;           &nb= sp;       =20 extent_count =3D 76310    # 298.086 = Gigabytes
 
          &nbs= p;            = ;        =20 type =3D=20 "striped"
          =             &= nbsp;        =20 stripe_count =3D 1        # = linear
 
          &nbs= p;            = ;        =20 stripes =3D=20 [
           &n= bsp;           &nb= sp;           &nbs= p;   =20 "pv0",=20 0
           &n= bsp;           &nb= sp;       =20 ]
           &n= bsp;           =20 }
           &n= bsp;   =20 }
 
          &nbs= p;    =20 lvol0_mimage_1=20 {
           &n= bsp;           =20 id =3D=20 "lBjNh8-X2pU-JUG2-VYKy-XT45-vo8Z-3aEnpN"
     = ;            =       =20 status =3D ["READ",=20 "WRITE"]
          &= nbsp;           &n= bsp;=20 segment_count =3D 1
 
          &nbs= p;            = ;=20 segment1=20 {
           &n= bsp;           &nb= sp;       =20 start_extent =3D=20 0
           &n= bsp;           &nb= sp;       =20 extent_count =3D 76310    # 298.086 = Gigabytes
 
          &nbs= p;            = ;        =20 type =3D=20 "striped"
          =             &= nbsp;        =20 stripe_count =3D 1        # = linear
 

          &nbs= p;            = ;        =20 stripes =3D=20 [
           &n= bsp;           &nb= sp;           &nbs= p;   =20 "pv1",=20 0
           &n= bsp;           &nb= sp;       =20 ]
           &n= bsp;           =20 }
           &n= bsp;   =20 }
        }
}
 
 
Whenever I reboot, an LVS show copy% = with a value=20 for many hours.
I guess it is 'resync'ing, but why when = the log is=20 on disk and not using a 'corelog'?
 
Thanks
 
------=_NextPart_000_0013_01C82F76.5F0504F0--