Tuesday, February 5, 2019

How to unmount and mount oracle dbfs shared file system

dbfs mount point was unmounted and due to which database jobs using db_links failed and GG process got abended since files related to the issue were located in the dbfs mount point.

Performed below steps as requested from Oracle: to mount the dbfs in node 1 (test01)
[oracle@test01 ~]$ fusermount -u -z /dbfs
fusermount: entry for /dbfs not found in /etc/mtab

NOTE: Before performing unmount need to clear all the directories and its contents residing under dbfs mount point or else you may encounter above error. Now after clean up reissue command as below.

==>>  umounted the file system using the following command
fusermount -u -z /dbfs

==>> start dbfs using crsctl
crsctl start resource dbfs_mount  ==>>This is the command which should work.
crsctl start resource mount_dbfs  ==>>Some environments takes this command.


==>> Check the status after dbfs mount:

crsctl stat res -t
 or
crsctl status resource dbfs_mount -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
dbfs_mount
               ONLINE  ONLINE       test01
               ONLINE  ONLINE       test02
               ONLINE  ONLINE       test03
               ONLINE  ONLINE       test04
               ONLINE  ONLINE       test05
               ONLINE  ONLINE       test06
               ONLINE  ONLINE       test07
               ONLINE  ONLINE       test08

No comments:

Post a Comment