[NTLUG:Discuss] How does one identify a device based on the kernel designation/number?

Bob Netherton Bob.Netherton at Sun.COM
Thu Apr 24 10:56:11 CDT 2008


On Thu, 2008-04-24 at 09:51 -0500, Richard Geoffrion wrote:
> Where does one go to track down and identify/interpet  which devices 
> belongs to a kernel assigned device number??
> 
> kernel:  I/O error: dev 08:60, sector 0
> kernel:  I/O error: dev 08:61, sector 0
> 
> 
> How does one find what device 08:60 is??

That sure looks like a nice major:minor pair.

# cat /proc/devices
<snip>

Block devices:
  1 ramdisk
  2 fd
  8 sd
  9 md
 11 sr

which shows that 8 is the sd driver.

The minor number comes in groups of 8, so 60 and 61 would be

sde4 and sde5.

Does that sound right to you ?   Check /dev/sd*


Bob




More information about the Discuss mailing list