REPO status UNKNOWN

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

REPO status UNKNOWN

Ciro
Hello, my ODA has two nodes: node 0 and node 1.

There are two shared repositories: shared1 and template1. On shared1 repo there are four VMs.

When I ran "oakcli show repo" command, status of both repos on both nodes was UNKNOWN and free space status was N/A.

I figured out that /u01 folder on node1 was full. So I cleaned it (millions of .trc and .trm files) and after I can see Status and Free Space for node0 but not for node1.

Any suggestion?

I tried to "oakcli restart oak" but unsuccesfully.

Thanks in advice, Ciro
Reply | Threaded
Open this post in threaded view
|

Re: REPO status UNKNOWN

Ciro
Update:

I've just found this:

[root@crcdb1 ~]# oakcli show repo

          NAME                          TYPE            NODENUM  FREE SPACE     STATE           SIZE


          odarepo1                      local           0               N/A     N/A             N/A

          odarepo2                      local           1               N/A     N/A             N/A

          shared1                       shared          0            24.70%     ONLINE          512000.0M

          shared1                       shared          1               N/A     UNKNOWN         N/A

          template1                     shared          0            56.21%     ONLINE          102400.0M

          template1                     shared          1               N/A     OFFLINE         N/A


If I try to start template1 on node 1, I got the following errors:

OAKERR8038 The filesystem could not be exported as a crs resource
OAKERR:5003 Command execution unsuccessful for Command=/u01/app/12.1.0.2/grid/bin/srvctl add exportfs -id havip_1 -path /u01/app/sharedrepo/template1 -name template1_1 -clients 192.168.16.25 -options rw,no_root_squash,no_wdelay Error=PRCE-1002 : Unable to add the export file system resource ora.template1_1.export
PRCE-1005 : ACFS file system resource does not exist for export path /u01/app/sharedrepo/template1




This is what I have on nodes:
-----------------------------NODE 0:

[root@crcdb0 ~]# df -H
Filesystem Size Used Avail Use% Mounted on
/dev/xvda2 59G 22G 34G 40% /
/dev/xvda1 483M 46M 413M 10% /boot
/dev/xvdb1 99G 38G 56G 41% /u01
tmpfs 68G 317M 68G 1% /dev/shm
/dev/asm/shared1-66 537G 405G 133G 76% /u01/app/sharedrepo/shared1
/dev/asm/flashdata-438
600G 156G 444G 27% /u02/app/oracle/oradata/flashdata
/dev/asm/datafsvol-339
5.4G 91M 5.3G 2% /odadatafs
/dev/asm/datastore-116
67G 3.5G 64G 6% /u01/app/oracle/oradata/datastore
/dev/asm/template1-339
108G 48G 61G 44% /u01/app/sharedrepo/template1
/dev/asm/datastore-66
13T 229G 13T 2% /u02/app/oracle/oradata/datastore
/dev/asm/acfsvol-339 1.1T 446G 629G 42% /cloudfs
/dev/asm/datastore-339
17T 322G 17T 2% /u01/app/oracle/fast_recovery_area/datastore


---------------------------NODE 1:

[root@crcdb1 ~]# df -H
Filesystem Size Used Avail Use% Mounted on
/dev/xvda2 59G 19G 38G 33% /
/dev/xvda1 483M 46M 413M 10% /boot
/dev/xvdb1 99G 57G 37G 61% /u01
tmpfs 68G 1.3G 67G 2% /dev/shm




Help, please


Reply | Threaded
Open this post in threaded view
|

Re: REPO status UNKNOWN

Ciro
In reply to this post by Ciro
I resolved it!

I cleaned space in /u01 (it was full with .trc and .trm files) on node 1

I remounted missing ASM partitions on node 1 (mount -t acfs   /dev/asm/datafsvol-XXX   /odaXXXXXX

I restarted oak first on node 0 and then on node 1 (oakcli restart oak)
Reply | Threaded
Open this post in threaded view
|

Re: REPO status UNKNOWN

ErmanArslansOracleBlog
Administrator
Good for you! and thanks for sharing..