GNU/Linux: SAS-disk detected as /dev/sg7 - not as /dev/sdb

Posted by Ole Tange on Server Fault See other posts from Server Fault or by Ole Tange
Published on 2013-06-25T08:30:46Z Indexed on 2013/06/25 10:23 UTC
Read the original article Hit count: 422

Filed under:
|
|
|
|

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

© Server Fault or respective owner

Related posts about linux

Related posts about hard-drive