Change the mount point for an ACFS filesystem

Changing the mount point for an ACFS filesystem is not a straightforward process, and is not a well documented process. We found ourselves in this position after we misspelled the goldengate directory we wanted to use for the binaries and trail files in a RAC.

We erroneously spelled it goldendate. We tried to use asmcmd volset which changed it temporarily, but our changes were lost after a reboot. After fishing around for several hours, we found what is below, and thought it may be useful to someone else.

You need to use the acfsutil executable, which was nowhere to be found other than under an install directory.

expressdb1:oracle:ecomm1:/u01/app/11.2.0# ./grid/install/usm/cmds/bin/acfsutil registry -l
Device : /dev/asm/volume1-104 : Mount Point : /u01/app/oracle/acfsdata/goldendate : Options : none : Nodes : all : Disk Group : DATA : Volume : VOLUME1
expressdb1:oracle:ecomm1:/u01/app/11.2.0# ./grid/install/usm/cmds/bin/acfsutil registry -d /dev/asm/volume1-104
acfsutil registry: successfully removed ACFS volume /dev/asm/volume1-104 from Oracle Registry
expressdb1:oracle:ecomm1:/u01/app/11.2.0# ./grid/install/usm/cmds/bin/acfsutil registry -a /dev/asm/volume1-104 /u01/app/oracle/acfsdata/goldengate/
acfsutil registry: mount point /u01/app/oracle/acfsdata/goldengate successfully added to Oracle Registry
expressdb1:oracle:ecomm1:/u01/app/11.2.0#

You can then either:

restart each node, which will result in ACFS filesystem being mounted on the new location found in the cluster registry

-or-

umount the_current_location
mount -t acfs /dev/asm/volume-<###> /new_location

1 comment for “Change the mount point for an ACFS filesystem

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.