Find the answer to your Linux question:
Results 1 to 3 of 3
Hello. I'm trying to determine what I have here. Here's what I know about the box: 1. It has a 3ware 9550SX RAID controller card in it. 2. There are ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    9

    What is in this box?


    Hello. I'm trying to determine what I have here.

    Here's what I know about the box:

    1. It has a 3ware 9550SX RAID controller card in it.
    2. There are six drive bays in the front of the machine with lit lights.
    3. There are two external drives connected via USB to this machine.

    I need to know, what is connected to the 3ware 9550SX controller? I
    can't look in the controller BIOS because the machine is in a remote location.

    How many drives and what are the sizes of each drive? Just because the
    drive bay is lit doesn't mean that there may be a drive in there.

    How large are the USB drives connected to the machine?

    What RAID configuration are the USB drives in? (If they are?)

    First, are there any additional commands that I can use to determine this data?

    There are references to sdd and sde in dmsg, are those the USB drives?

    Any ideas? Thanks in advance.

    Here's the output from fdisk -l:

    Disk /dev/sda: 1199.9 GB, 1199966257152 bytes
    255 heads, 63 sectors/track, 145887 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 1217 9775521 fd Linux raid autodetect
    /dev/sda2 1218 145286 1157234242+ 83 Linux
    /dev/sda3 145287 145887 4827532+ 82 Linux swap / Solaris

    Disk /dev/sdb: 1199.9 GB, 1199966257152 bytes
    255 heads, 63 sectors/track, 145887 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 1217 9775521 fd Linux raid autodetect
    /dev/sdb2 1218 145286 1157234242+ 83 Linux
    /dev/sdb3 145287 145887 4827532+ 82 Linux swap / Solaris

    Disk /dev/sdc: 8 MB, 8388608 bytes
    8 heads, 32 sectors/track, 64 cylinders
    Units = cylinders of 256 * 512 = 131072 bytes

    Disk /dev/sdc doesn't contain a valid partition table

    Disk /dev/md0: 10.0 GB, 10010034176 bytes
    2 heads, 4 sectors/track, 2443856 cylinders
    Units = cylinders of 8 * 512 = 4096 bytes

    Disk /dev/md0 doesn't contain a valid partition table

    --

    Here's some relevant output from dmesg:

    megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
    megaraid: 2.20.4.9 (Release Date: Sun Jul 16 12:27:22 EST 2006)
    GDT-HA: Storage RAID Controller Driver. Version: 3.05
    GDT-HA: Found 0 PCI Storage RAID Controllers
    3ware Storage Controller device driver for Linux v1.26.02.001.
    3ware 9000 Storage Controller device driver for Linux v2.26.02.007.
    3w-9xxx: scsi2: AEN: WARNING (0x04:0x000: Unclean shutdown detected:unit=0.
    3w-9xxx: scsi2: AEN: WARNING (0x04:0x000: Unclean shutdown detected:unit=1.
    scsi2 : 3ware 9000 Storage Controller
    3w-9xxx: scsi2: Found a 3ware 9000 Storage Controller at 0xda100000, IRQ: 24.
    3w-9xxx: scsi2: Firmware FE9X 3.01.01.028, BIOS BE9X 3.01.00.024, Ports: 8.
    Vendor: AMCC Model: 9550SX-8LP DISK Rev: 3.01
    Type: Direct-Access ANSI SCSI revision: 03
    Vendor: AMCC Model: 9550SX-8LP DISK Rev: 3.01
    Type: Direct-Access ANSI SCSI revision: 03
    nsp32: loading...
    ipr: IBM Power RAID SCSI Device Driver version: 2.1.3 (March 29, 2006)
    libata version 2.00 loaded.
    SCSI device sda: 2343684096 512-byte hdwr sectors (1199966 MB)
    sda: Write Protect is off
    sda: Mode Sense: 23 00 00 00
    SCSI device sda: drive cache: none
    SCSI device sda: 2343684096 512-byte hdwr sectors (1199966 MB)
    sda: Write Protect is off
    sda: Mode Sense: 23 00 00 00
    SCSI device sda: drive cache: none
    sda: sda1 sda2 sda3
    sd 2:0:0:0: Attached scsi disk sda
    SCSI device sdb: 2343684096 512-byte hdwr sectors (1199966 MB)
    sdb: Write Protect is off
    sdb: Mode Sense: 23 00 00 00
    SCSI device sdb: drive cache: none
    SCSI device sdb: 2343684096 512-byte hdwr sectors (1199966 MB)
    sdb: Write Protect is off
    sdb: Mode Sense: 23 00 00 00
    SCSI device sdb: drive cache: none
    sdb: sdb1 sdb2 sdb3
    sd 2:0:1:0: Attached scsi disk sdb
    sd 2:0:0:0: Attached scsi generic sg0 type 0
    sd 2:0:1:0: Attached scsi generic sg1 type 0
    SCSI Media Changer driver v0.25
    scsi3 : scsi_debug, version 1.79 [20060604], dev_size_mb=8, opts=0x0
    Vendor: Linux Model: scsi_debug Rev: 0004
    Type: Direct-Access ANSI SCSI revision: 05
    SCSI device sdc: 16384 512-byte hdwr sectors (8 MB)
    sdc: Write Protect is off
    sdc: Mode Sense: 6b 00 00 00
    SCSI device sdc: drive cache: write back
    SCSI device sdc: 16384 512-byte hdwr sectors (8 MB)
    sdc: Write Protect is off
    sdc: Mode Sense: 6b 00 00 00
    SCSI device sdc: drive cache: write back
    sdc: unknown partition table
    sd 3:0:0:0: Attached scsi disk sdc
    sd 3:0:0:0: Attached scsi generic sg2 type 0
    I2O subsystem v1.325
    i2o: max drivers = 8
    I2O Configuration OSM v1.323
    I2O Bus Adapter OSM v1.317
    I2O Block Device OSM v1.325
    I2O SCSI Peripheral OSM v1.316
    I2O ProcFS OSM v1.316
    Fusion MPT base driver 3.04.01
    Copyright (c) 1999-2005 LSI Logic Corporation
    Fusion MPT SPI Host driver 3.04.01
    Fusion MPT FC Host driver 3.04.01
    Fusion MPT SAS Host driver 3.04.01
    Fusion MPT misc device (ioctl) driver 3.04.01
    mptctl: Registered with Fusion MPT base driver
    mptctl: /dev/mptctl @ (major,minor=10,220)
    Fusion MPT LAN driver 3.04.01
    usbmon: debugfs is not available
    usbcore: registered new driver hiddev
    usbcore: registered new driver usbhid
    drivers/usb/input/hid-core.c: v2.6:USB HID core driver
    PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
    serio: i8042 AUX port at 0x60,0x64 irq 12
    serio: i8042 KBD port at 0x60,0x64 irq 1
    mice: PS/2 mouse device common for all mice
    md: linear personality registered for level -1
    md: raid0 personality registered for level 0
    md: raid1 personality registered for level 1
    md: raid10 personality registered for level 10
    md: multipath personality registered for level -4
    md: faulty personality registered for level -5
    md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
    md: bitmap version 4.39
    device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
    device-mapper: multipath: version 1.0.4 loaded
    input: AT Translated Set 2 keyboard as /class/input/input0
    device-mapper: multipath round-robin: version 1.0.0 loaded
    device-mapper: multipath emc: version 0.0.3 loaded
    TCP bic registered
    Initializing IPsec netlink socket
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    NET: Registered protocol family 5
    802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
    All bugs added by David S. Miller <davem@redhat.com>
    Starting balanced_irq
    Using IPI Shortcut mode
    drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    Time: tsc clocksource has been installed.
    md: Autodetecting RAID arrays.
    md: autorun ...
    md: considering sdb1 ...
    md: adding sdb1 ...
    md: adding sda1 ...
    md: created md0
    md: bind<sda1>
    md: bind<sdb1>
    md: running: <sdb1><sda1>
    md: md0: raid array is not clean -- starting background reconstruction
    raid1: raid set md0 active with 2 out of 2 mirrors
    md: ... autorun DONE.
    md: syncing RAID array md0
    md: minimum _guaranteed_ reconstruction speed: 1000 KB/sec/disc.
    md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for reconstruction.
    md: using 128k window, over a total of 9775424 blocks.
    EXT3-fs: INFO: recovery required on readonly filesystem.
    EXT3-fs: write access will be enabled during recovery.
    kjournald starting. Commit interval 5 seconds
    EXT3-fs: recovery complete.
    EXT3-fs: mounted filesystem with ordered data mode.
    VFS: Mounted root (ext3 filesystem) readonly.
    Freeing unused kernel memory: 368k freed
    input: PC Speaker as /class/input/input1
    PCI: Setting latency timer of device 0000:00:1d.7 to 64
    ehci_hcd 0000:00:1d.7: EHCI Host Controller
    ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
    ehci_hcd 0000:00:1d.7: debug port 1
    PCI: cache line size of 128 is not supported by device 0000:00:1d.7
    ehci_hcd 0000:00:1d.7: irq 23, io mem 0xda700000
    ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 8 ports detected
    USB Universal Host Controller Interface driver v3.0
    Intel(R) PRO/1000 Network Driver - version 7.1.9-k4-NAPI
    Copyright (c) 1999-2006 Intel Corporation.
    PCI: Setting latency timer of device 0000:00:1d.0 to 64
    uhci_hcd 0000:00:1d.0: UHCI Host Controller
    uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
    uhci_hcd 0000:00:1d.0: irq 23, io base 0x00003000
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 2 ports detected
    PCI: Setting latency timer of device 0000:00:1d.1 to 64
    uhci_hcd 0000:00:1d.1: UHCI Host Controller
    uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
    uhci_hcd 0000:00:1d.1: irq 19, io base 0x00003020
    usb usb3: configuration #1 chosen from 1 choice
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 2 ports detected
    PCI: Setting latency timer of device 0000:00:1d.2 to 64
    uhci_hcd 0000:00:1d.2: UHCI Host Controller
    uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
    usb 1-1: new high speed USB device using ehci_hcd and address 2
    uhci_hcd 0000:00:1d.2: irq 18, io base 0x00003040
    usb usb4: configuration #1 chosen from 1 choice
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 2 ports detected
    PCI: Setting latency timer of device 0000:00:1d.3 to 64
    uhci_hcd 0000:00:1d.3: UHCI Host Controller
    uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
    uhci_hcd 0000:00:1d.3: irq 16, io base 0x00003060
    usb usb5: configuration #1 chosen from 1 choice
    hub 5-0:1.0: USB hub found
    hub 5-0:1.0: 2 ports detected
    usb 1-1: configuration #1 chosen from 1 choice
    input: ImExPS/2 Generic Explorer Mouse as /class/input/input2
    PCI: Unable to reserve mem region #1:8000000@d0000000 for device 0000:0a:03.0
    radeonfb (0000:0a:03.0): cannot request region 0.
    radeonfb: probe of 0000:0a:03.0 failed with error -16
    PCI: Setting latency timer of device 0000:04:00.0 to 64
    e1000: 0000:04:00.0: e1000_probe: (PCI Express:2.5Gb/s:Width x1) 00:14:85:eb:61:04
    e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
    PCI: Setting latency timer of device 0000:05:00.0 to 64
    usb 1-2: new high speed USB device using ehci_hcd and address 3
    e1000: 0000:05:00.0: e1000_probe: (PCI Express:2.5Gb/s:Width x1) 00:14:85:eb:61:05
    e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
    usb 1-2: configuration #1 chosen from 1 choice
    Initializing USB Mass Storage driver...
    scsi4 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 2
    usb-storage: waiting for device to settle before scanning
    scsi5 : SCSI emulation for USB Mass Storage devices
    usbcore: registered new driver usb-storage
    usb-storage: device found at 3
    usb-storage: waiting for device to settle before scanning
    USB Mass Storage support registered.
    Adding 4827524k swap on /dev/sda3. Priority:1 extents:1 across:4827524k
    Adding 4827524k swap on /dev/sdb3. Priority:1 extents:1 across:4827524k
    Vendor: USB 2.0 Model: Storage Device Rev: 0111
    Type: Direct-Access ANSI SCSI revision: 00
    Vendor: USB 2.0 Model: Storage Device Rev: 0111
    Type: Direct-Access ANSI SCSI revision: 00
    SCSI device sdd: 781422746 512-byte hdwr sectors (400088 MB)
    sdd: Write Protect is off
    sdd: Mode Sense: 08 00 00 00
    sdd: assuming drive cache: write through
    SCSI device sdd: 781422745 512-byte hdwr sectors (400088 MB)
    sdd: Write Protect is off
    sdd: Mode Sense: 08 00 00 00
    sdd: assuming drive cache: write through
    sdd: sdd1
    sd 5:0:0:0: Attached scsi disk sdd
    sd 5:0:0:0: Attached scsi generic sg3 type 0
    usb-storage: device scan complete
    SCSI device sde: 781422732 512-byte hdwr sectors (400088 MB)
    sde: Write Protect is off
    sde: Mode Sense: 08 00 00 00
    sde: assuming drive cache: write through
    SCSI device sde: 781422731 512-byte hdwr sectors (400088 MB)
    sde: Write Protect is off
    sde: Mode Sense: 08 00 00 00
    sde: assuming drive cache: write through
    sde: sde1
    sd 4:0:0:0: Attached scsi disk sde
    sd 4:0:0:0: Attached scsi generic sg4 type 0
    usb-storage: device scan complete
    3w-9xxx: scsi2: AEN: INFO (0x04:0x000C): Initialize started:unit=0.
    3w-9xxx: scsi2: AEN: INFO (0x04:0x000C): Initialize started:unit=1.
    md: md0: sync done.
    RAID1 conf printout:
    --- wd:2 rd:2
    disk 0, wo:0, o:1, dev:sda1
    disk 1, wo:0, o:1, dev:sdb1
    EXT3 FS on md0, internal journal
    kjournald starting. Commit interval 5 seconds
    EXT3 FS on sda2, internal journal
    EXT3-fs: mounted filesystem with ordered data mode.
    kjournald starting. Commit interval 5 seconds
    EXT3 FS on sdb2, internal journal
    EXT3-fs: mounted filesystem with ordered data mode.
    e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex
    e1000: eth0: e1000_watchdog: 10/100 speed: disabling TSO
    e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
    NET: Registered protocol family 10
    lo: Disabled Privacy Extensions
    IPv6 over IPv4 tunneling driver
    vmmon: module license 'unspecified' taints kernel.
    /dev/vmmon[2491]: Module vmmon: registered with major=10 minor=165
    /dev/vmmon[2491]: Module vmmon: initialized
    parport: PnPBIOS parport detected.
    parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
    /dev/vmnet: open called by PID 2529 (vmnet-bridge)
    /dev/vmnet: hub 0 does not exist, allocating memory.
    /dev/vmnet: port on hub 0 successfully opened
    bridge-eth0: enabling the bridge
    bridge-eth0: up
    bridge-eth0: already up
    bridge-eth0: attached
    eth1: no IPv6 routers present
    eth0: no IPv6 routers present
    /dev/vmnet: open called by PID 2858 (vmnet-netifup)
    /dev/vmnet: hub 1 does not exist, allocating memory.
    /dev/vmnet: port on hub 1 successfully opened
    /dev/vmnet: open called by PID 2869 (vmnet-dhcpd)
    /dev/vmnet: port on hub 1 successfully opened
    vmnet1: no IPv6 routers present
    3w-9xxx: scsi2: AEN: INFO (0x04:0x003C): Initialize paused:unit=0.
    3w-9xxx: scsi2: AEN: INFO (0x04:0x003C): Initialize paused:unit=1.
    3w-9xxx: scsi2: AEN: INFO (0x04:0x000C): Initialize started:unit=0.
    3w-9xxx: scsi2: AEN: INFO (0x04:0x000C): Initialize started:unit=1.
    3w-9xxx: scsi2: AEN: INFO (0x04:0x0007): Initialize completed:unit=1.
    3w-9xxx: scsi2: AEN: INFO (0x04:0x0007): Initialize completed:unit=0.
    e1000: eth1: e1000_watchdog: NIC Link is Down
    e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
    e1000: eth1: e1000_watchdog: NIC Link is Down
    e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
    e1000: eth1: e1000_watchdog: NIC Link is Down
    e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
    e1000: eth1: e1000_watchdog: NIC Link is Down
    e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
    e1000: eth1: e1000_watchdog: NIC Link is Down
    e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
    e1000: eth0: e1000_watchdog: NIC Link is Down
    e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex
    e1000: eth0: e1000_watchdog: 10/100 speed: disabling TSO
    e1000: eth0: e1000_watchdog: NIC Link is Down
    e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex
    e1000: eth0: e1000_watchdog: 10/100 speed: disabling TSO
    e1000: eth0: e1000_watchdog: NIC Link is Down
    e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex
    e1000: eth0: e1000_watchdog: 10/100 speed: disabling TSO
    e1000: eth0: e1000_watchdog: NIC Link is Down
    e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex
    e1000: eth0: e1000_watchdog: 10/100 speed: disabling TSO
    usb 1-2: reset high speed USB device using ehci_hcd and address 3
    usb 1-2: device descriptor read/64, error -71
    usb 1-2: device descriptor read/64, error -71
    usb 1-2: reset high speed USB device using ehci_hcd and address 3
    usb 1-2: device descriptor read/64, error -71
    usb 1-2: device descriptor read/64, error -71
    usb 1-2: reset high speed USB device using ehci_hcd and address 3
    usb 1-2: device not accepting address 3, error -71
    usb 1-2: reset high speed USB device using ehci_hcd and address 3
    usb 1-2: device not accepting address 3, error -71
    usb 1-2: USB disconnect, address 3
    sd 5:0:0:0: SCSI error: return code = 0x00070000
    end_request: I/O error, dev sdd, sector 0
    Buffer I/O error on device sdd, logical block 0
    Buffer I/O error on device sdd, logical block 1
    Buffer I/O error on device sdd, logical block 2
    Buffer I/O error on device sdd, logical block 3
    Buffer I/O error on device sdd, logical block 4
    Buffer I/O error on device sdd, logical block 5
    Buffer I/O error on device sdd, logical block 6
    Buffer I/O error on device sdd, logical block 7
    sd 5:0:0:0: SCSI error: return code = 0x00070000
    end_request: I/O error, dev sdd, sector 0
    Buffer I/O error on device sdd, logical block 0
    Buffer I/O error on device sdd, logical block 1
    usb 1-2: new high speed USB device using ehci_hcd and address 4
    usb 1-2: configuration #1 chosen from 1 choice
    scsi6 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 4
    usb-storage: waiting for device to settle before scanning
    usb 1-2: reset high speed USB device using ehci_hcd and address 4
    usb 1-2: reset high speed USB device using ehci_hcd and address 4
    usb 1-2: reset high speed USB device using ehci_hcd and address 4
    usb 1-1: USB disconnect, address 2
    sd 4:0:0:0: SCSI error: return code = 0x00070000
    end_request: I/O error, dev sde, sector 0
    printk: 6 messages suppressed.
    Buffer I/O error on device sde, logical block 0
    Buffer I/O error on device sde, logical block 1
    sd 4:0:0:0: SCSI error: return code = 0x00070000
    end_request: I/O error, dev sde, sector 0
    usb 1-2: reset high speed USB device using ehci_hcd and address 4
    usb-storage: device scan complete

    Thanks once again.

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,746
    Here is what I can see from the info posted:

    You have some number of disks attached to the 3Ware card and configured as (2) 1.2TB volumes. (Disks sda and sdb.)

    Both sda and sdb have 3 partitions:
    1 = 10GB (Mirror between both disks)
    2 = Big Slice (Not sure how/where it's mounted)
    3 = Swap (4GB on each disk for 8GB of swap)

    It looks like sdc is 8MB of "leftover" space from the 3Ware (would have to see /proc/scsi/scsi to be sure.)

    Yes, sdd and sde are external USB drives - 400GB each.

    The configuration of the internal disks is hidden from the kernel by the array card. The only device that knows that config is the 3Ware, so you'd have to get the info from the card. Without some software designed to talk to the card, you *might* find some info from the 3Ware driver by cat'ing /proc/scsi/<3ware_driver>/<channel_id>

    Further info would be found with:
    cat /proc/scsi/scsi
    cat /etc/mtab

  3. #3
    Just Joined!
    Join Date
    Dec 2007
    Posts
    9

    Thanks!

    Thank you very much for your help. I think I know how the guy did it.

    Makes sense.

    Take the 3ware controllers and make two RAID 5 arrays, three drives each.
    (Each drive must be 750 GB each then for a total of 1.2 TB usable) Then, use
    Software RAID 1 for the OS partition on / .. then have seperate partitions
    for each of the RAID 5 arrays.

Posting Permissions

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