Re: Disk Order

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

 



Jonathan,

On 12-08-12 23:10, Jonathan Tripathy wrote:
Hi Everyone,

Our server currently has 6 SATA ports on the motherboard filled with 6 drives in RAID10. I have a need to install an additional PCIe SATA controller in a server in order to obtain 2 more SATA ports to install an additional 2 new drives (As I want a new RAID1 array). However I would like to move one of the current drives onto the new controller, and one of the new drives onto the motherboard. This should 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).

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)? I'm assuming by default that MD RAID just uses alphabetical order in order to determine the drive order?
mdadm does not care about the disk ordering once the raid has been defined. It uses the raid metadata on the disks to figure out which disk is doing what. This includes which disk belongs to which raid.

There are 2 options:
- use metadata .90 (no longer suggested) and have the kernel autodetect during boot - use a later metadata (1.2 is default now), and have mdadm in the initrd. This will use a config file that has mdadm search on UID. Again, independent of which sdx the disks are.

You could test by swapping disk order in your current system. Although i would suggest to do testing with a test machine ;)

Cheers,


Rudy

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