Database Reference
In-Depth Information
Here is an example of creating an ASM volume acf_vm1 on diskgroup ACFSDG1 using the ASMCMD tool:
ASMCMD> volcreate -G ACFSDG1 -s 1g acf_vm1
ASMCMD>
ASMCMD> volinfo -G ACFSDG1 acf_vm1
Diskgroup Name: ACFSDG1
Volume Name: ACF_VM1
Volume Device: /dev/asm/acf_vm1-105
State: ENABLED
Size (MB): 1024
Resize Unit (MB): 32
Redundancy: UNPROT
Stripe Columns: 4
Stripe Width (K): 128
Usage: Mountpath
Now you can use the mkfs command to create ACFS based on this volume device /dev/ams/ acf_vm1-105:
# mkfs -t acfs /dev/asm/acf_vm1-105
mkfs.acfs: version = 12.1.0.1.0
mkfs.acfs: on-disk version = 39.0
mkfs.acfs: volume = /dev/asm/acf_vm1-105
mkfs.acfs: volume size = 1073741824
mkfs.acfs: Format complete.
Then you can mount the ACFS. The acfsutil registry command can be used to register the ACFS with the ACFS
mount registry. Once being registered on the registry, the ACFS mount registry will ensure that the ACFS are mounted
automatically.
Create an OS directory as a mount point: /u01/acfs/ asm_vol1
mkdir /u01/acfs/asm_vol1
/sbin/acfsutil registry -a /dev/asm/acf_vm1-105 /u01/acfs/asm_vol1
acfsutil registry: mount point /u01/acfs/asm_vol1 successfully added to Oracle Registry
Now you can see the ACFS that is mounted on /901/acfs/asm_vol1.
# df -k | grep 'Filesystem \|asm'
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/asm/acf_vm1-105 1048576 119112 929464 12% /u01/acfs/asm_vol1
Create ACFS for Oracle RAC Home with ASMCA
In an Oracle RAC Database environment, you have the option of storing the Oracle RAC Database software
ORACLE_HOME in an ACFS. You can either use ASMCMD to follow the steps just mentioned to manually create the
ACFS for Oracle HOME, or you can use the ASMCA shortcut based on GUI to simplify the creation of ACFS for shared
Oracle RAC Database home. Assume that you have created an ASM diskgroup ORAHOME for this ACFS. This step
usually occurs after the successful configuration of the Grid Infrastructure installation and configuration and before
you are ready to install Oracle RAC software. The creation of this ACFS allows you to install Oracle RAC software on
this ACFS to have an Oracle RAC home that can be shared by all the RAC nodes.
 
Search WWH ::




Custom Search