C H A P T E R  7

Removing and Replacing Hard Disk Drives and Removeable Media


caution icon

Caution - If you are just powering on your Netra CT server, do not remove or install any components in the system until you have verified that the system is completely powered up. Refer to Section 2.1.1, Verifying Full Power-Up for more information.





Note - When removing a hot-swappable component, allow several seconds before inserting it or another component in that slot. Rapidly removing and inserting any hot-swappable component might panic or hang the system.



This chapter gives procedures for the installation, removal, and replacement of hard disk drives and removeable media. It is organized as follows:

Consult the Netra CT Server Safety and Compliance Manual for safety information prior to performing the procedures in this chapter.



Note - Read Chapter 3 before performing the procedures in this chapter.




7.1 Hard Disk Drive

This section tells you how to remove and replace an internal hard disk drive. An internal hard disk drive is one that fits in a bay within a server. It is distinguished from an external hard disk drive, which is attached by a cable that connects to an I/O card in the server.

A hard disk drive is a hot-swappable component only if the hard disk drive is not being used by the server. For example, if a hard disk drive is being used as the primary boot drive, then that hard disk drive is not hot-swappable unless disk management software is used to mirror the boot drive to a second hard disk drive installed in the server. For that reason, a hard disk drive in a Netra CT 410 server is a hot-swappable disk drive only if the Netra CT 410 server is running on the Solaris operating environment over the network, and not off of the hard disk drive.

In addition, there are two separate SCSI chains in the Netra CT 810 server for the SCSI devices:

The remove and replace instructions for hot-swappable drives are covered here; the remove and replace instructions for cold-swappable drives are covered in Chapter 10 in the section Section 10.1, Hard Disk Drive.

7.1.1 Removing a Hard Disk Drive



Note - The instructions in this section do not cover unconfiguration procedures that might be necessary if you are removing a hard disk drive that is under the control of any disk management software, such as Volume Manager or Solstice DiskSuite. If you are running disk management software on your system, refer to the documentation that came with the disk management software for instructions on releasing a hard disk drive from the control of the software before proceeding with these instructions.



1. Log in to the server and get the attachment-point IDs for the hard disk drives installed in your server.

As root, enter:

# cfgadm -a c#

where c# is the SCSI controller number for the drive that you want to remove. For example, to list the attachment-point IDs for the first SCSI chain in the server, as root, enter:

# cfgadm -a c0

You should get feedback similar to the following:

Ap_Id                          Type         Receptacle   Occupant     Condition
c0                             scsi-bus     connected    configured   unknown
c0::dsk/c0t0d0                 disk         connected    configured   unknown
c0::dsk/c0t6d0                 CD-ROM       connected    configured   unknown

In the sample feedback above, the attachment-point ID for the upper hard disk drive (HDD 0) is c0::dsk/c0t0d0 and attachment-point ID for the DVD drive is c0::dsk/c0t6d0.

2. List all mounted partitions on the disk that you want to remove.

As root, enter:

# cfgadm -c unconfigure ap_id

where ap_id is the attachment-point ID for the hard disk drive that you want to remove. For example, to list the mounted partitions on the upper hard disk drive (HDD 0), as root, enter:

# cfgadm -c unconfigure c0::dsk/c0t0d0

You should get feedback similar to the following:

cfgadm: Component system is busy, try again: failed to offline: /devices/pci@1f,0/pci@1,1/scsi@2/sd@1,0
 
     Resource               Information        
------------------  ---------------------------
/dev/dsk/c0t0d0s7   mounted filesystem "/mnt"  



Note - If you didn't get any feedback after entering the command, then you do not have any partitions mounted and the hard disk drive was successfully deactivated. Go to Determine if you are trying to remove the boot drive or a normal data drive from the system..



3. Unmount the mounted partition(s).

For every filesystem that was listed in the previous step, as root, enter:

# unmount filesystem

For example, using the feedback from the previous step, you would enter:

# unmount /mnt

4. Deactivate the hard disk drive.

As root, enter:

# cfgadm -c unconfigure ap_id

where ap_id is the attachment-point ID for the hard disk drive that you want to remove. For example, to deactivate the upper hard disk drive (HDD 0), as root, enter:

# cfgadm -c unconfigure c0::dsk/c0t0d0

5. Determine if you are trying to remove the boot drive or a normal data drive from the system.

where ap_id is the attachment-point ID for the hard disk drive that you want to remove. For example, for the upper hard disk drive (HDD 0), as root, enter:

# cfgadm -x remove_device c0::dsk/c0t0d0

6. Verify that the hard disk drive has been deactivated.

As root, enter:

# cfgadm -a c0

You should get feedback similar to the following:

Ap_Id                          Type         Receptacle   Occupant     Condition
c0                             scsi-bus     connected    configured   unknown
c0::dsk/c0t0d0                 unavailable  connected    unconfigured unknown
c0::dsk/c0t6d0                 CD-ROM       connected    configured   unknown

Note that in the sample feedback above, the Type column for the upper hard disk drive (c0::dsk/c0t0d0) is now unavailable, and the Occupant column now shows it as unconfigured.

You can also use the hard disk drive (HDD) LEDs on the system status panel to verify that the hard disk drive has been deactivated (FIGURE 7-1). The Okay to Remove LED () on the system status panel for the hard disk drive should go ON, indicating that you can remove the hard disk drive from the slot.

 FIGURE 7-1 Locating the Hard Disk Drive LEDs on the System Status Panel (Netra CT 810 Server)


7. Attach the antistatic wrist strap.

Refer to Section 1.2, Attaching the Antistatic Wrist Strap.

8. Locate the drive bay cover on your system.

The hard disk drives will be behind the drive bay cover on your system. There would be a maximum of two hard disk drives behind the drive bay cover in a Netra CT 810 server and one behind the drive bay cover in a Netra CT 410 server.

 FIGURE 7-2 Drive Bay Cover Locations


9. Loosen the captive screws that hold the drive bay cover in place.

10. Remove the drive bay cover.

11. Locate the hard disk drive that you want to replace.

In a Netra CT 810 server, HDD0 is the upper hard disk drive and HDD1 is the lower hard disk drive.

12. Unlatch the disk drive handle to release it.

Push down in the direction of the arrow to release the bracket handle latch.

13. Pull the bracket handle out and swing it open.

14. Continue to pivot the disk drive bracket handle against the chassis, applying mild pressure until the drive disconnects.

15. Slide the drive out of the chassis and place it on the electrostatic discharge mat.

16. Secure the drive bay cover over the drive bays (FIGURE 7-1).

You must install the drive bay cover over the drive bays to ensure proper airflow in the system.

7.1.2 Installing a Hard Disk Drive

1. Attach the antistatic wrist strap.

Refer to Section 1.2, Attaching the Antistatic Wrist Strap.

2. Remove the drive bay cover (FIGURE 7-2).

3. Hold the bracket handle on the disk drive open.

4. Slide the replacement disk drive into the drive slot.

5. Gently push the drive until the locking handle engages.

6. Close the locking handle completely, using gentle downward pressure.

7. Replace the drive bay cover.

8. Log in to the server and, as root, activate the replacement hard disk drive:

# cfgadm -c configure ap_id

where ap_id is the attachment-point ID for the hard disk drive that you just installed. For example, to activate the upper hard disk drive (HDD 0), as root, enter:

# cfgadm -c configure c0::dsk/c0t0d0

9. Verify that the hard disk drive has been activated.

As root, enter:

# cfgadm -a c0

You should get feedback similar to the following:

Ap_Id                          Type         Receptacle   Occupant     Condition
c0                             scsi-bus     connected    configured   unknown
c0::dsk/c0t0d0                 disk         connected    configured   unknown
c0::dsk/c0t6d0                 CD-ROM       connected    configured   unknown

Note that in the sample feedback above, the Type column for the upper hard disk drive (c0::dsk/c0t0d0) is now disk, and the Occupant column now shows it as configured.

You can also use the hard disk drive (HDD) LEDs on the system status panel to verify that the hard disk drive has been activated (FIGURE 7-1). The Okay to Remove LED () on the system status panel for the hard disk drive should go OFF, indicating that the hard disk drive has been activated.

10. If your hard disk(s) are under the control of RAID software, perform the necessary steps to bring the disks online.

11. Perform any other necessary software procedures on the hard disk drive to bring it online, including mounting the partitions and creating filesystems.


7.2 DVD or DAT Drive (Netra CT 810 Server Only)

This section tells you how to replace a DVD or Digital Audio Tape (DAT) drive in a Netra CT 810 server. DVD and DAT drives are referred to as removeable media drives. The removeable media drives are hot-swappable components. Note that internal removeable media drives are not available for the Netra CT 410 server.

Following are the SCSI IDs for the devices used in the removeable media module:

7.2.1 Removing a DVD or DAT Drive

1. Log in to the server and kill the Volume Manager daemon.

As root, enter:

# /etc/init.d/volmgt stop

2. If you are removing a DAT drive, enter the following command to rebuild the device tree:

# devfsadm -i st

This command is not necessary if you are removing a DVD drive.

3. Get the attachment-point ID for the removeable media drive installed in your server.

As root, enter:

# cfgadm -a c0

In the sample feedback above, the attachment-point ID for the DVD drive is c0::dsk/c0t6d0, shown as CD-ROM under the Type column.

In the sample feedback above, the attachment-point ID for the DAT drive is c0::rmt/0, shown as tape under the Type column.

4. Deactivate the removeable media drive.

As root, enter:

# cfgadm -c unconfigure ap_id

where ap_id is the attachment-point ID for the removeable media drive that you want to remove. For example, to deactivate the DVD drive using the feedback given above, as root, enter:

# cfgadm -c unconfigure c0::dsk/c0t6d0

Note that the attachment-point ID would be different for the DAT drive.

5. Verify that the removeable media drive has been deactivated.

As root, enter:

# cfgadm -a c0

You should get feedback similar to the following:

Ap_Id                          Type         Receptacle   Occupant     Condition
c0                             scsi-bus     connected    configured   unknown
c0::dsk/c0t0d0                 disk         connected    configured   unknown
c0::dsk/c0t6d0                 unavailable  connected    unconfigured unknown
c0::rmt/0                      unavailable  connected    unconfigured unknown

The entry under the Type column for the drive you removed should be unavailable, and the entry under the Occupant column should be unconfigured.

You can also use the removeable media module (RMM) LEDs on the system status panel to verify that the removeable media drive has been deactivated. The Okay to Remove LED () on the system status panel for the removeable media module should go ON, indicating that you can remove the removeable media drive from the slot.

6. Attach the antistatic wrist strap.

Refer to Section 1.2, Attaching the Antistatic Wrist Strap.

7. Using a No. 2 Phillips screwdriver, loosen the captive screw that holds the removeable media module in place.

8. Pull the module from the system and place it on the electrostatic discharge mat.

 FIGURE 7-3 Removing the Removeable Media Module from a Netra CT 810 Server


7.2.2 Installing a DVD or DAT Drive

1. Attach the antistatic wrist strap.

Refer to Section 1.2, Attaching the Antistatic Wrist Strap.

2. Insert the removeable media module into the server.

The Okay to Remove LED () and the Power LED () on the system status panel for the removeable media module should go ON.  

3. Using a No. 2 Phillips screwdriver, tighten the screw on the removeable media module to secure it to the server.

4. Remove the antistatic wrist strap.

5. Log in to the server and, as root, activate the replacement removeable media drive:

# cfgadm -c configure c0

6. If you installed a DAT drive into your server, enter the following command to rebuild the device tree:

# devfsadm -i st

This command is not necessary if you installed a DVD drive into your server.

7. Verify that the removeable media drive has been activated.

As root, enter:

# cfgadm -a c0

Locate the line with the attachment point c0::dsk/c0t6d0 listed in the Ap_Id column. Verify that the following entries appear for the DVD drive that you just installed:

c0::dsk/c0t6d0                 CD-ROM       connected    configured   unknown

Enter the cfgadm -a c0 command a second time to verify that the
DVD drive was activated. You can also use the removeable media module (RMM) LEDs on the system status panel to verify that the removeable media drive has been activated. The Okay to Remove LED () on the system status panel for the removeable media drive should go OFF, indicating that the removeable media drive has been activated. Go to Step 8.

Locate the line with the attachment point c0::rmt/0 listed in the Ap_Id column. Verify that the following entries appear for the DAT drive that you just installed:

c0::rmt/0                      tape         connected    configured   unknown

Enter the cfgadm -a c0 command a second time to verify that the DAT drive was activated.

You can also use the removeable media module (RMM) LEDs on the system status panel to verify that the removeable media drive has been activated. The Okay to Remove LED () on the system status panel for the removeable media drive should go OFF, indicating that the removeable media drive has been activated.

8. Start the Volume Manager daemon.

As root, enter:

# /etc/init.d/volmgt start