C H A P T E R 3 |
This chapter describes how to use the hd utility, also known as hdtool, on Windows Server 2003 in 32-bit and 64-bit mode. The hd utility is a hard drive mapping tool used to determine the logical-to-physical device mapping and can be used on many x64 servers.
For instructions on installing the utility, see Installing the hd Utility and follow this procedure.
You use the utility to get a logical-to-physical mapping of the devices. This mapping can help you to administer the system, manage the hard drives, and troubleshoot the server.
The hd utility output enables you to locate all the disks visually based on the physical topology of the Sun Fire X4500/X4540 server drives by providing a color-coded hard drive location map. The hd utility has the following features:
The hd utility maps the drives and produces output that can help you to identify empty slots and drives that have not been enumerated.
The following are sample output that displays the hard drive’s physical slot number, logical name, and status:
--------------------------------------SunFireX4540------Rear------------------ 3: 7: 11: 15: 19: 23: 27: 31: 35: 39: 43: 47: drive3 drive7 drive11 drive15 drive19 drive23 drive27 drive31 drive35 drive39 drive43 drive47 ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ 2: 6: 10: 14: 18: 22: 26: 30: 34: 38: 42: 46: drive2 drive6 drive10 drive14 drive18 drive22 drive26 drive30 drive34 drive38 drive42 drive46 ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ 1: 5: 9: 13: 17: 21: 25: 29: 33: 37: 41: 45: drive1 drive5 drive9 drive13 drive17 drive21 drive25 drive29 drive33 drive37 drive41 drive45 ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ 0: 4: 8: 12: 16: 20: 24: 28: 32: 36: 40: 44: drive0 drive4 drive8 drive12 drive16 drive20 drive24 drive28 drive32 drive36 drive40 drive44 ^b+ ^b+ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ --------------*------------------*----SunFireX4540----*---Front-----*--------- |
The Sun Fire X4500/X4540 server comes with six controllers, each supporting up to eight SATA drives, for a total of 48 SATA drives.
The drive number is the Windows logical drive number as used by the Windows diskpart application and the Windows Disk Management software. You can access the Windows Disk Management software from Start > All Programs > Administrative Tools > Computer Management > Disk Management.
A Sun Fire X4500/X4540 server with 48 drives is the only supported configuration.
On the Sun Fire X4500 server, the boot device nodes are the following:
These are the bootable drives, and the operating system must be installed on one of these drives.
On the Sun Fire X4540 server, the boot device nodes are the following:
The hd output can also help you with identifying empty slots and drives that have not been recognized by the Windows operating system.
To use hd utility, choose Start > All Programs > Sun HD Tool > hdtool.
Start a command prompt and run the hd utility:
If a command prompt is started, type:
cd "C:\Program Files (x86)\Sun\hd"
Use the hd command to determine the status of a hard drive by mapping the drive location using the parameters shown in TABLE 3-1.
You can use the drive mapping output from hd utility for remote analysis. The utility probes and displays the available storage devices in the system.
The hd utility output makes the distinction between controllers, slots, and storage devices that are physically present in the machine and visible to Linux.
This chapter includes the following sections:
Enter the following command to display a map of the disk drives:
> hd -h > hd -x > hd_map.html |
The following information is displayed:
Slot Device Model ---- ------ ------------------------ 0 drive24 HITACHI HDS7250SASUN500G 1 drive28 HITACHI HDS7250SASUN500G 2 drive16 HITACHI HDS7225SBSUN250G 3 drive20 HITACHI HDS7250SASUN500G 4 drive40 HITACHI HDS7250SASUN500G 5 drive44 HITACHI HDS7250SASUN500G 6 drive32 HITACHI HDS7250SASUN500G 7 drive36 HITACHI HDS7250SASUN500G 8 drive8 HITACHI HDS7250SASUN500G 9 drive12 HITACHI HDS7250SASUN500G 10 drive0 HITACHI HDS7225SBSUN250G 11 drive4 HITACHI HDS7250SASUN500G 12 drive25 HITACHI HDS7225SBSUN250G 13 drive29 HITACHI HDS7225SBSUN250G 14 drive17 HITACHI HDS7225SBSUN250G 15 drive21 HITACHI HDS7225SBSUN250G 16 drive41 HITACHI HDS7225SBSUN250G 17 drive45 HITACHI HDS7250SASUN500G 18 drive33 HITACHI HDS7250SASUN500G 19 drive37 HITACHI HDS7225SBSUN250G 20 drive9 HITACHI HDS7225SBSUN250G 21 drive13 HITACHI HDS7250SASUN500G 22 drive1 HITACHI HDS7250SASUN500G 23 drive5 HITACHI HDS7225SBSUN250G 24 drive26 HITACHI HDS7250SASUN500G 25 drive30 HITACHI HDS7250SASUN500G 26 drive18 HITACHI HDS7250SASUN500G 27 drive22 HITACHI HDS7250SASUN500G 28 drive42 HITACHI HDS7250SASUN500G 29 drive46 HITACHI HDS7250SASUN500G 30 drive34 HITACHI HDS7250SASUN500G 31 drive38 HITACHI HDS7250SASUN500G 32 drive10 HITACHI HDS7250SASUN500G 33 drive14 HITACHI HDS7250SASUN500G 34 drive2 HITACHI HDS7225SBSUN250G 35 drive6 HITACHI HDS7225SBSUN250G 36 drive27 HITACHI HDS7250SASUN500G 37 drive31 HITACHI HDS7225SBSUN250G 38 drive19 HITACHI HDS7250SASUN500G 39 drive23 HITACHI HDS7250SASUN500G 40 drive43 HITACHI HDS7250SASUN500G 41 drive47 HITACHI HDS7225SBSUN250G 42 drive35 HITACHI HDS7250SASUN500G 43 drive39 HITACHI HDS7250SASUN500G 44 drive11 HITACHI HDS7250SASUN500G 45 drive15 HITACHI HDS7250SASUN500G 46 drive3 HITACHI HDS7250SASUN500G 47 drive7 HITACHI HDS7250SASUN500G --------------------------------------SunFireX4500------Rear------------------ 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: drive27 drive31 drive19 drive23 drive43 drive47 drive35 drive39 drive11 drive15 drive3 drive7 ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: drive26 drive30 drive18 drive22 drive42 drive46 drive34 drive38 drive10 drive14 drive2 drive6 ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: drive25 drive29 drive17 drive21 drive41 drive45 drive33 drive37 drive9 drive13 drive1 drive5 ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ 0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: drive24 drive28 drive16 drive20 drive40 drive44 drive32 drive36 drive8 drive12 drive0 drive4 ^b+ ^b+ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ ^++ --------------*------------------*----SunFireX4500----*---Front-----*-----------*---------- |
Use the following command to display the disk’s physical slot number, logical name, and status (present or absent).
This option is useful for scripting environments.
For example, some applications could include hd -q in noninteractive mode to determine if a specific drive in a specific physical slot is accessible before configuring RAID.
The following display appears:
0 drive24 present 1 drive28 present 2 drive16 present 3 drive20 present 4 drive40 present 5 drive44 present 6 drive32 present 7 drive36 present 8 drive8 present 9 drive12 present 10 drive0 present 11 drive4 present 12 drive25 present 13 drive29 present 14 drive17 present 15 drive21 present 16 drive41 present 17 drive45 present 18 drive33 present 19 drive37 present 20 drive9 present 21 drive13 present 22 drive1 present 23 drive5 present 24 drive26 present 25 drive30 present 26 drive18 present . . . 47 drive7 present |
Use the following command to display the drive slot summary.
> hd -q -s |
This command shows the same output as in To Display the Drives in Sequential Order but appends the following summary information:
Summary: Model Count ----- ----- HITACHI HDS7250SASUN500G 34 HITACHI HDS7225SBSUN250G 14 Total Storage Devices = 48 |
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.