![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Predictive Self-Healing Sure Solution 1565521.1 : Sun Fire X4500/X4540 Hard Disk Suite (SUNWhd) and hdtool
Applies to:Sun Fire X4500 Server - Version Not Applicable and laterSun Fire X4540 Server - Version Not Applicable and later Information in this document applies to any platform. PurposeThis document contains details about the Sun Fire X4500/X4540 Hard Disk Suite (the SUNWhd package) and/or the hdtool. Solaris (SUNWhd) Note: The feature set for each OS version differs. Be sure to read the README files as well as the documention that is specific for your OS.
DetailsSUNWhd (Solaris) The SUNWhd package adds the useful "hd" command. "hd" is a hard drive logical/physical location mapping/query utility primary for x64/Sun Fire X4500/X4540 system. The x64/Sun Fire X4500/X4540 system supports 48 internal SATA drives in the system. The "hd" output enables user to locate all the disks in the Sun Fire X4500/X4540 system visually based on the physical topology of the Sun Fire X4500/X4540 drives. The" hd"'s SATA drive mapping outputs are what you see is what you get (WYSIWYG) on the Sun Fire X4500/X4540's physical location of the drives. Here is the Tools and Drivers README file for the Solaris version: Solaris hdtool Directory
This directory contains Solaris hdtool package used with the Sun Fire™ X4540/X4500 server for Software Release 2.0. Here is the package:
Using Solaris hdtool : 1. To install # pkgadd -d ./SUNWhd-1.07.pkg 2. To remove "SUNWhd" package # pkgrm SUNWhd 3. To use hd # hd -c 4. More info: # hd -h Look at : /opt/SUNWhd/hd/bin/hdadm.html /opt/SUNWhd/hd/bin/hd.html
The Solaris storage devices have different logical name. The -i option lists (maps) cXtY, sd# and PCI path each storage device. Using the output from both commands we can determine the chassis slot location no matter if we have the cXtY name, the sd# name, or the PCI path. Looking at both outputs below, for example we can tell: The disk c3t7 is located in slot #37 # hd It may be helpful to see the first two disk in the above example highlighted in the hd output,
x64 Servers Utilities Reference Manual "hd Utility", here: http://docs.oracle.com/cd/E19469-01/820-1120-22/chapter1.html#CEHIAJFE There is also a small bit of information in the install directory of the Tools & Drives CD. Look in the ..\solaris\tools\hdtool directory. Once you install the SUNWhd package you can use hd -h for a brief description of the options: # hd -h
Usage: hd [ -c(olor mode) ] [ -s(ummary) ] [ -p(latform) ] [ -b(ypass) to print SunFireX4500 map ] [ -d(iagnose)] [-f { syslog_file } ] [ -m { adjacent | cross | front2back | diagonal } Mapping pairs ] [ -w { <pci_disk_device_path> } ] [ -a (fdisk pArtition type) ] [ -q (list drive slot number in seQuential list) ] [ -g (list drive slot number in seQuential list with temperature ) ] [ -l (List SunFireX4500/X4540 available disk in physical orders) ] [ -r (List SMART data for all disks in drive slot number) ] [ -R (List SMART data's individual id in landscape view for all disks) ] [ -e <cXtY> (List SMART data for specified disk) ] [ -E <cXtY> (List raw hex SMART data for specified disk) ] [ -j (List SunFireX4500/X4540 HBA controller numbers and pci nodes) ] [ -T (List vtoc for all drives for SunFireX4500/X4540 platform) ] [ -t (List vtoc for specified drives) ] [ -i (List cXtY, sd# and PCI path) ] [ -o (List LSI HBA#, Drive Target# and cXtY) ] [ -x (Generate hd_map.html) ]
hdtool (Linux) For additional information on the Linux version of hd, refer to the x64 Servers Utilities Reference Manual: "hd utility" here: http://docs.oracle.com/cd/E19469-01/820-1120-22/chapter1.html#CEHIAJFE and Chapter 4 "Using the hd utility on Linux" here: http://docs.oracle.com/cd/E19469-01/820-1120-22/chapter4.html#BBJGBFHF Chapter 4 includes the following sections:
Installing the hd Utility Running the hd Utility on Linux Viewing the hd Utility Drive Mapping Output Viewing the Hard Drives in Sequential Order Configuring Offline and Online Hard Disk Drives Using the hdadm Command Examples Using the hdadm Command
There are the four README files that exist for Linux located on the The Tools and Drivers CD: Linux SLES11 hdtool Directory Each README files will contains install instructions, for example here is the RHEL5 README file: Install hd-1.08-2.x86_64.rpm.
# cd # rpm -i hd-1.08-2.x86_64.rpm To find out the rpm package for "hd" # rpm -qf /usr/bin/hd hd-1.08-2 To find out the file list in "hd" package # rpm -ql hd-1.08-2 /usr/bin/hd /usr/bin/hdadm /usr/share/doc/hd-1.08 /usr/share/doc/hd-1.08/ChangeLog /usr/share/doc/hd-1.08/README /usr/share/man/man1/hd.1.gz /usr/share/man/man1/hdadm.1.gz To remove "hd-1.08-2" package # rpm -e hd-1.08-2 To use hd # hd # hd
---------------------SunFireX4500------Rear---------------------------- 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: sdab sdaf sdt sdx sdar sdav sdaj sdan sdl sdp sdd sdh ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: sdaa sdae sds sdw sdaq sdau sdai sdam sdk sdo sdc sdg ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: sdz sdad sdr sdv sdap sdat sdah sdal sdj sdn sdb sdf ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ 0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: sdy sdac sdq sdu sdao sdas sdag sdak sdi sdm sda sde ^b+ ^b+ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ -------*-----------*-SunFireX4500--*---Front-----*-----------*---------- # hd -q 0 sdy present 1 sdac present 2 sdq present 3 sdu present 4 sdao present 5 sdas present 6 sdag present 7 sdak present 8 sdi present 9 sdm present 10 sda present 11 sde present 12 sdz present 13 sdad present 14 sdr present 15 sdv present 16 sdap present 17 sdat present 18 sdah present 19 sdal present 20 sdj present 21 sdn present 22 sdb present 23 sdf present 24 sdaa present 25 sdae present 26 sds present 27 sdw present 28 sdaq present 29 sdau present 30 sdai present 31 sdam present 32 sdk present 33 sdo present 34 sdc present 35 sdg present 36 sdab present 37 sdaf present 38 sdt present 39 sdx present 40 sdar present 41 sdav present 42 sdaj present 43 sdan present 44 sdl present 45 sdp present 46 sdd present 47 sdh present # # hd -B (provide bootable physical slot number, logical name and status) 0 sdy present 1 sdac present # hdadm display ---------------------SunFireX4500------Rear---------------------------- 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: sdab sdaf sdt sdx sdar sdav sdaj sdan sdl sdp sdd sdh ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: sdaa sdae sds sdw sdaq sdau sdai sdam sdk sdo sdc sdg ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: sdz sdad sdr sdv sdap sdat sdah sdal sdj sdn sdb sdf ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ 0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: sdy sdac sdq sdu sdao sdas sdag sdak sdi sdm sda sde ^b+ ^b+ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ -------*-----------*-SunFireX4500--*---Front-----*-----------*----------
hdtool (MS windows) For additional information on the Microsoft Windows version of hd, refer to the x64 Servers Utilities Reference Manual: "hd utility" here: http://docs.oracle.com/cd/E19469-01/820-1120-22/chapter1.html#CEHIAJFE and Chapter 3 "Using the hd utility on Windows 2003" here: http://docs.oracle.com/cd/E19469-01/820-1120-22/chapter3.html#CGFFEDAE Chapter 3 includes the following sections: There are several README files on the Tools and Drivers CD in the ..\windows\ directory, one for each supported version of Windows. As an example, here is the w2k8 README file: This directory contains Windows hdtool package used with the Sun Fire™ X4540 server.
Here is the package:
Using Windows hdtool : 1. To install Sun hd Tool on Windows2008/Windows2003 : * Click on "hd1.08.msi" package. 2. To uninstall Sun hdtool: Windows2008 : - Start->All Programs->Contol Panel->"Program And Features"-> ->Sun HD Tool-> Uninstall Windows2003 : - Start->All Programs->Contol Panel->Add or Remove Programs ->Sun HD Tool-> Remove 3. To run Sun hd Tool via Windows "Start" menu or Desktop. Start->All Program->Sun HD Tool->hdtool This will bring up a "Command Prompt" automatically, and run "hd". 4. More info: # hd -h End of Document
References<NOTE:1368404.1> - Sun Fire X4540 - Decoding Disk device path to Physical disk slot numbersAttachments This solution has no attachment |
||||||||||||
|