cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
835
Views
0
Helpful
0
Replies

CDB recovery?

koushik331
Level 1
Level 1

Hi

While restarting NCS with a low disk space we got the following error:

<INFO> 10-May-2018::13:29:51.307 nj51nsoc1v ncs[24190]: - Upgrade performed

<INFO> 10-May-2018::13:29:51.318 nj51nsoc1v ncs[24190]: - CDB load: processing file: /var/opt/ncs/packages/ios-upgrade.xml

<INFO> 10-May-2018::13:29:51.330 nj51nsoc1v ncs[24190]: - CDB load: processing file: /opt/ncs/ncs-4.5.3/etc/ncs/snmp/snmp_init.xml

<ERR> 10-May-2018::13:30:26.167 nj51nsoc1v ncs[24190]: - Internal error: CDB: Upgrade failed because of an internal error: "/var/opt/ncs/cdb/C.tmp.cdb": "no space left on device"

<CRIT> 10-May-2018::13:30:26.274 nj51nsoc1v ncs[24190]: - CDB boot error: Failed to write C.cdb after upgrade, database lost

<INFO> 10-May-2018::13:30:28.430 nj51nsoc1v ncs[300]: - Enabling error log

After freeing up disk-space, we reloaded NCS and found that all the data on the CDB is lost.

Any idea how to recover from this issue? We see the C.cdb file still is 800MB with all the data. Need a way to make NCS read it.

Thanks

Kiran

0 Replies 0