ASM - ACFS - Administration

ACFS Administration                                                                                                               go index

To create a volumen 
volcreate -G data -s 10G volume1

Determine the device name of the volume
asmcmd volinfo -G DATA volume1

To register the file system with the acfsutil
/sbin/acfsutil registry -a /dev/asm/volume1-123 /acfsmounts/acfs1

Top mount the file system
/bin/mount -t acfs /dev/asm/volume1-123 /acfsmounts/acfs1
note: You can mount a file system before or after registering the file system

To Enable the volume that was previously created and enabled on node 1

asmcmd volenable -G data volume1

To Create snapshot of the new file system created on node 1
acfsutil snap create -h

acfsutil snap create [-r|-w] [-p parent_snapshot] snapshot mount_point
/sbin/acfsutil snap create mysnapshot_08092017 /acfsmounts/acfs1
acfsutil snap create -w midday_test1 /acfsmounts/critical_apps
acfsutil snap create -w midday_test2 /acfsmounts/critical_apps
/sbin/acfsutil snap create payroll_report1 /acfsmounts/critical_apps
/sbin/acfsutil snap create payroll_report2 /acfsmounts/critical_apps

ls /acfsmounts/critical_apps/.ACFS/snaps

To see the information about snap
/sbin/acfsutil snap info /acfsmounts/critical_apps

To delete the snaphot
/sbin/acfsutil snap delete midday_test1 /acfsmounts/critical_apps

to Display all ACFS file systems
acfsutil info fs



[oracle@ol7-122-rac1 ~]$ asmcmd volinfo -G DATA volumen1
Diskgroup Name: DATA

         Volume Name: VOLUMEN1
         Volume Device: /dev/asm/volumen1-241
         State: ENABLED
         Size (MB): 1024
         Resize Unit (MB): 64
         Redundancy: UNPROT
         Stripe Columns: 8
         Stripe Width (K): 1024
         Usage: ACFS
         Mountpath: /acfsmounts/acfs1


Note: