Results 1 to 12 of 12
Thread: Determining Hard Drive
-
03-21-2001, 08:20 PM #1Junior Guru Wannabe
- Join Date
- Dec 2000
- Posts
- 69
I just got a dedicated server set up which is supposed to have a 10k SCSI hard drive. What is the best way to determine if a SCSI hard drive is actually installed?
When I run cat /var/log/dmesg I get the following:
VP_IDE: IDE controller on PCI bus 00 dev 21
VP_IDE: placing both ports into native PCI mode
VP_IDE: Missing I/O address #0, please report to <mj@ucw.cz>
VP_IDE: device disabled (BIOS)
floppy0: no floppy controllers found
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
raid5: MMX detected, trying high-speed MMX checksum routines
pII_mmx : 1919.478 MB/sec
p5_mmx : 2002.536 MB/sec
8regs : 1471.803 MB/sec
32regs : 867.156 MB/sec
using fastest function: p5_mmx (2002.536 MB/sec)
scsi : 0 hosts.
scsi : detected total.
md.c: sizeof(mdp_super_t) = 4096
Partition check:
RAMDISK: Compressed image found at block 0
autodetecting RAID arrays
autorun ...
... autorun DONE.
VFS: Mounted root (ext2 filesystem).
scsi : 0 hosts.
Does this mean anything?
-
03-21-2001, 08:53 PM #2Web Hosting Master
- Join Date
- Jun 2000
- Location
- Wichita, Ks, USA
- Posts
- 1,984
It looks like
It looks like you dont have scsi see where it says host detected it should read more than 0
affordablecolo.com carrier grade colocation at a affordable price!
Charles Baker - Company Operations
1-866-316-HOST
-
03-21-2001, 09:21 PM #3Web Hosting Master
- Join Date
- Jun 2000
- Location
- Southern California
- Posts
- 12,136
Not sure if this is what you are looking for, but in telnet:
df -h
and Karl posted this:
If the drives start with 's', they are SCSI (example: /dev/sdb1)
If the drives start with 'h' then they are most likely IDE (example: /dev/hda1)
-
03-21-2001, 09:25 PM #4Junior Guru Wannabe
- Join Date
- Dec 2000
- Posts
- 69
Hmmm....I get the following when I run df -h
/dev/rd/c0d0p2
-
03-21-2001, 09:52 PM #5Web Hosting Master
- Join Date
- Jun 2000
- Location
- Southern California
- Posts
- 12,136
hmmm, well you'vepicked the extent of my knowledge on the subject. Someone else will be around that actually knows something.
-
03-21-2001, 09:56 PM #6Junior Guru Wannabe
- Join Date
- Feb 2001
- Posts
- 85
That is weird. df command works on myne
Try haveing a look
cat /etc/fstab
It should list what device is mounted where, so you will be able to spot sdX of hdX.
For example the first line of myne is
/dev/hda5 /boot ext2 defaults 1 2
So the boot partiton is on first (a) IDE hard disk.
There will be 1 line for each mount point in the fstab file.
If yous are SCSI it will just be /dev/sdX
I am sure there is a better way to check on the hardware in your server but I don't know what it is.
-
03-21-2001, 09:58 PM #7Junior Guru Wannabe
- Join Date
- Dec 2000
- Posts
- 69
No problem. Thanks anyway!
-
03-21-2001, 10:00 PM #8Junior Guru Wannabe
- Join Date
- Feb 2001
- Posts
- 85
We all posted within 10 minutes LOL
-
03-21-2001, 10:37 PM #9Web Hosting Master
- Join Date
- Jan 2001
- Posts
- 2,605
No, there is no easy way to find out.
Your drive is connected via a RAID controller -- that's why you see the RAID lines in dmesg, and why the device is /dev/rd/whatever.
If you want to identify the drive, you'd have to do it through the RAID controller, ie ask the driver to ask the controller to ask the drive what it is. I'm sure that is possible, but you'd have to look in the documentation for the controller.
-
03-22-2001, 12:48 AM #10Web Hosting Guru
- Join Date
- Oct 2000
- Posts
- 337
The RAID references in the posted dmesg output are for md, the Linux software RAID driver. I've never used it, so I don't know what type of device names it uses for its logical drives.
The device names you listed, though, are definitely used by the driver for Mylex RAID cards. If there is a /proc/rd directory, it's a Mylex card, and you can find out what drives are installed. Just read the contents of /proc/rd/c0/current_status
-
03-22-2001, 01:57 AM #11Web Hosting Guru
- Join Date
- Jan 2001
- Location
- Missouri
- Posts
- 299
I don't know if this works for a raid system but I like it.
http://phpsysinfo.sourceforge.net/phpsysinfo/eeeeeeeeeeeeeeeewwwww it's broke
-
04-12-2001, 12:30 AM #12Junior Guru Wannabe
- Join Date
- Apr 2001
- Location
- Cerritos, California
- Posts
- 86
Yes, you definately have that drive connected to a RAID controller.
1) Is there any other SCSI drives attached to RAID controller?
2) If not, was the RAID controller previously used, or connected to several drives? (If so, go into the RAID utility during the boot-up. You will see a message at the bottom of the screen that says something similar to "To enter Mylex Utility, press cntrl-m", or something of that nature. Once in, go to array management and delete all RAID arrays. It appears that the controller could potentially have had an array on it previously, it thinks it is running in degraded mode with a single drive. Depending on the RAID level, you might not be able to use the drive at all (even though the system recognizes the fact that it is there.)
3) If no RAID array exists, or existed, then the RAID controller drivers are probably not installed correctly. Mylex does have Linux Read Me's, drivers, and How-To's posted.
Have Fun!
Skye Van Ferguson
Chief Technology Officer
http://www.aproimage.com
"Thinking is the hardest work there is, which is probably the reason why so few engage in it." Henry Ford