So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following:
devfsadm -Cv
powermt -q
luxadm -e offline <drive path>
luxadm probe
All those commands failed to remove the path. The drive stills shows up as <drive type unknown> using the format command. Any ideas?
---------- Post updated at 07:47 AM ---------- Previous update was at 07:21 AM ----------
Oh, I forgot to add I've reboot --r too. Here's some ouput that show more info on the error and steps I've taken.
bash-3.2# cfgadm -a -o show_SCSI_LUN
Ap_Id Type Receptacle Occupant Condition
c1 fc connected unconfigured unknown
c2 fc-fabric connected configured unknown
c2::500601623ce01998,0 disk connected configured unknown
c2::500601623ce01998,1 disk connected configured unknown
c2::500601623ce01998,2 disk connected configured unknown
c2::5006016a3ce01998,0 disk connected configured unknown
c2::5006016a3ce01998,1 disk connected configured unknown
c2::5006016a3ce01998,2 disk connected configured unknown
bash-3.2# echo|format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN80G cyl 65533 alt 2 hd 16 sec 149>
/pci@7c0/pci@0/pci@8/scsi@2/sd@0,0
1. c2t5006016A3CE01998d0 <drive type unknown>
/pci@780/SUNW,qlc@0,1/fp@0,0/ssd@w5006016a3ce01998,0
2. c2t5006016A3CE01998d1 <DGC-RAID5-0429 cyl 40958 alt 2 hd 256 sec 10>
/pci@780/SUNW,qlc@0,1/fp@0,0/ssd@w5006016a3ce01998,1
3. c2t5006016A3CE01998d2 <DGC-RAID5-0429 cyl 51198 alt 2 hd 256 sec 16> new_lun
/pci@780/SUNW,qlc@0,1/fp@0,0/ssd@w5006016a3ce01998,2
4. c2t500601623CE01998d0 <drive type unknown>
/pci@780/SUNW,qlc@0,1/fp@0,0/ssd@w500601623ce01998,0
5. c2t500601623CE01998d1 <DGC-RAID5-0429 cyl 40958 alt 2 hd 256 sec 10>
/pci@780/SUNW,qlc@0,1/fp@0,0/ssd@w500601623ce01998,1
6. c2t500601623CE01998d2 <DGC-RAID5-0429 cyl 51198 alt 2 hd 256 sec 16> new_lun
/pci@780/SUNW,qlc@0,1/fp@0,0/ssd@w500601623ce01998,2
7. emcpower0e <DGC-RAID5-0429 cyl 40958 alt 2 hd 256 sec 10>
/pseudo/emcp@0
8. emcpower2d <DGC-RAID5-0429 cyl 51198 alt 2 hd 256 sec 16> new_lun
/pseudo/emcp@2
Specify disk (enter its number): Specify disk (enter its number):
bash-3.2# cfgadm -c unconfigure -o unusable_SCSI_LUN c2::5006016A3CE01998d0
bash-3.2# cfgadm -c unconfigure -o unusable_SCSI_LUN c2::500601623CE01998d0
bash-3.2# luxadm probe
No Network Array enclosures found in /dev/es
Found Fibre Channel device(s):
Node WWN:50060160bce01998 Device Type:Disk device
Logical Path:/dev/rdsk/c2t5006016A3CE01998d0s2
Logical Path:/dev/rdsk/c2t500601623CE01998d0s2
Node WWN:50060160bce01998 Device Type:Disk device
Logical Path:/dev/rdsk/c2t5006016A3CE01998d1s2
Logical Path:/dev/rdsk/c2t500601623CE01998d1s2
Node WWN:50060160bce01998 Device Type:Disk device
Logical Path:/dev/rdsk/c2t5006016A3CE01998d2s2
Logical Path:/dev/rdsk/c2t500601623CE01998d2s2
bash-3.2# devfsadm -Cv