From: "David Benham" <david@benhams.info>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Mirrored disks copying after boot
Date: Sun, 25 Nov 2007 15:18:02 +1100 [thread overview]
Message-ID: <001601c82f1a$2e564500$0201a8c0@garage3> (raw)
[-- Attachment #1: Type: text/plain, Size: 5034 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 20571 bytes --]
reply other threads:[~2007-11-25 4:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='001601c82f1a$2e564500$0201a8c0@garage3' \
--to=david@benhams.info \
--cc=linux-lvm@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).