linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nonstandard raid(4-ish) scheme
@ 2012-01-24  3:00 Lennert Buytenhek
  2012-01-24 12:51 ` John Robinson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lennert Buytenhek @ 2012-01-24  3:00 UTC (permalink / raw)
  To: linux-raid

(I'm not on the list, please CC on replies.)

Hi!

While recently setting up a media server for a HTPC, I was wondering
whether it'd be possible to set things up so that most disks can be
kept spun down most of the time.

Since the majority of the I/O on this sort of server is reads, the
first idea was to store (directories of) media files entirely on
individual disks, i.e. to not distribute them over all disks by
striping, as that would require spinning up each disk on reads.  So,
creating a large RAID(5/6) array out of all of the disks wouldn't be
option here.

RAID1ing pairs of disks would work, but this is somewhat wasteful,
as it eats up half of your space.

The ideal way of doing this would be to take N-1 disks out of your N
disk set, and create separate filesystems on each of the disks, and
store different sets of files on them, while using the last disk,
disk N, as a parity disk of the N-1 data disks.

This is equivalent to raid4 with the stripe size equal the size of
one disk, and where the data disks get individual /dev/mdX entries
instead of being concatenated into one large /dev/mdX.

Would this be easy to implement?


thanks,
Lennert

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-24 20:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-24  3:00 nonstandard raid(4-ish) scheme Lennert Buytenhek
2012-01-24 12:51 ` John Robinson
2012-01-24 16:22 ` Christoph Hellwig
2012-01-24 20:51 ` David Brown

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).