[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] Mirrored disks copying after boot



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 = "Text Format Volume Group"
version = 1
 
description = "Created *after* executing 'lvconvert -m1 /dev/vg0/lvol0 /dev/hdd1 /dev/hdb1 /dev/hda3'"
 
creation_host = "garage4"       # Linux garage4 2.6.8.1 #1 SMP Tue Jun 19 21:42:08 EST 2007 i686
creation_time = 1195024194      # Wed Nov 14 18:09:54 2007
 
vg0 {
        id = "mXiSar-aFO7-e71V-Yt9e-0WFj-24FF-y9cg0S"
        seqno = 25
        status = ["RESIZEABLE", "READ", "WRITE"]
        extent_size = 8192              # 4 Megabytes
        max_lv = 0
        max_pv = 0
 
        physical_volumes {
 
                pv0 {
                        id = "Stp052-dnCw-0HCx-m45C-xVUW-pvBG-2Jgz8k"
                        device = "/dev/hdd1"    # Hint only
 
                        status = ["ALLOCATABLE"]
                        dev_size = 625137282    # 298.089 Gigabytes
                        pe_start = 384
                        pe_count = 76310        # 298.086 Gigabytes
                }
 
                pv1 {
                        id = "J6615x-1Owa-2sp8-7Ro0-2wJ9-gl2R-yRV8JF"
                        device = "/dev/hdb1"    # Hint only
 
                        status = ["ALLOCATABLE"]
                        dev_size = 625137282    # 298.089 Gigabytes
                        pe_start = 384
                        pe_count = 76310        # 298.086 Gigabytes
                }
 
                pv2 {
                        id = "Kw1YZO-5bPy-RWWz-d8DO-412N-N4MX-bkb8cE"
                        device = "/dev/hda3"    # Hint only
 
                        status = ["ALLOCATABLE"]
                        dev_size = 147910455    # 70.5292 Gigabytes
                        pe_start = 384
                        pe_count = 18055        # 70.5273 Gigabytes
                }
        }
 
        logical_volumes {
 
                lvol0 {
                        id = "vo0JVR-1iLr-EVKb-nkLH-QQN0-2Xxa-MY2lb6"
                        status = ["READ", "WRITE", "VISIBLE"]
                        segment_count = 1
 
                        segment1 {
                                start_extent = 0
                                extent_count = 76310    # 298.086 Gigabytes

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

                                stripes = [
                                        "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
 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]