Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

How many sg devices do typically support 2.6 kernels.

Masthan
Advisor

How many sg devices do typically support 2.6 kernels.

As per sub..
2 REPLIES
Stuart Browne
Honored Contributor

Re: How many sg devices do typically support 2.6 kernels.

How many do you need?

By default, RHEL4 supports 16 (a-p).

That being said, this is from the 'Linux Allocated Devices' documentation:

21 char Generic SCSI access
0 = /dev/sg0 First generic SCSI device
1 = /dev/sg1 Second generic SCSI device
...

Most distributions name these /dev/sga, /dev/sgb...;
this sets an unnecessary limit of 26 SCSI devices in
the system and is counter to standard Linux
device-naming practice.
One long-haired git at your service...
Stuart Browne
Honored Contributor

Re: How many sg devices do typically support 2.6 kernels.

Dang, meant to hit edit..

So, what that little block of text means (from http://www.lanana.org/docs/device-list/devices.txt by the way) is that Linux can support up to 254 (0-255) without any issue.
One long-haired git at your service...