I have just installed a SAS disk into a Debian server. It was detected correctly and everything was fine.
Then I moved the SAS disk to a different Debian server, the same hardware model and running same version of Debian, but here the SAS disk is detected as /dev/sg7 and not /dev/sdb.
smartctl -a /dev/sg7 works fine, but
I tried putting the SAS disk in another slot: Same problem.
How can I force the SAS disk to be detected as /dev/sdb?
# uname -a Linux maxwell 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64 GNU/Linux
[171458.833581] scsi 0:1:5:0: Direct-Access SEAGATE ST91000640SS 0004 PQ: 0 ANSI: 6 [171458.833795] scsi 0:1:5:0: Attached scsi generic sg7 type 0