RE: Device naming and raid1

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

 



> 
> Any idea on my original question?  If I re-add the drive 
> using the /dev/sdc name will I have problems on the next boot 
> when the drive is named /dev/sda?
> 
> Based on my experience with Linux and other software raid 
> implementations, I'm strongly inclined to think that the 
> device naming doesn't matter - the system will scan the 
> drives at boot looking for raid sets and re-assemble them no 
> matter what major and minor numbers or device names are.  I'm 
> not opposed to finding out the hard way but I'd really like 
> to get a definitive answer now because by the time this 
> system is next rebooted I'll probably have long forgotten about this.
> 

Not an expert in any sense of the word, but if the array is being
identified by its UUID and not by a specific list of devices in
mdadm.conf, then the array should assemble fine after a reboot with the
device names having changed.  I recently had a similar situation where I
added a new PCI-E x1 2 port SATA II card, which promptly pushed all my
other sdx devices down two places.  The raid mounted as expected and all
was/is wonderful.

Hope this helps,

Steve.

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