Disclaimer

Sunday, 11 July 2021

How to Create Oracle ACFS File System

 

How to Create Oracle ACFS File System

Step1> Create an ADVM Volume

ASMCMD> volcreate -G DG_TEST -s 10G vol3

Step2> Find Volume Info

ASMCMD>  volinfo -G DG_TEST vol3
Diskgroup Name: DG_TEST
         Volume Name: VOL3
         Volume Device: /dev/asm/vol3-69
         State: ENABLED
         Size (MB): 10240
         Resize Unit (MB): 64
         Redundancy: UNPROT
         Stripe Columns: 8
         Stripe Width (K): 1024
         Usage:
         Mountpath:

Step3> Fomat the volume using mkfs command

$ /sbin/mkfs -t acfs /dev/asm/vol3-69
mkfs.acfs: version                   = 12.2.0.1.0
mkfs.acfs: on-disk version           = 39.0
mkfs.acfs: volume                    = /dev/asm/vol3-69
mkfs.acfs: volume size               = 10737418240  (  10.00 GB )
mkfs.acfs: Format complete.

Step4> Mount the File System

# mkdir -p /acfsmounts/acfs1
#/bin/mount -t acfs /dev/asm/vol3-69 /acfsmounts/acfs1

Step5> Check the file system is mounted

# df -h |grep /acfsmounts/acfs1
/dev/asm/vol3-69              10G   59M   10G   1% /acfsmounts/acfs1



No comments:

Post a Comment

Index rebuild online in Oracle - shell script

  [oracle@rac10p reorg]$ cat index_rebuild_EMP.sh #!/bin/ksh export ORACLE_HOME=/oracle/K12/19 export ORACLE_SID=K12 export PATH=$PATH:/$ORA...