[Cialug] Force Disk to /dev/sda, /dev/sdb, Etc?
Jonathan A. Kollasch
jakllsch at kollasch.net
Wed Apr 20 09:02:39 CDT 2016
On Wed, Apr 20, 2016 at 08:59:20AM -0500, Todd Walton wrote:
> Is there a way to force Linux to label a certain disk /dev/sda, another one
> /dev/sdb, and so on? I have two servers, each with four hard drives all of
> the same model. The two servers mirror each other in size and SCSI
> controller placement, i.e. the 80GB is on 0:0 on both, the 1TB is on 1:0 on
> both, etc.
>
> But each comes up with the drives in a different order. Is there a way to
> make them the same?
I could tell you how to do this on NetBSD, but I'm unaware of Linux
having such a capability.
The Linux people would probably tell you to use blkid(8)-style labels
instead of device names.
Jonathan Kollasch
More information about the Cialug
mailing list