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

emergency ncs 5501 Disk space alert for location "Sysadmin:/misc/disk

Yang Li
Level 1
Level 1

 HI ALL 

emergency help !!!

ncs5501 ALARM led how should i clear or fix this fault?

wechat_2025-06-26_204111_939.pngasdasd.jpg

.ılı..ılı.
Cisco System
Pyhton
U got a dream, U gotta protect it
1 Accepted Solution

Accepted Solutions

The alarm is coming from admin (sysadmin so your second output). If you have investigated the kernel crashes (*.kdump) files with tac then delete them, they are very large!

Thanks,
Sam

View solution in original post

6 Replies 6

M02@rt37
VIP
VIP

Hello @Yang Li 

Please provide these outputs:

show media location all

and 

show install inactive

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Hello M02@rt37 

In fact, I don't see the disk1 hard disk in the show media command. I entered this directory under admin, but I don't know which files I should delete.

RP/0/RP0/CPU0:ios#dir
Sun Apr 30 20:12:23.863 UTC

Directory of /misc/scratch
16322 drwxr-xr-x. 9 4096 Apr 30 19:52 ztp
18 -rw-r--r--. 1 1115 Apr 30 19:51 status_file
8161 drwx---r-x. 2 4096 Jan 20 2021 clihistory
13 -rw-r--r--. 1 1514 Apr 30 19:50 envoke_log
8163 drwxr-xr-x. 2 4096 Apr 29 02:34 shutdown
15 lrwxrwxrwx. 1 12 Jan 20 2021 config -> /misc/config
16321 drwxr-xr-x. 2 4096 Jan 20 2021 crypto
14 -rw-r--r--. 1 95872 Apr 30 19:50 pnet_cfg.log
11 drwx------. 2 4096 Jan 20 2021 lost+found
24481 drwxr-xr-x. 3 4096 Jan 20 2021 pam
8162 drwxr-xr-x. 3 4096 Jan 20 2021 syslog-hm
12 drwxr-xr-x. 2 4096 Jan 20 2021 core
24482 drwxr-xr-x. 2 4096 Apr 29 02:34 nvgen_traces

sysadmin-vm:0_RP0# dir /misc/disk1
Sun Apr 30 20:09:06.512 UTC+00:00
total 1132164
129048 drwxr-xr-x. 2 4096 Dec 16 2024 .tmp
26 drw-r--r--. 2 4096 Jan 20 2021 tmp_staging
24 drwxr-xr-x. 2 4096 Jan 20 2021 .repo_tmp
27 -rw-r--r--. 1 37 Apr 29 02:30 default-sdr--2.20230429-022315.core.0_RP0.lxcdump.tar.lz4
11 drwx------. 2 16384 Nov 1 2017 lost+found
129028 drwxr-xr-x. 2 4096 Nov 1 2017 dumper
129025 drwxr-xr-x. 4 4096 Apr 30 19:58 cisco_support
28 -rw-r--r--. 1 37 Apr 29 02:31 kernel.20230429-022459.core.slot0_RP0.INCOMPLETE.kdump
129036 drwxr-xr-x. 2 4096 Jan 20 2021 .repo_cache
12 drwxr-xr-x. 3 4096 Jan 20 2021 tftpboot
22 -rw-------. 1 638 Dec 29 2017 .bash_history
29 -rw-r--r--. 1 1158945224 Apr 29 02:38 kernel.20230429-023438.core.slot0_RP0.kdump
21 -rw-r--r--. 1 327680 Nov 1 2017 .spddc

.ılı..ılı.
Cisco System
Pyhton
U got a dream, U gotta protect it

The alarm is coming from admin (sysadmin so your second output). If you have investigated the kernel crashes (*.kdump) files with tac then delete them, they are very large!

Thanks,
Sam

Hi @smilstea 

After I deleted it, it will be generated every time I start the device. I want to know if I missed something?

sysadmin-vm:0_RP0# attach location 0/RP0
Sun Apr 30 20:59:34.255 UTC+00:00
Last login: Sun Apr 30 20:50:35 2023 from 192.0.0.1
[sysadmin-vm:0_RP0:~]$ cd /misc/disk1
[sysadmin-vm:0_RP0:/misc/disk1]$ ls
cisco_support kernel.20230430-205314.core.slot0_RP0.kdump tftpboot
dumper lost+found tmp_staging
[sysadmin-vm:0_RP0:/misc/disk1]$ rm -rf *.kdump
[sysadmin-vm:0_RP0:/misc/disk1]$ ls
cisco_support dumper lost+found tftpboot tmp_staging
[sysadmin-vm:0_RP0:/misc/disk1]$

---------------reboot----------------

root connected from 192.0.0.4 using ssh on sysadmin-vm:0_RP0
sysadmin-vm:0_RP0# dir /misc/disk1
Sun Apr 30 20:58:34.804 UTC+00:00
total 1226172
129048 drwxr-xr-x. 2 4096 Dec 16 2024 .tmp
26 drw-r--r--. 2 4096 Jan 20 2021 tmp_staging
24 drwxr-xr-x. 2 4096 Jan 20 2021 .repo_tmp
11 drwx------. 2 16384 Nov 1 2017 lost+found
129028 drwxr-xr-x. 2 4096 Nov 1 2017 dumper
129025 drwxr-xr-x. 4 4096 Apr 30 20:46 cisco_support
129036 drwxr-xr-x. 2 4096 Jan 20 2021 .repo_cache
12 drwxr-xr-x. 3 4096 Jan 20 2021 tftpboot
22 -rw-------. 1 638 Dec 29 2017 .bash_history
21 -rw-r--r--. 1 327680 Nov 1 2017 .spddc
27 -rw-r--r--. 1 1255218280 Apr 30 20:56 kernel.20230430-205314.core.slot0_RP0.kdump
5831720 kbytes total (4131120 kbytes free)

 

.ılı..ılı.
Cisco System
Pyhton
U got a dream, U gotta protect it

If you are seeing kernel crashes at every reboot then that is a serious problem that should be looked at by TAC. It is not normal to see kdump files.
Sam

Hi @smilstea 

Unfortunately, I don't have tac service at the moment. Can you help me check the problem in the log? I want to solve it together.

wechat_2025-06-27_162756_242.png

.ılı..ılı.
Cisco System
Pyhton
U got a dream, U gotta protect it