harddisk support
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.
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/ -- DogbertQuoted 1 line · In article <[email protected]> you wrote:
How can I access more than 16 harddisks?
Create the Device File with:
cd /dev ; MAKEDEV sdq
-or-
cd /dev ; mknod sdq b 65 0
mknod sdq1 b 65 1
...