ACFS file system creation using Manual Method. Steps to create ACFS file system

 ACFS file system creation using Manual Method. Steps to create ACFS file system

Step 1: List the disks using the below command.


col name for a30;

SELECT NAME, VALUE, GROUP_NUMBER FROM v$asm_attribute where name like '%com%';


Step 2: Create the oracleasm disk using the below command.


#oracleasm create disk ACFS  /dev/mapper/DISK014_ARCH_4T1


Step 4: Verify the header status of the path is provisioned using the below query.


col PATH for a50;

select path, group_number group_#, disk_number disk_#, mount_status,header_status, state, total_mb, free_mb from v$asm_disk order by group_number;


SQL> SELECT NAME,VALUE,GROUP_NUMBER FROM v$asm_attribute where name like '%com%';


CREATE DISKGROUP FRA EXTERNAL REDUNDANCY DISK ‘/dev/oracleasm/disks/ARCH03’ NAME FRA_01 ATTRIBUTE compatible.asm’ = ‘12.2.0.1.0’, ‘compatible.rdbms’=’12.2.0.1.0’ ,‘compatible.advm’ = 12.2.0.1.0’;


Step 7: Verify the diskgroup has been created using the below query.

SQL> SELECT name, free_mb, total_mb, ((total_mb-free_mb)/total_mb)*100 as "USED %", free_mb/total_mb*100 "FREE%" from v$asm_diskgroup order by 1;


NAME                              FREE_MB   TOTAL_MB     USED %      FREE%

------------------------------ ---------- ---------- ---------- ----------

ASMGG                                4984       5116 2.58014073 97.4198593

ASM_DATA_SHARED                     38388      51196 25.0175795 74.9824205

DATA                                14468      51196 71.7399797 28.2600203

ORAACFS                             10096      10236 1.36772177 98.6322782

ORAACFS1                            10088      51196 80.2953356 19.7046644

ORAACFSDG                           10092      10236 1.40679953 98.5932005


6 rows selected.


Step 8: Mount the diskgroup using the below command.


ALTER DISKGROUP FRA MOUNT;


 ASMCMD [+] >  volcreate -G DATA -s 10G --width 64K --column 8 oraacfs


Step 9: Create the volume using the below command and verify the created volume information using the below command.

ASMCMD> volinfo -G ORAACFSDG volume1

Diskgroup Name: ORAACFSDG

         Volume Name: oraacfs

         Volume Device: /dev/asm/volume1-453

         State: ENABLED

         Size (MB): 9216

         Resize Unit (MB): 64

         Redundancy: UNPROT

         Stripe Columns: 8

         Stripe Width (K): 64

         Usage:

         Mountpath:

 

Step 10: Create the acfs file system


mkfs -t oraacfs1 -f /dev/asm/volume1-453


Step 11: Create a directory from the root user and provide the required privilege (in both nodes)


mkdir -p /acfsarch

chown oracle:oinstall /acfsarch


Step 12: Register the file system using the below command from the root user and verify the file system on both the nodes.

/sbin/acfsutil registry -a  /dev/asm/acfsarch-243  /acfsarch -u oracle

df -h /acfsarch



http://oracleinaction.com/troubleshooting-asm-proxy-instance-startup/




ASMCMD> volinfo --all

ASMCMD-9470: ASM proxy instance unavailable

ASMCMD-9473: volume STATE will show as REMOTE

Diskgroup Name: ORAACFS1


         Volume Name: OGGVOL

         Volume Device: UNKNOWN

         State: DISABLED

         Size (MB): 40960

         Resize Unit (MB): 64

         Redundancy: UNPROT

         Stripe Columns: 8

         Stripe Width (K): 1024

         Usage:

         Mountpath:


Diskgroup Name: ORAACFSDG


         Volume Name: VOLUME1

         Volume Device: UNKNOWN

         State: DISABLED

         Size (MB): 9216

         Resize Unit (MB): 64

         Redundancy: UNPROT

         Stripe Columns: 8

         Stripe Width (K): 64

         Usage:

         Mountpath:


Comments

Popular posts from this blog

MY NOTEPAD

Oracle OEM Holistic Patch

Upgrade Oracle 19c DB to 21c using Auto Upgrade utility inprogress