|
Anleitung Zusammenfassung
In this example, no USB devices are connected to the system. Note that while you can use the Solaris OS cfgadm install_device and cfgadm remove_device commands to perform a hard drive hot-plug procedure, these commands issue the following warning message when you invoke them on a bus containing the system disk: # cfgadm -x remove_device cl::dsk/clt3dO Removing SCSI device: /devices/pci@0/pci@0/pci@2/scsi@0/sd@3,0 This operation will suspend activity on SCSI bus: c1 Continue (yes/no)? yes cfgadm: Hardware specific failure: failed to suspend: Resource Information /dev/dsk/c1t1d0s0 mounted filesystem и/и This warning is issued because these commands attempt to quiesce the (SAS) SCSI bus, but the server firmware prevents it. This warning message can be safely ignored in the SPARC Enterprise T5140 or T5240 server, but the following step avoids this warning message altogether. 3. Remove the hard drive from the device tree. Type the following command: | # cfgadm -c unconfigure Ap-Id | For example: | # cfgadm -c unconfigure c1::dsk/c1t3d0 | This example removes c1t3d0 from the device tree. The blue OK-to-Remove LED lights. 32 SPARC Enterprise T5140 and T5240 Servers Administration Guide • July 2009 4. Verify that the device has been removed from the device tree. Type the following command: # cfgadm -al Ap_ _Id Type Receptacle Occupant Condition cl scsi-bus connected configured unknown cl dsk/clt0d0 disk connected configured unknown cl dsk/cltldO disk connected configured unknown cl dsk/clt2d0 disk connected configured unknown cl dsk/clt3d0 disk connected unconfigured unknown cl dsk/clt4d0 disk connected configured unknown cl dsk/clt5d0 disk connected configured unknown cl dsk/clt6d0 disk connected configured unknown cl dsk/clt7d0 disk connected configured unknown usb0/l unknown empty unconfigured ok usb0/2 unknown empty unconfigured ok usb0/3 unknown empty unconfigured ok usbl/l unknown empty unconfigured ok usbl/2 unknown empty unconfigured ok usb2/l unknown empty unconfigured ok usb2/2 usb-storage connected configured ok usb2/3 unknown empty unconfigured ok usb2/4 usb-hub connected configured ok usb2/4.l unknown empty unconfigured ok usb2/4.2 unknown empty unconfigured ok usb2/4.3 unknown empty unconfigured ok usb2/4.4 unknown empty unconfigured ok usb2/5 unknown empty unconfigured ok # Note that c1t3d0 is now unknown and unconfigured. The corresponding hard drive OK-to-Remove LED is lit. 5. Remove the hard drive, as described in your server's service manual. The blue OK-to-Remove LED is extinguished when you remove the hard drive. 6. Install a new hard drive, as described in your server's service manual. Managing Disks 33 7. Configure the new hard drive. Type the following command: | # cfgadm -c configure Ap-Id | For example: | # cfgadm -c configure c1::dsk/c1t3d0 | The green Activity LED flashes as the new disk at c1t3d0 is added to the device tree. 8. Verify that the new hard drive is in the device tree. Type the following command: # cfgadm -al Ap_ _Id Type Receptacle Occupant Condition cl scsi-bus connected configured unknown cl dsk/clt0d0 disk connected configured unknown cl dsk/cltld0 disk connected configured unknown cl dsk/clt2d0 disk connected configured unknown cl dsk/clt3d0 disk connected configured unknown cl dsk/clt4d0 disk connected configured unknown cl dsk/clt5d0 disk connected configured unknown cl dsk/clt6d0 disk connected configured unknown cl dsk/clt7d0 disk connected configured unknown usb0/l unknown empty unconfigured ok usb0/2 unknown empty unconfigured ok usb0/3 unknown empty unconfigured ok usbl/l unknown empty unconfigured ok usbl/2 unknown empty unconfigured ok usb2/l unknown empty unconfigured ok usb2/2 usb-storage connected configured ok usb2/3 unknown empty unconfigured ok usb2/4 usb-hub connected configured ok usb2/4.l unknown empty unconfigured ok usb2/4.2 unknown empty unconfigured ok usb2/4.3 unknown empty unconfigured ok usb2/4.4 unknown empty unconfigured ok usb2/5 unknown empty unconfigured ok # Note that c1t3d0 is now listed as configured. 34 SPARC Enterprise T5140 and T5240 Servers Administration Guide • July 2009 Related Information ■ “Disk Slot Numbers” on page 35 ■ “Hot-Plug a Mirrored Disk” on page 28 Disk Slot Numbers To perform a disk hot-plug procedure, you must know the physical or logical device name for the drive that you want to install or remove. If your system encounters a disk error, often you can find messages about failing or failed disks in the system console. This information is also logged in the /var/adm/messages files. These error messages typically refer to a failed hard drive by its physical device name (such as /devices/pci@1f,700000/scsi@2/sd@1,0) or by its logical device name (such as c1t1d0). In addition, some applications might report a disk slot number (0 through 3). You can use ...
Dieses Handbuch ist für folgende Modelle:PC Desktops - T5140 (269.52 kb)