Hi there! I do not understand the numbering of my hard drives. There may be some inherent logic, but whenever I make some changes, like replacing drives, or changing BIOS settings, the order changes. Maybe it's even more random.
So I made some udev rules like this, and my drives are called /dev/hd1, hd2 and hd3: SUBSYSTEMS=="scsi", KERNEL=="sd?", ATTRS{model}=="SAMSUNG HD154UI", SYMLINK="hd1" This works fine, and this way I can address them in scripts, smartd and hdparm config files and such. But now I have two identical drives. I had this before with the drive above, but while being identical models, the two drives differed a little in size, so I just had to add ATTR{size}. This does not help with my current drives, and I find nothing in /sys/block/sd?/device/ that differs. Could there be another way to distinguish the drives, like looking at the partition scheme or something? Wonko