• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How To Create “A CRS Managed” ACFS FileSystem On Oracle RAC Cluster (ASM/ACFS 11.2)

By admin

1. Create the mount points on all the nodes (as root user):

# mkdir /goldengate

2. Connect to the ASM instance & create the ACFS diskgroup (from the +ASM1 instance):

SQL> CREATE DISKGROUP ACFSTEST EXTERNAL REDUNDANCY
DISK 'ORCL:ASMDISK18' SIZE 4157 M
DISK 'ORCL:ASMDISK19' SIZE 4157 M
ATTRIBUTE 'compatible.asm' = '11.2', 'compatible.advm' = '11.2';

Diskgroup created.

3. Create the ACFS volume (from the +ASM1 instance):

SQL> ALTER DISKGROUP ACFSTEST ADD VOLUME ACFSTESTVOL SIZE 7G;

Diskgroup altered.

4. Verify the volume was created and obtain the new volume name:

$ asmcmd
ASMCMD> volinfo -a

Diskgroup Name: ACFSTEST

Volume Name: ACFSTESTVOL
Volume Device: /dev/asm/acfstestvol-76
State: ENABLED
Size (MB): 7168
Resize Unit (MB): 256
Redundancy: UNPROT
Stripe Columns: 4
Stripe Width (K): 128
Usage:
Mountpath:

5. From the first node, please create the ACFS filesystem on the new volume ( e.g. “/dev/asm/acfstestvol-76”) as “root” user:

# /sbin/mkfs -t acfs -b 4k /dev/asm/acfstestvol-76
mkfs.acfs: version = 11.2.0.1.0.0
mkfs.acfs: on-disk version = 39.0
mkfs.acfs: volume = /dev/asm/acfstestvol-76
mkfs.acfs: volume size = 7516192768
mkfs.acfs: Format complete

6. Register the ACFS filesystem & new volume with the CRS as root user:

# srvctl add filesystem -d /dev/asm/acfstestvol-76 -g 'ACFSTEST' -v ACFSTESTVOL -m /goldengate -u oracle

7. Start the new ACFS CRS resource (as root user):

# srvctl start filesystem -d /dev/asm/acfstestvol-76

8. Set the desired new ownership and permissions as root user:

# chown oracle:oinstall /goldengate
# chmod 775 /goldengate

9. Verify the new ACFS CRS managed filesystem is mounted on both nodes:

On Node #1

# df -k /goldengate
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/asm/acfstestvol-76  35651584   4590104  31061480  13% /goldengate

On Node #2

# df -k /goldengate
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/asm/acfstestvol-76  35651584   4590104  31061480  13% /goldengate

10. Verify the ACFS CRS resource is present in the CRS:

# crsctl stat res -w  "TYPE = ora.acfs.type"

NAME=ora.acfstest.acfstestvol.acfs
TYPE=ora.acfs.type
TARGET=ONLINE
STATE=ONLINE on asmgrid1, asmgrid2

Filed Under: ASM, oracle, RAC

Some more articles you might also be interested in …

  1. How to Recover From Lost or Missing Database Parameter Files (PFILE or SPFILE)
  2. How to extend ASM disk from OS level in CentOS/RHEL
  3. How to Disable Oracle Net Tracing on a Server Process without Stopping the Process
  4. Oracle RMAN 11g New Feature – MultiSection Backups
  5. Beginners Guide to Oracle Password Management Policy
  6. How to Roll Forward a standby database using RMAN incremental backup in 11g
  7. Understanding Flashback Table Feature in Oracle Database
  8. How To Find When The Spfile Was Created On Linux Server
  9. How to Set Multiple Events in INIT.ORA file
  10. Which SPFILE Parameter File is Impacted when Issuing an ALTER SYSTEM Command

You May Also Like

Primary Sidebar

Recent Posts

  • How to Disable IPv6 on Ubuntu 18.04 Bionic Beaver Linux
  • How to Capture More Logs in /var/log/dmesg for CentOS/RHEL
  • Unable to Start RDMA Services on CentOS/RHEL 7
  • How to rename a KVM VM with virsh
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary