* [linux-lvm] striping efficiency
@ 2003-02-18 13:58 Alexy Khrabrov
2003-02-18 15:41 ` Goetz Bock
0 siblings, 1 reply; 3+ messages in thread
From: Alexy Khrabrov @ 2003-02-18 13:58 UTC (permalink / raw)
To: linux-lvm
I'm using a SCSI enclosure with 4 drives to store large files
and wonder whether to stripe a single LV spanning them and
how to choose the size of the stripe?
--
Cheers,
Alexy Khrabrov :: www.setup.org :: Age Quod Agis
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] striping efficiency
2003-02-18 13:58 [linux-lvm] striping efficiency Alexy Khrabrov
@ 2003-02-18 15:41 ` Goetz Bock
2003-02-18 16:30 ` grobe
0 siblings, 1 reply; 3+ messages in thread
From: Goetz Bock @ 2003-02-18 15:41 UTC (permalink / raw)
To: linux-lvm
On Tue, Feb 18 '03 at 14:57, Alexy Khrabrov wrote:
> I'm using a SCSI enclosure with 4 drives to store large files
> and wonder whether to stripe a single LV spanning them and
> how to choose the size of the stripe?
Don't. Use RAID5 and just don't bother to use striping. Otherwise, when
one drive fails all your data will be lost, with no hope to recover it.
OTOH if you insist on striping, than use a stripe size, that fits a few
times (3-4) into the cache of your disks. That would allow the SCSI
system to issue a "disk 1: get chunk A", "d2: cB", "d3: cC", "d4: cD"
and than read the chunks fro the disk's cache while the other drives are
still busy fatching the chunks from disk (and there is still space in
the cach to request the next chunk before getting the last, and don't
forget some space for writing and the disks' house keeping).
If you use XFS just use the chunk size your XFS uses. (and replace chunk
with strip size ;-))
--
Goetz Bock (c) 2003 as blacknet.de - Munich - Germany /"\
IT Consultant GNU FDL 1.1 secure mobile Linux everNETting \ /
X
ASCII Ribbon Campaign against HTML email & microsoft attachments / \
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] striping efficiency
2003-02-18 15:41 ` Goetz Bock
@ 2003-02-18 16:30 ` grobe
0 siblings, 0 replies; 3+ messages in thread
From: grobe @ 2003-02-18 16:30 UTC (permalink / raw)
To: linux-lvm
Hi!
OK, me too : RAID5!!!! (I've lost enough disks in my raids to shout here ;-)
But I have my own question here... I am going to stripe across two PVs which
are two RAID5s. I want to do that as we are getting a fibrechannel storage,
and we want to be able to use two channels. So, I will get /dev/sdc linked to
a raid5 at channel A, /dev/sdd at channel B, and with striping, will use
bandwith of both channels in one Volume Group.
What stripsize would you recommend here...?
Thank you + CU, Lars.
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte l�cheln! Fotogalerie online mit GMX ohne eigene Homepage!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-18 16:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-18 13:58 [linux-lvm] striping efficiency Alexy Khrabrov
2003-02-18 15:41 ` Goetz Bock
2003-02-18 16:30 ` grobe
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.