From: Diego Jacobi <jacobidiego@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Parallel mirroring
Date: Sun, 12 Jul 2009 20:56:03 +0200 [thread overview]
Message-ID: <5de034af0907121156s491df9cei264569333ea6a787@mail.gmail.com> (raw)
Hello.
I have succesfully configured Mirroring between 2 disks in linux for 2
logical volumes, and on other without mirroring.
But i can not find any evidence showing that it is reading in parallel
scheduler mode.
I have read HP docs about HP-UX, but it talks about command line
options which arent in the linux side.
The "-d p" in HP-UX would be what i need now for linux. Also lvdisplay
doesnt show anything about it, more than the number of mirrors.
This are my tests:
sda1 = /boot in disk 1, no lvm
sdb1 = /boot in disk 2, no lvm
data/data = lvm without mirroring
data/root = lvm with mirroring
linux-8mmd:~ # hdparm -t /dev/sda1
/dev/sda1:
Timing buffered disk reads: 262 MB in 3.02 seconds = 86.83 MB/sec
linux-8mmd:~ # hdparm -t /dev/sdb1
/dev/sdb1:
Timing buffered disk reads: 174 MB in 3.03 seconds = 57.36 MB/sec
linux-8mmd:~ # hdparm -t /dev/data/data
/dev/data/data:
Timing buffered disk reads: 272 MB in 3.02 seconds = 90.02 MB/sec
linux-8mmd:~ # hdparm -t /dev/data/root
/dev/data/root:
Timing buffered disk reads: 278 MB in 3.02 seconds = 92.16 MB/sec
As you can see, the read speed are mostly the same. This could mean a
secuenced scheduler.
And this is my system setup:
lvm> version
LVM version: 2.02.39 (2008-06-27)
Library version: 1.02.27 (2008-06-25)
Driver version: 4.14.0
linux-8mmd:~ # pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 data lvm2 a- 537.11G 395.12G
/dev/sda5 data lvm2 a- 996.00M 988.00M <--- Note 1 Gb, for log
/dev/sdb3 data lvm2 a- 138.99G 118.99G
linux-8mmd:~ # lvs -a -o +devices
LV VG Attr LSize Origin Snap% Move Log
Copy% Convert Devices
data data -wi-ao 121.50G
/dev/sda3(125)
home data mwi-ao 10.00G home_mlog
100.00 home_mimage_0(0),home_mimage_1(0)
[home_mimage_0] data iwi-ao 10.00G
/dev/sda3(33788)
[home_mimage_1] data iwi-ao 10.00G
/dev/sdb3(2560)
[home_mlog] data lwi-ao 4.00M
/dev/sda5(1)
root data mwi-ao 10.00G root_mlog
100.00 root_mimage_0(0),root_mimage_1(0)
[root_mimage_0] data iwi-ao 10.00G
/dev/sda3(31228)
[root_mimage_1] data iwi-ao 10.00G
/dev/sdb3(0)
[root_mlog] data lwi-ao 4.00M
/dev/sda5(0)
test data -wi-a- 500.00M
/dev/sda3(0)
next reply other threads:[~2009-07-12 18:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-12 18:56 Diego Jacobi [this message]
2009-07-16 21:07 ` [linux-lvm] Re: Parallel mirroring Diego Jacobi
2009-07-16 21:24 ` malahal
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=5de034af0907121156s491df9cei264569333ea6a787@mail.gmail.com \
--to=jacobidiego@gmail.com \
--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).