![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||
Solution Type Problem Resolution Sure Solution 2049270.1 : Solaris 10 Fails To Replace a SCSI Disk under SVM - Application(s) accessing previously attached SATA device have to release it before newly inserted device can be made accessible.
In this Document
Created from <SR 3-11149297731> Applies to:Sun Fire X4270 M2 Server - Version All Versions and laterSolaris Operating System - Version 10 3/05 to 10 8/11 U10 [Release 10.0] Information in this document applies to any platform. SymptomsAn internal SCSI SATA disk (c1t0d0), a mirrored boot disk, encountered hardware failures and was placed into maintenance state in SVM. Device Relocation Information:
Device Reloc Device ID c1t1d0 Yes id1,sd@SATA_____SEAGATE_ST95000N____________9SP1RZ98 c1t0d0 Yes id1,sd@SATA_____SEAGATE_ST95000N____________9SP1R57W <===== Device ID of the original failed disk
# cfgadm -al
Ap_Id Type Receptacle Occupant Condition ... sata0/0::dsk/c1t0d0 disk connected configured ok sata0/1::dsk/c1t1d0 disk connected configured ok
# cfgadm -c unconfigure sata0/0::dsk/c1t0d0
# cfgadm -al
Ap_Id Type Receptacle Occupant Condition c0 scsi-bus connected configured unknown ...... sata0/0 sata-port empty unconfigured ok <===== no disk, as expected sata0/1::dsk/c1t1d0 disk connected configured ok
Aug 17 09:31:52 server01 sata: [ID 801593 kern.warning] WARNING: /pci@0,0/pci108e,484c@1f,2:
Aug 17 09:31:52 server01 SATA device detached at port 0 Aug 17 09:31:52 server01 sata: [ID 801593 kern.warning] WARNING: /pci@0,0/pci108e,484c@1f,2: Aug 17 09:31:52 server01 SATA device detached at port 0
Aug 17 09:32:10 server01 sata: [ID 801593 kern.warning] WARNING: /pci@0,0/pci108e,484c@1f,2:
Aug 17 09:32:10 server01 SATA device detected at port 0 Aug 17 09:32:10 server01 sata: [ID 663010 kern.info] /pci@0,0/pci108e,484c@1f,2 : Aug 17 09:32:10 server01 sata: [ID 761595 kern.info] SATA disk device at port 0 Aug 17 09:32:10 server01 sata: [ID 846691 kern.info] model WDC WD500BLHXSUN500G WX71E71XA241 <===== this is a different disk Aug 17 09:32:10 server01 sata: [ID 693010 kern.info] firmware 5G08 Aug 17 09:32:10 server01 sata: [ID 163988 kern.info] serial number WD-WX71E71XA241 Aug 17 09:32:10 server01 sata: [ID 594940 kern.info] supported features: Aug 17 09:32:10 server01 sata: [ID 981177 kern.info] 48-bit LBA, DMA, Native Command Queueing, SMART, SMART self-test Aug 17 09:32:10 server01 sata: [ID 643337 kern.info] SATA Gen2 signaling speed (3.0Gbps) Aug 17 09:32:10 server01 sata: [ID 349649 kern.info] Supported queue depth 32 Aug 17 09:32:10 server01 sata: [ID 349649 kern.info] capacity = 976773168 sectors Aug 17 09:32:10 server01 sata: [ID 801593 kern.warning] WARNING: /pci@0,0/pci108e,484c@1f,2: Aug 17 09:32:10 server01 Application(s) accessing previously attached SATA device have to release it before newly inserted device can be made accessible. <===== THIS IS THE KEY POINT
12. c1t0d0 <drive type unknown>
/pci@0,0/pci108e,484c@1f,2/disk@0,0 13. c1t1d0 <DEFAULT cyl 60798 alt 2 hd 255 sec 63> /pci@0,0/pci108e,484c@1f,2/disk@1,0
# cfgadm -al
Ap_Id Type Receptacle Occupant Condition ... sata0/0::dsk/c1t0d0 disk connected configured unusable sata0/1::dsk/c1t1d0 disk connected configured ok
# cfgadm -alv
Ap_Id Receptacle Occupant Condition Information When Type Busy Phys_Id ... sata0/0::dsk/c1t0d0 connected configured unusable Mod: WDC WD500BLHXSUN500G WX71E71XA241 FRev: 5G08 SN: WD-WX71E71XA241 <===== new serial number unavailable disk n /devices/pci@0,0/pci108e,484c@1f,2:0 sata0/1::dsk/c1t1d0 connected configured ok Mod: SEAGATE ST95000NSSUN500G 1029M1RZ98 FRev: SF03 SN: 9SP1RZ98 unavailable disk n /devices/pci@0,0/pci108e,484c@1f,2:1
# cfgadm -c configure sata0/0::dsk/c1t0d0
cfgadm: Insufficient condition # cfgadm -c unconfigure -o unusable_SCSI_LUN sata0/0::dsk/c1t0d0 #
Aug 17 09:33:47 server01 scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci108e,484c@1f,2/disk@0,0 (sd0):
Aug 17 09:33:47 server01 Command failed to complete...Device is gone Aug 17 09:33:47 server01 scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci108e,484c@1f,2/disk@0,0 (sd0): Aug 17 09:33:47 server01 drive offline
CauseBug 15601013 : SUNBT6897798-SOLARIS_11 SATA device cannot be configured after disk ejection and reinsertion Due to devfs checking for the wrong device state. SolutionWhen this bug is encountered, the Solaris server must be rebooted in order to recognize the new disk. Definitive solution is to install a patch with fix and reboot. Fix is contained in the following patches: Solaris 10 SPARC: <Patch 148065-02> 02 Feb 2012 Synopsis: Obsoleted by: <Patch 147440-23> SunOS 5.10: devfs patch Solaris 10 x86: <Patch 148066-02> 02 Feb 2012 Synopsis: Obsoleted by: <Patch 147441-23> SunOS 5.10_x86: devfs patch References<NOTE:1602531.1> - Solaris Volume Manager (SVM) x86 How to Replace a Failed, SCSI Disk, Mirrored with SVM<NOTE:1482284.1> - Solaris Volume Manager (SVM): How to Boot from a Detached SVM Submirror on a x86 System <BUG:15601013> - SUNBT6897798-SOLARIS_11 SATA DEVICE CANNOT BE CONFIGURED AFTER DISK EJECTION AND Attachments This solution has no attachment |
||||||||||||||||||
|