GNU/Linux: SAS-disk detected as /dev/sg7 - not as /dev/sdb
- by Ole Tange
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 fdisk and cat hang.
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