Case study of 11gR2GI PSUORACLE_HOME space insufficiency-20 GB or more free space required

Source: Internet
Author: User
GI hitting auto patch command # u01oracleappgridOPatchopatchautou01soft18706472-ocmrfu01softocm.rspExecutingu01oracleappgridperlbinperlu01oracleappgridOPatchcrspatch11203.pl-patchdiru01soft-patchn18706472-ocmrf

Run the patch command #/u01/oracle/app/grid/OPatch/opatch auto/u01/soft/18706472-ocmrf/u01/soft/ocm for GI to run auto. rspExecuting/u01/oracle/app/grid/perl/bin/perl/u01/oracle/app/grid/OPatch/crs/patch11203.pl-patchdir/u01/soft-patchn 18706472-ocmrf

Run the patch command by Running auto in GI.

#/u01/oracle/app/grid/OPatch/opatch auto /u01/soft/18706472 -ocmrf /u01/soft/ocm.rspExecuting /u01/oracle/app/grid/perl/bin/perl /u01/oracle/app/grid/OPatch/crs/patch11203.pl -patchdir /u01/soft -patchn 18706472 -ocmrf /u01/soft/ocm.rsp -paramfile /u01/oracle/app/grid/crs/install/crsconfig_paramsThis is the main log file: /u01/oracle/app/grid/cfgtoollogs/opatchauto2014-10-15_01-15-28.logThis file will show your detected configuration and all the steps that opatchauto attempted to do on your system:/u01/oracle/app/grid/cfgtoollogs/opatchauto2014-10-15_01-15-28.report.log2014-10-15 01:15:28: Starting Clusterware Patch SetupUsing configuration parameter file: /u01/oracle/app/grid/crs/install/crsconfig_paramsStopping CRS...Stopped CRS successfullypatch /u01/soft/18706472/18522509  apply successful for home  /u01/oracle/app/grid patch /u01/soft/18706472/18522515  apply failed  for home  /u01/oracle/app/gridStarting CRS...Installing Trace File AnalyzerCRS-4123: Oracle High Availability Services has been started.opatch auto succeeded.

Here we can see that patch 18522509 is successful, and all subsequent patches fail, instead of only 18522515 failures.

Analyze error logs

Composite patch 18522509 successfully applied. OPatch Session completed with warnings. Log file location: /u01/oracle/app/grid/cfgtoollogs/opatch/opatch2014-10-15_01-19-00AM_1.log OPatch completed with warnings.2014-10-15 01:21:44: patch /u01/soft/18706472/18522509  apply successful for home  /u01/oracle/app/grid2014-10-15 01:21:44: Executing command /u01/oracle/app/grid/OPatch/opatch napply /u01/soft/18706472/18522515 -local -silent -ocmrf /u01/soft/ocm.rsp -oh /u01/oracle/app/grid -invPtrLoc /u01/oracle/app/grid/oraInst.loc as grid2014-10-15 01:21:44: Running as user grid: /u01/oracle/app/grid/OPatch/opatch napply /u01/soft/18706472/18522515 -local -silent -ocmrf /u01/soft/ocm.rsp -oh /u01/oracle/app/grid -invPtrLoc /u01/oracle/app/grid/oraInst.loc2014-10-15 01:21:44: s_run_as_user2: Running /bin/su grid -c ' /u01/oracle/app/grid/OPatch/opatch napply /u01/soft/18706472/18522515 -local -silent -ocmrf /u01/soft/ocm.rsp -oh /u01/oracle/app/grid -invPtrLoc /u01/oracle/app/grid/oraInst.loc '2014-10-15 01:21:49: Removing file /tmp/uaa7jC7eu2014-10-15 01:21:49: Successfully removed file: /tmp/uaa7jC7eu2014-10-15 01:21:49: /bin/su exited with rc=732014-10-15 01:21:49: status of apply patch is 186882014-10-15 01:21:49: The apply patch output is Oracle Interim Patch Installer version 11.2.0.3.6 Copyright (c) 2013, Oracle Corporation.  All rights reserved. Oracle Home       : /u01/oracle/app/grid Central Inventory : /u01/oracle/app/oraInventory    from           : /u01/oracle/app/grid/oraInst.loc OPatch version    : 11.2.0.3.6 OUI version       : 11.2.0.4.0 Log file location : /u01/oracle/app/grid/cfgtoollogs/opatch/opatch2014-10-15_01-21-44AM_1.log Verifying environment and performing prerequisite checks... Prerequisite check "CheckSystemSpace" failed. The details are: Required amount of space(24021.839MB) is not available. UtilSession failed: Prerequisite check "CheckSystemSpace" failed. Log file location: /u01/oracle/app/grid/cfgtoollogs/opatch/opatch2014-10-15_01-21-44AM_1.log OPatch failed with error code 73

It can be seen that patch 18522509 is successful, but 18522515 fails to be checked. Because $ ORACLE_HOME (GI) requires 24021.839 MB of available space, the free space is insufficient.

View and free up space

# df -gFilesystem    GB blocks      Free %Used    Iused %Iused Mounted on/dev/hd4          10.00      9.56    5%    12443     1% //dev/hd2          15.00     11.42   24%    60339     3% /usr/dev/hd9var       10.00      9.91    1%     3310     1% /var/dev/hd3          10.00      9.65    4%      364     1% /tmp/dev/hd1          10.00     10.00    1%       32     1% /home/dev/hd11admin      0.25      0.25    1%        5     1% /admin/proc                 -         -    -         -     -  /proc/dev/hd10opt      10.00      8.98   11%    12401     1% /opt/dev/fslv00       50.00     12.94   75%    59137     2% /u01/dev/odm           0.00      0.00   -1%        6   100% /dev/odm/dev/vx/dsk/crs_dg/crs_vol      1.96      1.75   12%        5     1% /crsdata/dev/vx/dsk/ora_dg/data01_vol   2048.00   2031.32    1%        4     1% /oradata/data01/dev/vx/dsk/ora_dg/sys_vol    400.00    350.29   13%     3702     1% /oradata/sys# cd /u01# lslost+found  oracle      soft# cd soft# du -sg17.34   .# mv /u01/soft /oradata/sys/# df -gFilesystem    GB blocks      Free %Used    Iused %Iused Mounted on/dev/hd4          10.00      9.56    5%    12443     1% //dev/hd2          15.00     11.42   24%    60339     3% /usr/dev/hd9var       10.00      9.91    1%     3310     1% /var/dev/hd3          10.00      9.65    4%      364     1% /tmp/dev/hd1          10.00     10.00    1%       32     1% /home/dev/hd11admin      0.25      0.25    1%        5     1% /admin/proc                 -         -    -         -     -  /proc/dev/hd10opt      10.00      8.98   11%    12401     1% /opt/dev/fslv00       50.00     27.56   45%    59137     2% /u01/dev/odm           0.00      0.00   -1%        6   100% /dev/odm/dev/vx/dsk/crs_dg/crs_vol      1.96      1.75   12%        5     1% /crsdata/dev/vx/dsk/ora_dg/data01_vol   2048.00   2031.32    1%        4     1% /oradata/data01/dev/vx/dsk/ora_dg/sys_vol    400.00    333.54   14%     3702     1% /oradata/sys# cd soft# ls -ltrtotal 12464202drwxr-xr-x    5 grid     dba            1024 Jul 07 21:06 18706472-rw-rw-r--    1 grid     dba            2123 Jul 15 20:06 PatchSearch.xml-rw-r--r--    1 root     system   1801653734 Oct 14 14:39 p13390677_112040_aix64-5l_1of7.zip-rw-r--r--    1 root     system   1170882875 Oct 14 14:40 p13390677_112040_aix64-5l_2of7.zip-rw-r--r--    1 root     system   2127071138 Oct 14 14:41 p13390677_112040_aix64-5l_3of7.zip-rw-r--r--    1 root     system   1242090126 Oct 14 14:43 p18706472_112040_AIX64-5L.zip-rw-r--r--    1 root     system     34964928 Oct 14 14:43 p6880880_112000_AIX64-5L.zip-rwxr-xr-x    1 root     system       127965 Oct 14 14:48 unzip_aix-rw-r--r--    1 root     system      4871110 Oct 14 14:50 ONEOFF_112043_AIX64.zipdrwxr-xr-x    8 grid     dba            1024 Oct 14 14:55 griddrwxr-xr-x    8 oracle   dba            1024 Oct 14 14:57 database-rw-r--r--    1 grid     dba             621 Oct 15 00:11 ocm.rsp

Indeed, the space of/u01 is insufficient. by migrating the RAC Installation File to other directories, make sure that/u01 has enough space for patching.

Rollback command

# /u01/oracle/app/grid/OPatch/opatch auto /u01/soft/18706472 -rollback -ocmrf /u01/soft/ocm.rsp

Patch again

#/U01/oracle/app/grid/OPatch/opatch auto/u01/soft/18706472-ocmrf/u01/soft/ocm. rsp
 
  

Check and confirm patch success

# su - gridxifenfei1:/home/grid> opatch lspatches18522514;ACFS PATCH SET UPDATE : 11.2.0.4.3 (18522514)18522515;OCW Patch Set Update : 11.2.0.4.3 (18522515)18522509;Database Patch Set Update : 11.2.0.4.3 (18522509)xifenfei1:/home/grid> crsctl status res -t--------------------------------------------------------------------------------NAME           TARGET  STATE        SERVER                   STATE_DETAILS       --------------------------------------------------------------------------------Local Resources--------------------------------------------------------------------------------ora.LISTENER.lsnr               ONLINE  ONLINE       xifenfei1                                                    ONLINE  ONLINE       xifenfei2                                     ora.asm               OFFLINE OFFLINE      xifenfei1                                                    OFFLINE OFFLINE      xifenfei2                                     ora.gsd               OFFLINE OFFLINE      xifenfei1                                                    OFFLINE OFFLINE      xifenfei2                                     ora.net1.network               ONLINE  ONLINE       xifenfei1                                                    ONLINE  ONLINE       xifenfei2                                     ora.ons               ONLINE  ONLINE       xifenfei1                                                    ONLINE  ONLINE       xifenfei2                                     ora.registry.acfs               OFFLINE OFFLINE      xifenfei1                                                    OFFLINE OFFLINE      xifenfei2                                     --------------------------------------------------------------------------------Cluster Resources--------------------------------------------------------------------------------ora.LISTENER_SCAN1.lsnr      1        ONLINE  ONLINE       xifenfei2                                     ora.cvu      1        ONLINE  ONLINE       xifenfei2                                     ora.xifenfei1.vip      1        ONLINE  ONLINE       xifenfei1                                     ora.xifenfei2.vip      1        ONLINE  ONLINE       xifenfei2                                     ora.oc4j      1        ONLINE  ONLINE       xifenfei2                                     ora.scan1.vip      1        ONLINE  ONLINE       xifenfei2                                     

  • When the Copy failed-tfa service appears during the patch, some lib is not released.
  • 11.2.0.4 separate installation of tfa using GI
  • OLR Maintenance
  • Use Oracle minor upgrade opatch apply
  • 11gr2 rac cannot be started properly due to improper settings of asm sga_target
  • Configure the second listener on 11GR2 GI
  • Modify the name of the disk where ocr/votedisk/asm spfile is located in ORACLE 12C RAC
  • Upgrade 10.2.0.x to 10.2.0.5.5

Original article address: 11gR2 gi psu ORACLE_HOME insufficient space case-20 GB or more free space required, thanks to the original author for sharing.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.