Site icon EasyOraDBA

Mounting Unmounting ACFS 12c on Linux

Unmounting ACFS File Systems
ACFS 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.

cd /u01/app/12.1.0.2/grid/bin
./crsctl stat res -w "TYPE = ora.acfs.type" -p | grep VOLUME
CANONICAL_VOLUME_DEVICE=/dev/asm/acfs_vol-173
VOLUME_DEVICE=/dev/asm/acfs_vol-173
CANONICAL_VOLUME_DEVICE=/dev/asm/acfs_vol-173
VOLUME_DEVICE=/dev/asm/acfs_vol-173

2. Execute the following command to stop the CRS managed ACFS file system resource with the resource name found from Step 1.

cd /u01/app/12.1.0.2/grid/bin
# srvctl stop filesystem -d <volume device path> -n <node to stop file system on>
./srvctl stop filesystem -d /dev/asm/acfs_vol-173 -n exatestdbadm02
./srvctl stop filesystem -d /dev/asm/acfs_vol-173 -n exatestdbadm01

— to check run below command —
As root user execute:
[root@exatestdbadm01 bin]# /sbin/acfsutil info fs
acfsutil info fs: ACFS-03036: no mounted ACFS file systems
— Mounting ACFS File Systems —
1. Execute the following command to find the names of the CRS managed ACFS file system resource.
As root user execute:

cd /u01/app/12.1.0.2/grid/bin
# crsctl stat res -w "TYPE = ora.acfs.type" -p | grep VOLUME
CANONICAL_VOLUME_DEVICE=/dev/asm/acfs_vol-173
VOLUME_DEVICE=/dev/asm/acfs_vol-173
CANONICAL_VOLUME_DEVICE=/dev/asm/acfs_vol-173
VOLUME_DEVICE=/dev/asm/acfs_vol-173

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:

cd /u01/app/12.1.0.2/grid/bin
# srvctl start filesystem -d <volume device path> -n <node to start file system on>
./srvctl start filesystem -d /dev/asm/acfs_vol-173 -n exatestdbadm01
./srvctl start filesystem -d /dev/asm/acfs_vol-173 -n exatestdbadm02
-- to check if ACFS mounted run below as root user on both nodes --
/sbin/acfsutil info fs

 

Exit mobile version