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

Not enough memory space on Cisco MDS Switch

amaingi
Cisco Employee
Cisco Employee

Hi

On running the cmd:

show tech-support > bootflash:TechSupport.txt

on a Cisco MDS 9700 series switch, it shows

write error: no space left on the device.

Following are the various command results:

How can I resolve it?

 

show system internal flash

Mount-on                  1K-blocks      Used   Available   Use%  Filesystem

/proc                             0         0           0      0   proc

/sys                              0         0           0      0   none

/isan                       2097152    831332     1265820     40   none

/var                          51200       668       50532      2   none

/nxos/tmp                     51200      1104       50096      3   none

/var/log                      51200       972       50228      2   none

/var/home                      5120         0        5120      0   none

/var/tmp                     307200       284      306916      1   none

/var/sysmgr                 2097152       156     2096996      1   none

/var/sysmgr/ftp             1048576    195308      853268     19   none

/var/log/fw                 1048576         0     1048576      0   none

/var/sysmgr/srv_logs         307200         0      307200      0   none

/var/sysmgr/ftp/debug_logs    102400         0      102400      0   none

/dev/shm                    1572864    288488     1284376     19   none

/dev/icam                    524288         0      524288      0   none

/volatile                   1048576         0     1048576      0   none

/debug                         2048        12        2036      1   none

/dev/mqueue                       0         0           0      0   none

/debugfs                          0         0           0      0   nodev

/mnt/plog                    238334      2993      222824      2   /dev/sdb1

/mnt/fwimg                   117123        31      110833      1   /dev/sdb3

/mnt/cfg/0                    71701       577       67210      1   /dev/sda5

/mnt/cfg/1                    71701       577       67210      1   /dev/sda6

/logflash                  15464836    110844    14566744      1   /dev/sdc1

/bootflash                  3620400   2323188     1111640     68   /dev/sda3

/cgroup                           0         0           0      0   vdccontrol

/var/sysmgr/startup-cfg      409600      6624      402976      2   none

/dev/pts                          0         0           0      0   devpts

/mnt/pss                      34060      3171       28919     10   /dev/sda4

/smack                            0         0           0      0   smackfs

/sys/kernel/security              0         0           0      0   securityfs

/proc/fs/nfsd                     0         0           0      0   nfsd

/bootflash_sup-remote       3620400   3382600       52224     99   127.1.1.5:/bootflash/

/logflash_sup-remote       15261600    833632    13646040      6   127.1.1.5:/logflash/

 

show system internal dir /var/sysmgr/ftp

                                                                ./         600

                                                               ../         360

                                                   lc_patch.slot9@          15

                                                   lc_image.slot9@           9

                                                lc_boot.nbi.slot9@          19

                                                   lc_patch.slot4@          15

                                                   lc_image.slot4@           9

                                                lc_boot.nbi.slot4@          18

                                                  lcf32.bin.patch/          40

                                                        lcf32.bin     30286531

                                         base_p476_boot.nbi.patch/          40

                                               base_p476_boot.nbi     38982144

                                              lcfln_mds.bin.patch/          40

                                                    lcfln_mds.bin     21052299

                                                  lctsh.bin.patch/          40

                                                        lctsh.bin     22713921

                                              base_p8572_boot.nbi     36633600

                                                   lc2dce_mds.bin     15780303

                                                  lc4xb.bin.patch/          40

                                                        lc4xb.bin     17091335

                                        base_p8541_boot.nbi.patch/          40

                                              base_p8541_boot.nbi     17331712

                                               lc_max_allowed_vdc            1

                                                            cores/          40

                                                  plugin_swid_map         4156

                                                  pss_helper.4403/          40

                                                  pss_helper.4414/          40

                                                        rev-gsync/          60

                                                       debug_logs/          40

                                                         img-sync/         140

 

show system internal dir /var/tmp

                                                                ./        1480

                                                               ../         380

                                                 cert_en_cert.tar        30720

                                          snmpd_ld_dbg_trans.4548          967

                                            lcdc3_syncpoint4.5537          524

                                            lcdc3_syncpoint5.5528          953

                                                           arping           99

                                                       remote_srg          496

                                                   cmp.log.5332.0          201

                                                fcoe_mgr_init.log        15506

                                                         fcoe_mgr            0

                                                  fc-pcm-log-5314        11317

                                             ilc_helper_issu_logs            0

                                                diag_port_lb.5260            0

                                                        PIXMC_LOG           48

                                                   nginx_1-p.conf         2946

                                                  nginx_1-b4.conf          853

                                                  nginx_1-b3.conf          853

                                                  nginx_1-b2.conf          853

                                                  nginx_1-b1.conf          853

                                                      nginx_local/         120

                                                          nginx_1@          15

                                            lcdc3_syncpoint3.4720         4573

                                            lcdc3_syncpoint2.4719         4009

                                                      usd_pss_3f2         1446

                                                      usd_pss_4ed         1450

                                                     clpl3usd.log            0

                                                      usd_pss_1a6          583

                                                      usd_pss_285         2283

                                                      usd_pss_309         1410

                                                  SAC_LIBRARY.log          206

                                                        clm_clp_4            0

                                                      usd_pss_2f6         1853

                                                      usd_pss_306         1437

                                                      usd_pss_30d         1434

                                                  clp_elam_ip.log            0

                                               clp_elam_debug.log            0

                                                     clp_elam.log         3200

                                            lcdc3_syncpoint1.4709          524

                                                     xbm-log-4678         9553

                                                           ntpd_1            0

                                                     ntp_client_1            0

                                                  security_stderr           86

                                                  security_stdout            0

                                                    keystore_type            1

                                               security_debug.log          847

                                                fwimg_extract.log          388

                                                      mts_pss.log         3925

                                                    cmp_slot_id.5            0

                                                   vshddebugcheck            0

                                                        lockcisco            0

                                                          .flexlm/          60

                                       sysmgr_startcfg_flash.lock            0

                                                       pfm_loader          130

                                                             pfm0        10389

                                                        pfm_dummy          910

                                                             logs@          20

                                                   boot-debug.log           51

                                                 mts_opc_load.log          815

                                                   nginx_loopback           30

                                       pend_activated_patch_files           29

                                            committed_patch_files           29

                                         issu_deact_pend_files_cm           43

                                         issu_deact_pend_files_ac           43

                                              issu_act_pend_files           38

                                                    nginx-dm.conf@          32

                                                         nginx-dm@          15

                                          non_inactive_patch_list            0

                                                code_coverage.log          392

                                                            mysrg         2304

                                                     log_flashlog           12

                                               flash-err-log-file           12

                                                  boot_uptime.log         1905

                                                              vsh/          40

 

show cores

Module  Instance  Process-name     PID       Date(Year-Month-Day Time)

------  --------  ---------------  --------  -------------------------

1 Reply 1

jihicks
Cisco Employee
Cisco Employee

Hi,

 

Looking at this I see that bootflash: is 68% full on the active sup and 99% on the standby sup.

You can see what is using this space ( I suspect old versions of firmware or configuration backups ) by doing:

 

dir bootflash:                                 <<<< active sup

dir bootflash://sup-remote/           <<< standby sup

 

You can delete unwanted files with:

delete bootflash:<filename>

delete bootflash://sup-remote/<filename>

 

Do not delete the kickstart and system image form the current running version.

 

Best regards,

Jim