Re: partitioned mirror vs. mirrors of partitions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Eric Sandeen <sandeen@xxxxxxxxxxx>:

Hi, I hope this isn't a FAQ, I did do a little searching first...

I'm looking at using a couple of large disks to mirror a system which
currently has a few different filesystems; I'll use partitions on the
disks to contain the different fileystems.

It looks like I could mirror sda and sdb, and partition the resulting
md_d0.  Or, I could partition sda and sdb, and create mirrors md0, md1,
etc from the partitions on the underlying disks.

Is there any technical reason to choose one method vs the other?  It
seems to me that perhaps on a system with several active partitions from
the same disk, partitioning a single large raid device might allow
better read balancing?

As far as I know, there shouldn't be much difference.
However, if one drive dies, it will be easier to re-construct the md_d0 array when you add your new disk in. Just one command to repair the array, and all filesystems will be good to go, instead of repairing md0, and then md1 and so on.
IIRC, the Debian mdadm docs have some more info on this.

Cheers,
Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux