SUMMARY: Removing hot-swappable drives in E450 (Solaris 8)

2007-12-24 19:30:00

Thanks to:
Jim Musso
Nicole Skyrca
Mike Salehi
Christophe Dupre
Jon Katz

All suggestions started with:

drvconfig
disks

But that didn't do anything. By the way, Solaris 8 recommends using
'devfsadm' instead of 'drvconfig' and 'disks'.

Then Jon pointed me to the 'cfgadm' command, which seems to have done it:

AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci at 1f,4000/scsi at 3/sd at 0,0
1. c0t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci at 1f,4000/scsi at 3/sd at 1,0
2. c0t2d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci at 1f,4000/scsi at 3/sd at 2,0
3. c0t3d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci at 1f,4000/scsi at 3/sd at 3,0
4. c2t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci at 6,4000/scsi at 4/sd at 0,0
5. c2t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci at 6,4000/scsi at 4/sd at 1,0
6. c2t2d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci at 6,4000/scsi at 4/sd at 2,0
7. c2t3d0 <drive not available: formatting>
/pci at 6,4000/scsi at 4/sd at 3,0
Specify disk (enter its number):

bash-2.03# cfgadm -al
Ap_Id Type Receptacle Occupant
Condition
c0 scsi-bus connected configured
unknown
c0::dsk/c0t0d0 disk connected configured
unknown
c0::dsk/c0t1d0 disk connected configured
unknown
c0::dsk/c0t2d0 disk connected configured
unknown
c0::dsk/c0t3d0 disk connected configured
unknown
c1 scsi-bus connected configured
unknown
c1::dsk/c1t6d0 CD-ROM connected configured
unknown
c2 scsi-bus connected configured
unknown
c2::dsk/c2t0d0 disk connected configured
unknown
c2::dsk/c2t1d0 disk connected configured
unknown
c2::dsk/c2t2d0 disk connected configured
unknown
c2::dsk/c2t3d0 disk connected configured
unknown
c3 scsi-bus connected unconfigured
unknown

bash-2.03# cfgadm -c unconfigure c2::dsk/c2t3d0

bash-2.03# cfgadm -al
Ap_Id Type Receptacle Occupant
Condition
c0 scsi-bus connected configured
unknown
c0::dsk/c0t0d0 disk connected configured
unknown
c0::dsk/c0t1d0 disk connected configured
unknown
c0::dsk/c0t2d0 disk connected configured
unknown
c0::dsk/c0t3d0 disk connected configured
unknown
c1 scsi-bus connected configured
unknown
c1::dsk/c1t6d0 CD-ROM connected configured
unknown
c2 scsi-bus connected configured
unknown
c2::dsk/c2t0d0 disk connected configured
unknown
c2::dsk/c2t1d0 disk connected configured
unknown
c2::dsk/c2t2d0 disk connected configured
unknown
c2::dsk/c2t3d0 unavailable connected unconfigured
unknown
c3 scsi-bus connected unconfigured
unknown

AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci at 1f,4000/scsi at 3/sd at 0,0
1. c0t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci at 1f,4000/scsi at 3/sd at 1,0
2. c0t2d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci at 1f,4000/scsi at 3/sd at 2,0
3. c0t3d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci at 1f,4000/scsi at 3/sd at 3,0
4. c2t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci at 6,4000/scsi at 4/sd at 0,0
5. c2t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci at 6,4000/scsi at 4/sd at 1,0
6. c2t2d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci at 6,4000/scsi at 4/sd at 2,0
Specify disk (enter its number):

Thanks again,

Andy

AndyC at dice.com wrote:
Greetings managers...
I just want to verify a few things that are in the Sun Docs. I have
a few
E250's and E450's, each with unused hot-swappable disk drives. I
want to
pull them without shutting down the servers. According to the
AnswerBook's
platform notes for the 250, I need to run the ssaadm command to
"remove" the
drive before physically pulling it. For example:
ssaadm remove_device c0t1d0s2
OK, that works great. I run the command, pull the drive and the
logical
device files are removed. The format command (and related commands)
no
longer shows the disk.
Now, the platform notes for the 450 make no reference to the ssaadm
command
(and I tried it for kicks, got an 'Invalid path name' error). The
doc says
to just make sure the disk is unmounted, and then refer back to the
user
guide for directions to pull the disk out. I pulled one disk, and
the
format command still shows the disk:
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/pci at 1f,4000/scsi at 3/sd at 0,0
....
7. c2t3d0 <drive not available: formatting>
/pci at 6,4000/scsi at 4/sd at 3,0
Am I missing something?
Thanks in advance.
Andy

Comments

Got something to say?

You must be logged in to post a comment.