Results 1 to 12 of 12
  1. #1
    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?

  2. #2
    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

  3. #3
    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)
    HostHideout.com - Where professionals discuss web hosting.

    • Chicken

  4. #4
    Join Date
    Dec 2000
    Posts
    69
    Hmmm....I get the following when I run df -h

    /dev/rd/c0d0p2

  5. #5
    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.
    HostHideout.com - Where professionals discuss web hosting.

    • Chicken

  6. #6
    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.

  7. #7
    Join Date
    Dec 2000
    Posts
    69
    No problem. Thanks anyway!

  8. #8
    Join Date
    Feb 2001
    Posts
    85
    We all posted within 10 minutes LOL

  9. #9
    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.

  10. #10
    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



  11. #11
    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

  12. #12
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •