InfoDoc ID   Synopsis   Date
40517   Removing and Replacing the Sun Fire 280R , V480 , or V880 hot-pluggable internal disk drives.   18 Apr 2002

Status Issued

Description

Documented below is the proper procedure for removing and replacing failed Sun Fire hot-pluggable internal disk drives (FC-AL). The system's disk hot-plug feature allows you to remove a disk drive without shutting down the operating system or powering the system off.

When you remove a hot-pluggable drive, you need to stop the drive and take it off-line to remove the logical software links to the drive. Use the luxadm and the devfsadm command tools to remove the internal disk(s). The following procedure describes the general steps involved, (your specific device names may be different).

Removing the failed disk:

As superuser, enter the following command,

# luxadm remove_device /dev/rdsk/<c1t1d0s2>

WARNING!!! Please ensure that no file systems are mounted on these device( s).

All data on these devices should have been backed up.

The list of devices which will be removed is:

1: Device name: /dev/rdsk/c1t1d0s2

Node WWN: 20000020371b1f31

Device Type: Disk device

Device Paths: /dev/rdsk/c1t1d0s2

Please verify the above list of devices and then enter c or <CR> to Continue or q to Quit. [Default: c]:c

stopping: /dev/rdsk/c1t1d0s2.... Done

offlining: /dev/rdsk/c1t1d0s2.... Done

The drives are now off-line and spun down.

Physically remove the disk and press the Return key.

Hit <Return> after removing the device( s).

<date> <systemname> picld[87]: Device DISK1 removed

Device: /dev/rdsk/c1t1d0s2

No FC devices found. - /dev/rdsk/c1t1d0s2.

*The picld daemon notifies the system that the disk has been removed.

Initiate devfsadm cleanup subroutines by entering the following command

# devfsadm -C

The default devfsadm operation is to attempt to load every driver in the system and attach these drivers to all possible device instances. devfsadm then creates device special files in /devices and logical links in /dev.

The "-C" option cleans up the /dev/directory and removes any lingering logical links to the device link names.

Installing a new disk:

As superuser, list the system's current logical device links.

# ls /dev/rdsk/c1t1d* you should have no match.

Insert the drive in its disk bay

enter the following command

# devfsadm -C

or

#luxadm insert_device <enclosure_name>,sx

where x is the slot number (luxadm display <enclosure_name>

to find <enclosure_name> do "luxadm probe

"List the systems's current c1t1d* logical device links.

# ls /dev/rdsk/c1t1d* you should see

/dev/rdsk/c1t1d0s0 /dev/rdsk/c1t1d0s1 /dev/rdsk/c1t1d0s2

/dev/rdsk/c1t1d0s3 /dev/rdsk/c1t1d0s4 /dev/rdsk/c1t1d0s5

/dev/rdsk/c1t1d0s6 /dev/rdsk/c1t1d0s7

NOTE:

If you have not configured the system with two boot disks, you cannot hot-plug a single boot disk. You can only hot-plug the boot disk if you have configured a two-disk mirror of the boot disk for hot-plugging. If the system is configured with a boot disk and a data disk, you may hot-plug the data disk, not the boot disk.

INTERNAL SUMMARY:

SUBMITTER: Edward Garvey APPLIES TO: AFO Vertical Team Docs/Storage ATTACHMENTS:


Copyright (c) 1997-2003 Sun Microsystems, Inc.