How to Safely Remove an Oracle ACFS File System and ASM Volume
If you no longer need an Oracle ACFS file system and its underlying ASM volume, follow these steps to completely and safely remove it. ⚠️ This process will delete all data in the file system.
All the below steps are done from Grid user or from where asm is setup.
Check the Volume Details:
asmcmd volinfo --all
Volume Name: VOLUME1
Volume Device: /acfsmounts/acfs1
State: ENABLED
Size (MB): 512000
Resize Unit (MB): 64
You can validate from below query as well
sqlplus '/as sysasm'
SQL> SELECT volume_name, volume_device FROM V$ASM_VOLUME;
Step 1: Deregister the File System
Remove the mount point from the Oracle registry:
You should see:
Step 2: Unmount the File System
Unmount the file system from Linux:
🔁 In RAC/clustered environments, repeat this on all nodes.
Verify Volume is not attached to any file system
srvctl status filesystem -d /acfsmounts/acfs1
PRCA-1070 : File system resource does not exist for volume device "/acfsmounts/acfs1"
Step 3: Remove the File System
This step removes the ACFS structure from the ASM volume:
Skip this if you plan to delete the entire volume in the next step — it will be removed automatically.
Step 4 (Optional): Disable the ASM Volume
Before deletion, disable the volume:
Step 5: Delete the ASM Volume
Finally, remove the ASM volume completely:
After this process, the ACFS file system and its ASM volume will be permanently removed.
Post a Comment
Post a Comment