Partitioning md devices versus partitioining underlying devices

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

 



Hi,

I have a fundamental question about WHERE it is best to do partititioning.

Here's a concrete example. I have two 3ware RAID-5 arrays, each made up of 12 500 GB drives. When presented to Linux, these are /dev/sda and /dev/sdb -- each 5.5 TB in size.

I want to stripe the two arrays together, so that 24 drives are all operating as one unit. However, I don't want an 11 TB filesystem. I want to keep my filesystems down below 6 TB.

It seems I have two choices:

1) partition the 3ware devices to make /dev/sda1, /dev/sda2, /dev/sdb1 and /dev/sdb2. Then I can create TWO md RAID-0 devices -- /dev/sda1 + /dev/sdb1 = /dev/md1, /dev/sda2 + /dev/sdb2 = /dev/md2

OR

2) create /dev/md1 from the entire 3ware devices -- /dev/sda + /dev/sdb = /dev/md1 -- and then partition /dev/md1 into two devices.

The question is, are these essentially equivalent alternatives? Is there any theoretical reason why one choice would be better than the other -- in terms of security, performance, memory usage, etc.

A knowledgeable answer would be appreciated. Thanks in advance.

Andy Liebman
-
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