Monday, May 13, 2013

ACFS not mounted after restart on standalone server

Problem description:

After reboot, ACFS is not mounted. 


Cause of problem:

Oracle Restart does not support root-based Oracle ACFS resources. As a result, the following operations are not automatically performed:

    Loading Oracle ACFS drivers

    Mounting Oracle ACFS file systems listed in the Oracle ACFS mount registry

    Mounting resource-based Oracle ACFS database home file systems

Solution of problem:

1. Manually load the modules required for ACFS, with the command:

# lsmod |grep oracle 
oracleasm              84136  1 
#/u01/app/crs/11.2.0.2/bin/acfsload start –s 
ACFS-9327: Verifying ADVM/ACFS devices. 
ACFS-9322: completed 
#lsmod |grep oracle 
oracleacfs           1734520  0 
oracleadvm            242048  0 
oracleoks             295248  2 oracleacfs,oracleadvm 
oracleasm              84136  1 

2. Enable ACFS Volume:

ASMCMD> volinfo -a
Diskgroup Name: DATAPUMP_DATA

         Volume Name: DATAPUMPVOL
         Volume Device: /dev/asm/datapumpvol-438
         State: DISABLED
         Size (MB): 613376
         Resize Unit (MB): 256
         Redundancy: UNPROT
         Stripe Columns: 4
         Stripe Width (K): 128
         Usage: ACFS
         Mountpath: /datapump 

ASMCMD> volenable -G DATAPUMP_DATA DATAPUMPVOL
ASMCMD> volinfo -a
Diskgroup Name: DATAPUMP_DATA

         Volume Name: DATAPUMPVOL
         Volume Device: /dev/asm/datapumpvol-438
         State: ENABLED
         Size (MB): 613376
         Resize Unit (MB): 256
         Redundancy: UNPROT
         Stripe Columns: 4
         Stripe Width (K): 128
         Usage: ACFS
         Mountpath: /datapump 

ASMCMD> volstat -G DATAPUMP_DATA

3. Mount ACFS and change owner to oracle

/bin/mount -t acfs /dev/asm/datapumpvol-438 /datapump

chown oracle:oinstall /datapump


1 comment:

  1. Thanks for this article. i have below questions:

    Are you sure about this cause of this problem?

    Will this issue always occur after reboot?

    ReplyDelete