Skip to contentSkip to conversation

harddisk support

DISCUSSION [email protected] 3 participants 3 messages Jun 21, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

I do not know whether I should ask this question on this mailing list, but it definitely has to do either with the kernel confiuration or kernel support.

In the '/dev' tree, the device file entries for SCSI harddisks ranges from '/dev/sda' to '/dev/sdp'. If I attach 17 scsi harddisks to a system, the 17th harddisk is shown as '/dev/sdq' in '/proc/partitions' but there is no entry in the '/dev' tree. If I try to access '/dev/sdq' either through
fdisk or through any other simple C programs, it gives error saying, can
not open device '/dev/sdq'.

How can I access more than 16 harddisks?

Regards,
Daljeet.

#1 lore raw
Quoted 8 lines · Daljeet

In the '/dev' tree, the device file entries for SCSI harddisks ranges from '/dev/sda' to '/dev/sdp'. If I attach 17 scsi harddisks to a system, the 17th harddisk is shown as '/dev/sdq' in '/proc/partitions' but there is no entry in the '/dev' tree. If I try to access '/dev/sdq' either through
fdisk or through any other simple C programs, it gives error saying, can
not open device '/dev/sdq'.

How can I access more than 16 harddisks?

Use the MAKEDEV script to make the extra /dev/sd* entries. Like:

cd /dev; MAKEDEV sdq sdr sds sdt sdu sdv sdw sdx sdy sdz sdaa ...

You can make up to 128 SCSI disks, all the way to /dev/sddx.

Cheers, Andreas

Signature · 3 lines
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert