How to find missing disks on Sun x4150 without reboot?

Hi, Here is the issue: There are 4 disks on this Sun x4150 system under Solaris 10, but only 1 disk can be seen by the OS. I've tried commands disks and devfsadm but not working. It's an important production server, so 'reboot -r' is not a choice.

# format < /dev/null
Searching for disks...done
AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <DEFAULT cyl 35666 alt 2 hd 255 sec 63>
          /pci@0,0/pci8086,25f8@4/pci108e,286@0/disk@0,0
Specify disk (enter its number):
 
# iostat -E
sd0       Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
Vendor: TSSTcorp Product: CD/DVDW TS-T632A Revision: SR03 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0
sd1       Soft Errors: 2 Hard Errors: 0 Transport Errors: 0
Vendor: Sun      Product: STK RAID INT     Revision: V1.0 Serial No:
Size: 293.39GB <293391564288 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 2 Predictive Failure Analysis: 0
 
# cfgadm -al
Ap_Id                          Type         Receptacle   Occupant     Condition
c0                             scsi-bus     connected    configured   unknown
c0::dsk/c0t0d0                 disk         connected    configured   unknown
pcie32                         etherne/hp   connected    configured   ok
usb0/1                         unknown      empty        unconfigured ok
usb0/2                         unknown      empty        unconfigured ok
usb1/1                         unknown      empty        unconfigured ok
usb1/2                         usb-device   connected    configured   ok
usb2/1                         unknown      empty        unconfigured ok
usb2/2                         unknown      empty        unconfigured ok
usb3/1                         unknown      empty        unconfigured ok
usb3/2                         unknown      empty        unconfigured ok
usb4/1                         usb-storage  connected    configured   ok
usb4/2                         unknown      empty        unconfigured ok
usb4/3                         unknown      empty        unconfigured ok
usb4/4                         unknown      empty        unconfigured ok
usb4/5                         unknown      empty        unconfigured ok
usb4/6                         usb-hub      connected    configured   ok
usb4/6.1                       unknown      empty        unconfigured ok
usb4/6.2                       unknown      empty        unconfigured ok
usb4/6.3                       unknown      empty        unconfigured ok
usb4/6.4                       unknown      empty        unconfigured ok
usb4/7                         unknown      empty        unconfigured ok
usb4/8                         unknown      empty        unconfigured ok

Thank you in advance!

Im pretty sure the X4150's have internal raid controllers. If you do and you are using it, you have to go into that at boot and add the volumes.

1 Like

I think you are right. That's also my study result. If these disks were not configured at BIOS level, they won't be recognized by the OS.

That's a big issue. We have to make a down time to reconfigure the disks at BIOS level.

Is there a better solution?

what is the output of:

# raidctl -l c0t0d0

?

edit:
the above won't work... it's the STK raid controller... but, you can use the software from intel to manage the raid-controller from os level
link to docu:
http://download.oracle.com/docs/cd/E19691-01/820-2755-17/ReleaseNotes.html\#0_60725
link to sofware:

1 Like

Thanks a lot, DukeNuke2. The info you provided is very helpful. I am working on it now.

Individual disks are not seen in the O/S if RAID is configured on the LSI controllers (just the volume name) but disks can be not seen at all in the O/S with Adaptec (Sun STK) controllers without first initializing them.
The Adaptec based cards require all disks to be initialized first in the BIOS level setup utility before the O/S is given a device path to them.
This is the same for all operating systems installed.

So, checkout the result of the following Solaris command:

/opt/StorMan/arcconf GETCONFIG 1

You may see all the disks you have installed in a pre-configured RAID volume.

If you just see the one disk then reboot, and in BIOS select <CTRL><A> when prompted.
Then initialize the remaining disks detected in the BIOS setup utility that presents itself after <CTRL><A> is pressed.

The BIOS output will look something like this so press <CTRL><A> when you see this:

OUTPUT AT BOOT TIME WITH SUN STK ADAPTEC CONTROLLER:
Adaptec RAID BIOS V5.3-0 [Build 16732]
(c) 1998-2008 Adaptec, Inc. All Rights Reserved
Press <Ctrl><A> for Adaptec RAID
Booting the Controller Kernel....Controller started
Controller #00: Sun STK RAID EXT at PCI Slot:02, Bus:04, Dev:00, Func:00
Waiting for Controller to Start....Controller started
Controller monitor V5.3-0 [16732], Controller kernel V5.3-0 [16732]
Battery Backup Unit Present
Controller POST operation successful
Controller Memory Size: 256 MB
Controller Serial Number: SOMESERIALNUM
Controller WWN: SOMEWWNNUMBER
One or more drives are either missing or not responding.
Please check if the drives are connected and powered on.
Press <Enter> to accept the current configuration.
Press <Ctrl-A> to enter Adaptec RAID Configuration Utility.
Press <Ctrl-H> to Pause Configuration Messages.
(Default is not to accept if no valid key pressed in 30 second)
Timeout. BIOS took the default Configuration.
Location Model Rev# Speed Size
----------------------------------------------------------
J0 : Dev 00 ATA SEAGATE ST32500N 3AZQ 3.0G 238.4 GB
J1 : Dev 00 ATA SEAGATE ST32500N 3AZQ 3.0G 238.4 GB
J2 : Dev 00 ATA SEAGATE ST32500N 3AZQ 3.0G 238.4 GB
J3 : Dev 00 ATA SEAGATE ST32500N 3AZQ 3.0G 238.4 GB

Hope this helps,

  • tonymac

---------- Post updated at 01:00 PM ---------- Previous update was at 12:55 PM ----------

You iostat output shows it's an Adaptec (STK) card pre-configured with a RAID volume:

Vendor: Sun Product: STK RAID INT Revision: V1.0 Serial No: Size: 293.39GB <293391564288 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 2 Predictive Failure Analysis: 0
If RAID was not configured, the details in the "Product:" field would be the drive vendor like Seagate, not the string "STK RAID INT"

So, the following command will indeed tell you all about your Adaptec (STK) RAID configuraiton:

/opt/StorMan/arcconf GETCONFIG 1

Hope this helps,

  • tonymac
1 Like

I installed the StorageTek Raid Manager called arcconf that can see all the physical disks.

Thanks!