Below are all the steps to setup ACFS file system or EXT3 file system via ACFS.
1) Pre-checking for ACFS configuration:
+ASM1 > cluvfy stage -pre acfscfg -n racapp1,racapp2-verbose
2) Create DG_POC_ACFS diskgroup
cat /apps/oracle/work/an/dg_acfs.xml to view contain
<dg name="DG_POC_ACFS" redundancy="external">
<dsk string="ORCL:ORADATA_DD501_DISK11" />
<dsk string="ORCL:ORADATA_DD501_DISK12" />
<dsk string="ORCL:ORADATA_DD501_DISK13" />
<a name="compatible.asm" value="11.2"/>
<a name="compatible.rdbms" value="11.2"/>
</dg>
+ASM1 > asmcmd mkdg /apps/oracle/work/an/dg_acfs.xml
3) Create ASM volume
ASMCMD> volcreate -G DG_POC_ACFS -s 128g vol_share
ASMCMD> volinfo -a
Diskgroup Name: DG_POC_ACFS
Volume Name: VOL_SHARE
Volume Device: /dev/asm/vol_share-356
State: ENABLED
Size (MB): 131072
Resize Unit (MB): 256
Redundancy: UNPROT
Stripe Columns: 4
Stripe Width (K): 128
Usage:
Mountpath:
4) Create the ACFS file system
as root
/sbin/mkfs -t acfs -n "DBA Share FS" /dev/asm/vol_share-356
mkfs.acfs: version = 11.2.0.2.0
mkfs.acfs: on-disk version = 39.0
mkfs.acfs: volume = /dev/asm/vol_share-356
mkfs.acfs: volume size = 137438953472
mkfs.acfs: Format complete.
5) Add acfs registry:
/sbin/acfsutil registry -f -a /dev/asm/vol_share-356 /share
acfsutil registry: mount point /share successfully added to Oracle Registry
6) Mount /share file system
/bin/mount -t acfs /dev/asm/vol_share-356 /share
Or you can also create it as an EXT3 file system
volcreate -G DG_POC_ACFS -s 128g vol_dba
mkfs -t ext3 /dev/asm/vol_dba-356
mount /dev/asm/vol_dba-356 /dba
7) Validate Post ACFS configuration
cluvfy stage -post acfscfg -n racapp1,racapp2-verbose
No comments:
Post a Comment