Re: harddisk support

Andreas Dilger (adilger@turbolinux.com)
Wed, 20 Jun 2001 23:34:39 -0600 (MDT)


Daljeet writes:
> 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

-- 
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/