ORA-15477: cannot communicate with the volume driver (DBD ERROR: OCIStmtExecute)
August 8, 2020 Leave a comment
Problem:
I had GI Standalone installation, which I’ve deconfigured and configured one node RAC which was successful. Then I’ve tried to create ACFS volume which failed with ORA-15477:
[root@host1 dbs]# asmcmd volcreate -G OGG -s 10G ACFSGG ORA-15032: not all alterations performed ORA-15477: cannot communicate with the volume driver (DBD ERROR: OCIStmtExecute)
Reason:
It seems the ACFS/ADMV modules are not loaded:
[root@host1 dbs]# lsmod | grep oracle oracleacfs 5921415 0 oracleadvm 1236257 0 oracleoks 750688 2 oracleacfs,oracleadvm
Solution:
First of all, I will share two possible solutions, that helped others but not me and one possible solution (3rd) that helped me:
- Start module manualy and make sure it’s enabled:
# acfsload start # acfsload enable
Check if modules is loaded using lsmod | grep oracle
and retry volume creation.
2. Reinstall acfs/admv modules manually:
[root@host1 dbs]# acfsroot install ACFS-9300: ADVM/ACFS distribution files found. ACFS-9314: Removing previous ADVM/ACFS installation. depmod: ERROR: fstatat(6, uds.ko): No such file or directory depmod: ERROR: fstatat(6, kvdo.ko): No such file or directory ACFS-9315: Previous ADVM/ACFS components successfully removed. ACFS-9294: updating file /etc/sysconfig/oracledrivers.conf ACFS-9307: Installing requested ADVM/ACFS software. ACFS-9294: updating file /etc/sysconfig/oracledrivers.conf ACFS-9308: Loading installed ADVM/ACFS drivers. ACFS-9321: Creating udev for ADVM/ACFS. ACFS-9323: Creating module dependencies - this may take some time. depmod: ERROR: fstatat(6, uds.ko): No such file or directory depmod: ERROR: fstatat(6, kvdo.ko): No such file or directory ACFS-9390: The command 'echo '/lib/modules/3.10.0-862.el7.x86_64/extra/usm/oracleadvm.ko /lib/modules/3.10.0-862.el7.x86_64/extra/usm/oracleoks.ko /lib/modules/3.10.0-862.el7.x86_64/extra/usm/oracleacfs.ko ' | /sbin/weak-modules --no-initramfs --add-modules 3.10.0-1127.18.2.el7.x86_64 2>&1 |' returned unexpected output that may be important for system configuration: depmod: ERROR: fstatat(6, kvdo.ko): No such file or directory depmod: ERROR: fstatat(6, uds.ko): No such file or directory depmod: ERROR: fstatat(6, uds.ko): No such file or directory depmod: ERROR: fstatat(6, kvdo.ko): No such file or directory ACFS-9154: Loading 'oracleoks.ko' driver. ACFS-9154: Loading 'oracleadvm.ko' driver. ACFS-9154: Loading 'oracleacfs.ko' driver. ACFS-9327: Verifying ADVM/ACFS devices. ACFS-9156: Detecting control device '/dev/asm/.asm_ctl_spec'. ACFS-9156: Detecting control device '/dev/ofsctl'. ACFS-9309: ADVM/ACFS installation correctness verified.
Retry volume creation.
If none of the above helps, do the 3rd solution (which is not available on the internet, it was my decision):
3. Rebuild initramfs
[root@host1 ~]# cp -p /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak [root@host1 ~]# dracut -f [root@host1 ~]# reboot
After restart, you should be able to create volume.