UPDATED SUMMARY: cfgadm and hot swappable scsi disks

From: John Marrett <jmarrett_at_mediagrif.com>
Date: Fri Oct 19 2001 - 15:26:36 EDT
Solaris 8 definately has brought this functionality to lower end systems.

I have received confirmation of this from Thomas Anders, Darren Dunham, John
Leadeham.

I then performed a test on a Netra AC200. The output of the format and
/var/adm/messages confirm that the commands work:

ttimdb6# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
          /pci@1f,0/pci@1/scsi@8/sd@0,0
       1. c1t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
          /pci@1f,0/pci@1/scsi@8/sd@1,0
(...)
ttimdb6# cfgadm -al
Ap_Id                          Type         Receptacle   Occupant
Condition
c0                             scsi-bus     connected    configured
unknown
c0::dsk/c0t0d0                 CD-ROM       connected    configured
unknown
c1                             scsi-bus     connected    configured
unknown
c1::dsk/c1t0d0                 disk         connected    configured
unknown
c1::dsk/c1t1d0                 disk         connected    configured
unknown
c2                             scsi-bus     connected    unconfigured
unknown
ttimdb6# cfgadm -c unconfigure c1::dsk/c1t1d0
ttimdb6# cfgadm -al
Ap_Id                          Type         Receptacle   Occupant
Condition
c0                             scsi-bus     connected    configured
unknown
c0::dsk/c0t0d0                 CD-ROM       connected    configured
unknown
c1                             scsi-bus     connected    configured
unknown
c1::dsk/c1t0d0                 disk         connected    configured
unknown
c1::dsk/c1t1d0                 unavailable  connected    unconfigured
unknown
c2                             scsi-bus     connected    unconfigured
unknown
ttimdb6# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
          /pci@1f,0/pci@1/scsi@8/sd@0,0
(...)
ttimdb6# cfgadm -c configure c1::dsk/c1t1d0
ttimdb6# cfgadm -al
Ap_Id                          Type         Receptacle   Occupant
Condition
c0                             scsi-bus     connected    configured
unknown
c0::dsk/c0t0d0                 CD-ROM       connected    configured
unknown
c1                             scsi-bus     connected    configured
unknown
c1::dsk/c1t0d0                 disk         connected    configured
unknown
c1::dsk/c1t1d0                 disk         connected    configured
unknown
c2                             scsi-bus     connected    unconfigured
unknown
ttimdb6# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
          /pci@1f,0/pci@1/scsi@8/sd@0,0
       1. c1t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
          /pci@1f,0/pci@1/scsi@8/sd@1,0
(...)
ttimdb6# tail /var/adm/messages
Oct 19 15:20:43 ttimdb6 genunix: [ID 408114 kern.info]
/pci@1f,0/pci@1/scsi@8/sd@1,0 (sd1) offline
Oct 19 15:21:07 ttimdb6 scsi: [ID 193665 kern.info] sd1 at glm0: target 1
lun 0
Oct 19 15:21:07 ttimdb6 genunix: [ID 936769 kern.info] sd1 is
/pci@1f,0/pci@1/scsi@8/sd@1,0
Oct 19 15:21:07 ttimdb6 scsi: [ID 365881 kern.info]     <SUN18G cyl 7506 alt
2 hd 19 sec 248>
Oct 19 15:21:07 ttimdb6 genunix: [ID 408114 kern.info]
/pci@1f,0/pci@1/scsi@8/sd@1,0 (sd1) online
Received on Fri Oct 19 20:26:36 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:32:33 EDT