重庆思庄Oracle、Redhat认证学习论坛

标题: How to Mount or Unmount ACFS File System While Applying GI Patches? (Doc ID 1... [打印本页]

作者: 郑全    时间: 2015-11-5 17:31
标题: How to Mount or Unmount ACFS File System While Applying GI Patches? (Doc ID 1...
[size=130%]How to Mount or Unmount ACFS File System While Applying GI Patches? (Doc ID 1494652.1)
To Bottom

                               
登录/注册后可看大图



                               
登录/注册后可看大图

In this Document
Goal
Solution
Unmounting ACFS File Systems
Mounting ACFS File Systems

Applies to:   Oracle Database - Enterprise Edition - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.
GoalHow to mount or unmount ACFS while applying Grid Infrastructure patches?
SolutionUnmounting ACFS File SystemsACFS file systems can be used by Oracle RAC for hosting software files for the database. It can also be used as a general purpose file system for non-database files. The ACFS file system is managed and administered by the Oracle Grid Infrastructure, So ACFS file systems will be impacted when shutting down the GI stack for patching GI homes.
Shut down the processes (including non-Oracle processes) that use the files on ACFS, then unmount the ACFS file system.
If the ACFS file system is used by Oracle database software, then perform Steps 1 and 2.
1.      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
2.      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>

If the ACFS file system is not used for Oracle Database software and is registered in the ACFS registry, perform the following steps.
1.      Execute the following command to find all ACFS file system mount points.
As root user execute:
# /sbin/acfsutil registry
2.      Unmount ACFS file systems found in Step 1.
As root user execute:
# /bin/umount <mount-point>
Note:
On Linux, use: /bin/umount
On Solaris, use: /sbin/umount
On AIX, use: /usr/sbin/umount

3.      Verify that the ACFS file systems are unmounted. Execute the following command to verify.
As the root user execute:
# /sbin/acfsutil info fs
The previous command should return the following message if there is no ACFS file systems mounted.
"acfsutil info fs: ACFS-03036: no mounted ACFS file systems"

Mounting ACFS File SystemsIf the ACFS file system is used by Oracle database software, then perform Steps 1 and 2.
1.      Execute the following command to find the names of the CRS managed ACFS file system resource.
As root user execute:
# crsctl stat res -w "TYPE = ora.acfs.type" -p | grep VOLUME
2.      Execute the following command to start and mount the CRS managed ACFS file system resource with the resource name found from Step 1.
As root user execute:
# srvctl start filesystem -d <volume device path> -n <node to start file system on>

If the ACFS file system is not used for Oracle Database software and is registered in the ACFS registry, these file systems should get automatically mounted when the CRS stack comes up. Perform Steps 1 and 2 if it is not already mounted.
1.      Execute the following command to find all ACFS file system mount points.
As the root user execute:
# /sbin/acfsutil registry
2.      Mount ACFS file systems found in Step 1.
As the root user execute:
# /bin/mount <mount-point>
Note:
On Linux, use: /bin/mount
On Solaris, use: /sbin/mount
On AIX, use: /usr/sbin/mount











欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2