Troubleshooting

Reassigning device instance numbers for tape devices

As tape drives are added to and removed from a system, the device instance numbers can get out of sequence with the number of tape drives. For example, if a system has two tape drives, and one is removed, the system may accidentally try to use a tape drive that no longer exists.

To reassign device instance numbers for tape devices:

1.Log in to the system as root.

2.Make sure that the target addresses for any SCSI tape drives are set correctly.

Typically, the internal tape drive is SCSI address 5, and an external tape drive is SCSI address 4. If you change the SCSI address, you must turn the tape drive power off and back on.

3.Insert the Solaris software disk into the DVD drive.

4.After about 15 seconds, enter the following commands: boot cdrom -sw

fsck -y /dev/dsk/c1t0d0s0 mount /dev/dsk/c1t0d0s0 /a

devfsadm -vCc tape -r /a -p /a/etc/path_to_inst

This reassigns the device instance numbers for the tape devices.

5.Enter:

eject cdrom

6.Remove the Solaris software disk.

192 Avaya CMS Sun Fire V880/V890 Installation, Maintenance, and Troubleshooting

May 2006

Page 192
Image 192
Sun Microsystems V890 Reassigning device instance numbers for tape devices, Devfsadm -vCc tape -r /a -p /a/etc/pathtoinst