Thread (9 messages) 9 messages, 4 authors, 2012-08-13

Re: Disk Order

flat view

From: Peter Grandi <hidden>
Date: 2012-08-12 23:03:59

Our server currently has 6 SATA ports on the motherboard
filled with 6 drives in RAID10. [ ... ] additional PCIe SATA
controller in a server [ ... ] give me a little redundancy in
case the new controller card were to fail (I don't want the
new controller to bring down 2 drives).
It would be nice to split each pair of your new RAID1 and the
existing RAID10 over the two host adapters (the controllers are
the PCBs on the bottom of the drive...) you will have.

As in one member of each pair on the motherboard and the other
on the PCIe card.

Ideally therefore get a 4-drive PCIe card, so you can put on it
3 members of your existing RAID10 set, plus one member of your
new RAID1 set. SPAN.com tend to have reasonable non-RAID SATA
cards.
When setting up MD RAID in this configuration, how would I go
about tell MD RAID which disk is which in the array (referring
to the near/far configurations)?
If you are using a recent MD setup each member block device (not
necessarily disk) has an MD descriptor block with an UUID (or a
name) for the array and one for the member, and ideally you
would use that.

You can use 'mdadm -E /dev/sd?' to get the relevant information,
and them put the relevant UUID (or name) in '/etc/mdadm.conf'
I'm assuming by default that MD RAID just uses alphabetical
order in order to determine the drive order? Let's say the
RAID10 drives will be sda sdb sdc sdd sde sdg* [ ... ]
Drive names can change on any reboot. You cannot rely on them.
Will there be a performance hit since one drive in the RAID10
array will be on a different controller?
PCIe host adapters tend to have lower host bus bandwith than
motherboard ones, but this should not matter in your case (if
your host adapter has a 4-lane PCIe interface).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help