mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* harddisk support
@ 2001-06-21  4:52 mdaljeet
  2001-06-21  5:34 ` Andreas Dilger
  2001-06-21  5:41 ` Bernd Eckenfels
  0 siblings, 2 replies; 3+ messages in thread
From: mdaljeet @ 2001-06-21  4:52 UTC (permalink / raw)
  To: linux-kernel

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: harddisk support
  2001-06-21  4:52 harddisk support mdaljeet
@ 2001-06-21  5:34 ` Andreas Dilger
  2001-06-21  5:41 ` Bernd Eckenfels
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Dilger @ 2001-06-21  5:34 UTC (permalink / raw)
  To: mdaljeet; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: harddisk support
  2001-06-21  4:52 harddisk support mdaljeet
  2001-06-21  5:34 ` Andreas Dilger
@ 2001-06-21  5:41 ` Bernd Eckenfels
  1 sibling, 0 replies; 3+ messages in thread
From: Bernd Eckenfels @ 2001-06-21  5:41 UTC (permalink / raw)
  To: linux-kernel

In article <CA256A72.001BA0E4.00@d73mta01.au.ibm.com> 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
...

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-06-21  5:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-21  4:52 harddisk support mdaljeet
2001-06-21  5:34 ` Andreas Dilger
2001-06-21  5:41 ` Bernd Eckenfels

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®