[ale] Determining # of disks on Dell with PERCRaid

Gene Matthews gene at mmc-inc.com
Thu Apr 11 14:15:37 EDT 2002


I'm trying to gather some system spec info (remotely) on a Dell 2550
server with Dell's PERCRaid controller.  I'm trying to determine the
number of physical disks.  Dell has a bios level setup to use to
configure the 'containers' as I recall which was how this was originally
set up.

Are there some commands that will give me the number of physical disks
in the system?

df -k output would lead one to believe there is only one as all f/s are
on /dev/sdaX.

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda12              256667     68299    175116  29% /
/dev/sda1               101089      6294     89576   7% /boot
/dev/sda10             1035660     44368    938684   5% /home
/dev/sda9              1035660     32824    950228   4% /opt
/dev/sda11              521748     17176    478068   4% /tmp
/dev/sda5              1548096    707072    762308  49% /usr
/dev/sda7              1035660    152748    830304  16% /usr/local
/dev/sda8              1035660     87384    895668   9% /var
/dev/sda13           274598420   1824076 258825508   1% /media
none                    127768         0    127768   0% /dev/shm




The total disk space in the Array is around 270 gig as I recall.  


Doing some searching I have seen some references to raid-tools package
which is installed, but the man page references a config file in
/etc/raidtab, which I don't have (or a raidtab file anywhere), so I
don't THINK it is using that.

I have never done much with RAID on linux but i'm thinking there surely
is a way to find this info out without having to drive to the site and
count on my fingers.

Below are some relevant (maybe?) excerpts from startup:

...

md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.

....

percraid device detected
Device mapped to virtual address 0xd084c000
percraid:0 device initialization successful
percraid:0 AacHba_ClassDriverInit complete
PCI: Found IRQ 5 for device 02:02.1
PCI: Sharing IRQ 5 with 03:04.0
scsi1 : percraid
  Vendor: DELL      Model: PERCRAID RAID5    Rev: 0001
  Type:   Direct-Access                      ANSI SCSI revision: 02
spurious 8259A interrupt: IRQ7.
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 573427712 512-byte hdwr sectors (293595 MB)


I'm thinking that the system THINKS there is only one SCSI disk for a
total of ~286 Gig which meshes with the df -k output.  But I KNOW there
is multiple disks, just not sure how many.

I'm not sure what the MD_SB_DISKS line from the md stuff is either, but
it can't be the number of disks as there is no external cabinet and the
whole Dell 2550 is only 2u in size.


I just thought to look in /proc/devices:

[root at prodmedia proc]# cat devices
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 ttyS
  5 cua
  7 vcs
 10 misc
 29 fb
 36 netlink
128 ptm
129 ptm
130 ptm
131 ptm
132 ptm
133 ptm
134 ptm
135 ptm
136 pts
137 pts
138 pts
139 pts
140 pts
141 pts
142 pts
143 pts
162 raw
254 aac

Block devices:
  1 ramdisk
  2 fd
  3 ide0
  8 sd    <- SCSI Hard Disk?
  9 md
 65 sd    <- SCSI Hard Disk ?
 66 sd	  <- SCIS Hard Disk ?


Is this telling me there are three SCSI hard disks?  

I'd appreciate any pointers....



Thanks,

Gene

-- 
Gene Matthews
Matthews Midrange Consulting, Inc.
(678) 923-8327
(877) 882-6291 (toll free)
http://mmc-inc.com


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list