Professional Documents
Culture Documents
Reference:
Documentation: Automatic Storage Management Administrator’s Guide -> 5 Introduction to Oracle
ACFS
ACFS is an ASM based clustered file system that is used to store all type of data types and is installed
with Grid Infrastructure. There are different ways to create ACFS. The way how to create an ACFS file
system using ASMCA utility is shown below.
ACFS is based on the volumes that are created in a disk group. So, first of all, an ASM diskgroup
should be created. Then the volume will be created in an ASM diskgroup. This volume device will be
used to create an ACFS. Before starting to create a new diskgroup, make sure you deleted all
diskgroups that are created in the previous section.
Run asmca command to open ASM Configuration Assistant page as shown in figure 7.12.
Click Create button to create a new diskgroup named DF_ACFS with external redundancy and provide
2 disks as shown in Figure 7.13.
www.ocmguide.com/category/ocm-tips-and-tricks/ 1/5
6/17/2021 OCM Tips and Tricks – OCM Guide
Now switch to Volumes tab and create a new volume based on the newly created disk group as shown
in Figure 7.14.
Next, switch to the “ASM Cluster File Systems” tab and click Create button to create an ASM Cluster
file system as in Figure 7.15.
www.ocmguide.com/category/ocm-tips-and-tricks/ 2/5
6/17/2021 OCM Tips and Tricks – OCM Guide
Click on “Show mount command” to see the command that is needed to run to mount the ACFS on
other nodes as in Figure 7.16.
In the exam, you might be asked to create an ACFS using command line and the GUI might not be
available. Check the following documentation and following steps to see how to create an ACFS using
command line:
Reference:
Documentation: Automatic Storage Management Administrator’s Guide -> Basic Steps to Manage
First of all, create an ASM diskgroup by using the last two disks:
Diskgroup created.
Diskgroup created.
Diskgroup altered.
www.ocmguide.com/category/ocm-tips-and-tricks/ 3/5
6/17/2021 OCM Tips and Tricks – OCM Guide
To get more information about volume management with ASMCMD command, run it with
the help option to see the available options as follows:
[oracle@ocmnode1 ~]$ asmcmd help
SQL> SELECT inst_id, volume_name, volume_device, size_mb, usage, state FROM gv$asm_
volume ORDER BY inst_id, volume_name;
SQL> SET LINESIZE 150
SQL> COL volume_device FORMAT a30
INST_ID VOLUME_NAME VOLUME_DEVICE SIZE_MB USAGE STATE
— —————- ——————– ———- ———————- ——–
1 VL_ACFS /dev/asm/vl_acfs-31 256 ACFS ENABLED
1 VL_ACFS2 /dev/asm/vl_acfs2-238 256 ENABLED
SQL>
www.ocmguide.com/category/ocm-tips-and-tricks/ 4/5
6/17/2021 OCM Tips and Tricks – OCM Guide
To create a snapshot of an ACFS filesystem, “snap create” syntax is used. Create an empty
file in the ACFS folder, and create a snapshot of the filesystem.
[oracle@ocmnode1 ~]$ touch /u01/acfs2/a
[oracle@ocmnode1 ~]$ /sbin/acfsutil snap create test_snapshot /u01/acfs2
acfsutil snap create: Snapshot operation is complete.
To cleanup the environment or just to remove the ACFS file system, follow below steps.
Disable a Volume:
ASMCMD> voldisable -G data vl_acfs
www.ocmguide.com/category/ocm-tips-and-tricks/ 5/5