All of lore.kernel.org
 help / color / mirror / Atom feed
From: it <itech@kfa.org>
To: linux-raid@vger.kernel.org
Subject: block level vs. file level
Date: Sun, 12 Feb 2006 11:31:07 -0800	[thread overview]
Message-ID: <43EF8CFB.5080403@kfa.org> (raw)

Greetings,

There seem to be two ways of doing software RAID, and I have had trouble 
finding information on this.

First, the raid is done with partitions, for example /dev/sda1 and 
/dev/sdb1 are partitioned as Linux type and the mirroring is done then 
between the two partitions. The writing takes place on a filesystem 
level, and the partition table is not actually mirrored, because it's 
not on /dev/sda1 or /dev/sdb1.

The hardware raid does the mirroring on the block level, so it's 
actually /dev/sda mirroring /dev/sdb - the whole drive, and not 
partitions. There is a way to set this up on software raid. It takes 
more configuration tweaking, but the mirroring then includes the 
partition table as well. This way, if a drive fails, one can replace it 
without pre-partitioning it.

This also raises another point, which is relevant for both cases - same 
exact models of hard disks have different number of cylinders, so if a 
RAID partition is created on a larger drive it cannot be mirrored to a 
smaller drive.

Does anyone have any experience with this?

A.

             reply	other threads:[~2006-02-12 19:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-12 19:31 it [this message]
2006-02-12 21:31 ` block level vs. file level Andy Smith
2006-02-13  1:16   ` it
2006-02-20 16:53     ` Molle Bestefich
2006-02-26  5:11       ` Bill Davidsen
2006-03-03 14:07         ` Molle Bestefich
2006-02-19  0:38   ` Bill Davidsen
2006-02-13  8:48 ` PFC
2006-02-13 12:01   ` Andy Smith

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=43EF8CFB.5080403@kfa.org \
    --to=itech@kfa.org \
    --cc=linux-raid@vger.kernel.org \
    /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 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.