Erro ORA-15490 ao criar volume ACFS

O seguinte erro é retornado ao tentar criar um volume ACFS:

ASMCMD> volcreate -G ACFS_DG volume01 -s 20g
ORA-15032: not all alterations performed
ORA-15041: diskgroup "ACFS_DG" space exhausted (DBD ERROR: OCIStmtExecute)

O volume é criado mas fica com o status de desativado. Tentar ativar vol volenable retorna o mesmo erro.

ASMCMD> volinfo --all
Diskgroup Name: ACFS_DG

         Volume Name: U01_VOL01
         Volume Device: /dev/asm/u01_vol01-507
         State: DISABLED
         Size (MB): 20032
         Resize Unit (MB): 64
         Redundancy: UNPROT
         Stripe Columns: 8
         Stripe Width (K): 1024
         Usage:
         Mountpath:

As seguintes mensagens de erros são gravadas no alert log da instância ASM:

NOTE: volume resource ora.ACFS_DG.U01_VOL01.advm requested to start globally
ORA-15032: not all alterations performed
ORA-15490: not all instances could add/drop the volume

2020-05-14T23:42:25.352855-03:00
ERROR: /* ASMCMD */alter diskgroup acfs_dg add volume 'U01_VOL01' size 18g
2020-05-14T23:42:25.484338-03:00
Dumping diagnostic data in directory=[cdmp_20200514234225], requested by (instance=1, osid=27270 (VBG0)), summary=[abnormal process termination].
2020-05-14T23:45:28.849647-03:00
SQL> alter diskgroup ACFS_DG enable volume U01_VOL01 /* ASMCA */
2020-05-14T23:45:39.897420-03:00
ERROR: racMode is uninitialized
2020-05-14T23:45:39.897720-03:00
System state dump requested by (instance=1, osid=27270 (VBG0)), summary=[ADVM dump request (kfvsdErrorMs)].
System State dumped to trace file /u01/grid/diag/asm/+asm/+ASM/trace/+ASM_diag_19272_20200514234539.trc
2020-05-14T23:45:39.902128-03:00
ERROR: Volume enable. Driver failed to add volume (1)
ORA-15032: not all alterations performed
ORA-15480: error reported in the ASM volume driver

Causa

O ACFS Driver foi instalado/carregado com a instância ASM no ar.

Solução

Parar a instância ASM, recarregar o ACFS Driver e iniciar ASM novamente.

  1. Parando o ASM:
$ srvctl stop asm -force

2. Parando o ACFS Driver (root)

# acfsload stop

3. Iniciando ACFS Driver novamente:

# acfsload start
ACFS-9391: Checking for existing ADVM/ACFS installation.
ACFS-9392: Validating ADVM/ACFS installation files for operating system.
ACFS-9393: Verifying ASM Administrator setup.
ACFS-9308: Loading installed ADVM/ACFS drivers.
ACFS-9154: Loading 'oracleoks.ko' driver.
ACFS-9154: Loading 'oracleadvm.ko' driver.
ACFS-9154: Loading 'oracleacfs.ko' driver.
ACFS-9325:     Driver OS kernel version = 4.14.35-1902.0.9.el7uek.x86_64.
ACFS-9326:     Driver build number = 200205.
ACFS-9212:     Driver build version = 19.0.0.0.0 (19.7.0.0.0).
ACFS-9547:     Driver available build number = 200205.
ACFS-9548:     Driver available build version = 19.0.0.0.0 (19.7.0.0.0).
ACFS-9549:     Kernel and command versions.
Kernel:
    Build version: 19.0.0.0.0
    Build full version: 19.7.0.0.0
    Build hash:    9256567290
    Bug numbers:   NoTransactionInformation
Commands:
    Build version: 19.0.0.0.0
    Build full version: 19.7.0.0.0
    Build hash:    9256567290
    Bug numbers:   NoTransactionInformation
ACFS-9327: Verifying ADVM/ACFS devices.
ACFS-9156: Detecting control device '/dev/asm/.asm_ctl_spec'.
ACFS-9156: Detecting control device '/dev/ofsctl'.
ACFS-9294: updating file /etc/sysconfig/oracledrivers.conf
ACFS-9322: completed

4. Iniciando o ASM novamente:

$ srvctl start asm

Referência:

PI:crmt1: Error When Creating A Volume Group For ACFS (Doc ID 1937382.1)

Leave a Reply

Scroll to Top

Discover more from Blog do Dibiei

Subscribe now to keep reading and get access to the full archive.

Continue reading