Oracle ACFS (ASM Cluster File System) is a cluster-aware file system built on top of ASM volumes. It's useful for storing scripts, backups, software, and other non-database files in an Oracle environment.
In this post, we’ll walk through a real-world, tested method to create and mount an ACFS file system using simple commands.
---๐ค Step 1: Log in as Grid User and Launch ASMCMD
asmcmd
---
๐ฝ Step 2: Create ASM Volume
Here we create a 100GB volume named backup
in the DATA
disk group:
asmcmd> volcreate -G DATA -s 100G backup
---
๐ Step 3: Check the ASM Volume Path
Run the below command to find the exact device path for the volume:
asmcmd> volinfo --all
Example output might show:
Device: /dev/asm/backup
---
✅ Step 4: Verify Volume Status (Optional but Recommended)
As the Grid user or root:
$ crsctl stat res ora.DATA.backup.advm -t
---
๐ Step 5: Create Mount Directory
$ mkdir /backup
---
๐งท Step 6: Format the Volume with ACFS
$ mkfs -t acfs /dev/asm/backup
---
๐ Step 7: Register and Auto-Mount Using acfsutil
This command mounts the ACFS file system and registers it to auto-mount on reboot:
$ /sbin/acfsutil registry -a /dev/asm/backup /backup
---
๐ Step 8: Verify Mount
$ df -h /backup
You should see your ACFS mount point listed.
---๐ก Summary
This method allows you to quickly create and mount an ACFS file system using minimal steps. It's ideal for storing Oracle RMAN backups, log files, or installer binaries in a clustered or standalone setup.
---๐ Related Posts
➡️ Have you used ACFS in your Oracle environment? Share your tips or variations in the comments below!