ACFS file systems is used by Oracle RAC for hosting software files for the database as well as non-database files and is managed by the Oracle GRID Infrastructure.
While applying the July 2020 PSU patching on the 19c RAC cluster using ‘opatch auto’ as root, the patching failed. We noticed following write error messages in the opatch log, which were kind of misleading.
[INFO] Prerequisite check "CheckApplicable" failed.
The details are:
Patch 31305087:
Copy Action: Destination File "/u01/app/19.0.0.0/grid/jlib/ghctl.jar" is not writeable.
'oracle.rhp.common, 19.0.0.0.0': Cannot copy file from 'ghctl.jar' to '/u01/app/19.0.0.0/grid/jlib/ghctl.jar'
Copy Action: Destination File "/u01/app/19.0.0.0/grid/jlib/rhp.jar" is not writeable.
'oracle.rhp.common, 19.0.0.0.0': Cannot copy file from 'rhp.jar' to '/u01/app/19.0.0.0/grid/jlib/rhp.jar'
Copy Action: Destination File "/u01/app/19.0.0.0/grid/srvm/admin/rhpmovedb.pl" is not writeable.
'oracle.rhp.common, 19.0.0.0.0': Cannot copy file from 'rhpmovedb.pl' to '/u01/app/19.0.0.0/grid/srvm/admin/rhpmovedb.pl'
After much investigation & raising a severity 1 SR, we came across the note “Supplemental Readme – Patch Installation and Deinstallation for 12.1.0.x.x GI PSU and Database Proactive Bundle Patch (Doc ID 1591616.1)” which states that before grid patching, we need to shut down the processes using the software files on ACFS and then unmount the ACFS file system.
Clearly, we missed that step, which caused the issue. So, before grid patching, please check if ACFS is in use or not & make sure to perform following steps.
- Execute the following command to find the names of the CRS managed ACFS file system resource. #crsctl stat res -w “TYPE = ora.acfs.type” -p | grep VOLUME
- Execute the following command to stop the CRS managed ACFS file system resource with the resource name found from Step 1.
As root user execute:
# srvctl stop filesystem -d <volume device path> -n <node to stop file system on>
This resolved our issue & we were able to proceed ahead!!