01-25-2022 09:41 AM
Does anyone know what this directory in Flash is for? I was changing a username password on one of our switches and the logs show an error pertaining to .dbpersist/DMI_STATE_DB/DMI_STATE_DB file.
%TDLDB-3-DBPERSIST_OPERATION_FAILURE: Switch 1 R0/0: dbm: Operation: persist, DB: /tmp/rp/tdldb/0/DMI_STATE_DB, Failure reason No space left on device
I logged into the switch and there is plenty of space in Flash so not sure why this would have been triggered. It looks like a temp file being created but I need to know why it is and is it potentially an issue.
Thanks,
Solved! Go to Solution.
01-26-2022 10:40 PM - edited 01-26-2022 10:44 PM
Switch#sh platform soft mount switch <0-8> r0
Look for anything that has >85%
If there is one, then have a look at this: CSCvp73396 - Cat9300 Memory Leak due to nyq_rsync.log
@jstrauch-0231 wrote:
Please understand not everyone who asks questions can just easily post all output of show commands. Some industries have certain security protocols that may not easily allow it. I'll have to see if I can even post the requested output which is why I was asking for the relevance.
Like I always tell people: Raise a TAC Case.
01-25-2022 03:37 PM
Post the complete output to the following commands:
show version dir flash-1: dir flash-1:/core dir crashinfo-1:
01-26-2022 06:44 AM
Leo, while I appreciate people looking at my question I'm a little confused on what these outputs would help figure out. Since this is a Public Forum I'd like to post only relevant info and not reveal unnecessary info.
No crash info so nothing to share there.
Version info is 16.09.06
This is the dir output of the directory reporting the issue.
SW01#dir flash:.dbpersist
Directory of flash:/.dbpersist/
15520 drwx 4096 Jan 25 2022 11:33:14 -05:00 DMI_STATE_DB
15523 -rw- 1495 Jan 25 2022 11:33:14 -05:00 stats
Directory of flash:.dbpersist/DMI_STATE_DB/
15521 -rwx 2560000 Jan 25 2022 11:33:14 -05:00 DMI_STATE_DB
15490 -rw- 62 Jan 25 2022 11:33:14 -05:00 DMI_STATE_DB.meta
I ran the MORE command on that DB file but its output wasn't really easy to read.
01-26-2022 03:12 PM
@jstrauch-0231 wrote:
%TDLDB-3-DBPERSIST_OPERATION_FAILURE: Switch 1 R0/0: dbm: Operation: persist, DB: /tmp/rp/tdldb/0/DMI_STATE_DB, Failure reason No space left on device
This is what I want to determine.
If the output are not going to be provided, then I bow out.
01-26-2022 06:21 PM
Leo, that is what made no sense, I checked space after seeing what is going on and there was plenty of space in flash. The /tmp directory is what I'm really wondering about, was this a temp file being created to track things and if so did it run out of space while being created thus we really don't know what happened.
Please understand not everyone who asks questions can just easily post all output of show commands. Some industries have certain security protocols that may not easily allow it. I'll have to see if I can even post the requested output which is why I was asking for the relevance.
01-26-2022 10:40 PM - edited 01-26-2022 10:44 PM
Switch#sh platform soft mount switch <0-8> r0
Look for anything that has >85%
If there is one, then have a look at this: CSCvp73396 - Cat9300 Memory Leak due to nyq_rsync.log
@jstrauch-0231 wrote:
Please understand not everyone who asks questions can just easily post all output of show commands. Some industries have certain security protocols that may not easily allow it. I'll have to see if I can even post the requested output which is why I was asking for the relevance.
Like I always tell people: Raise a TAC Case.
01-27-2022 06:34 AM
Leo, thank you. Using the commands you provided I see that this Temp File System directory /tmp/rp/tdldb has very little space assigned to it (3MB only) so the creation of the temp file is most likely causing the error. I can ask TAC what this is for and if it's a concern or not.
Thank you for you help.
01-25-2022 11:31 PM
- You may connect to your device (SSH) with https://cway.cisco.com/cli/ , in the top left run System Diagnostics.
M.
01-26-2022 06:45 AM
Marce, thanks I'll try using CLI Analyzer and seeing if it helps reveal any further details.
04-18-2024 06:48 PM
Hi mate,
Cisco TAC's official advice:
Hope you are doing well. I asked for that specific output so we can clearly see the directory that is causing this issue. According to the logs the issue is “db: /tmp/rp/tdldb/0/dmi_state_db” therefore we will need to delete the directory:
To delete the path you could try the following command:
#rmdir bootflash:.dbpersist/DMI_STATE_DB/DMI_STATE_DB
If the command above fails, please try the following command:
#delete bootflash:.dbpersist/DMI_STATE_DB/DMI_STATE_DB.meta
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide