A fix is available
APAR status
Closed as program error.
Error description
An attempt to open a write-protected disk for read/write access should return errno 47 (EWRPROTECT). Instead, open attempts are failing with errno 05 (EIO). This may cause some third party multipathing products to improperly fail the paths on write-protected disks. Other nonzero error codes may ALSO inadvertently be changed to EIO rather than the actual error values, thus causing applications which base their logic on specific error values to exhibit unexpected behavior.
Local fix
Workaround: In the case where the problem occurs on write-protected disks, (errno 47) temporarily place write-protected disks in a "Defined" state: . rmdev -l hdisk# (for each write-protected disk) . Once disks are ready for read/write access, a simple cfgmgr will make them Available again. . There is no known workaround for other nonzero error values.
Problem summary
Disk open routines provide a blanket error value of EIO for all error conditions and does not point to the actual error.
Problem conclusion
Code in disk open routine fixed so that proper error value is returned.
Temporary fix
Comments
APAR Information
APAR number
IV05055
Reported component name
AIX V7.1
Reported component ID
5765H4000
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Submitted date
2011-08-09
Closed date
2011-08-09
Last modified date
2013-04-08
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
AIX V7.1
Fixed component ID
5765H4000
Applicable component levels
R710 PSY U838098
UP11/10/05 I 1000
PTF to Fileset Mapping
U838098 devices.fcp.disk.rte 7.1.1.0
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
08 April 2013