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

write error: No space left on device

Pereda123
Level 1
Level 1

I have an MDS 9509 that is generating the message "write error: No space left on device" whenever I perform a "dir log:".

the output looks as follows:

MDS9509# dir log:

who: write error: No space left on device

         31    Jun 24 21:31:07 2008  dmesg

    3313664    Jul 19 17:57:21 2012  messages

      31999    Oct 17 19:27:55 2012  startupdebug

Usage for log://sup-local

  209715200 bytes used

          0 bytes free

  209715200 bytes total

Also, if I do a "show logging logfile" I get the same message with "Internal error in displaying logfile".

SANCore1# show logging logfile

who: write error: No space left on device

Internal error in displaying logfile - 80050013

any advice on fixing this issue will be much appreciated.

thank you.

6 Replies 6

dakester
Cisco Employee
Cisco Employee

Hi,

What does the output of

'show system internal flash' look like?

Here is the ouput:

MDS95091# sho system internal flash

who: write error: No space left on device

Filesystem           1k-blocks      Used Available Use% Mounted on

/dev/root               204800    204800         0 100% /

proc                         0         0         0   -  /proc

none                    409600    124336    285264  31% /isan

none                    153600      3368    150232   3% /var/sysmgr

none                    204800    117360     87440  58% /var/sysmgr/ftp

none                    102400      8796     93604   9% /dev/shm

none                     40960         0     40960   0% /volatile

none                      2048         0      2048   0% /debug

/dev/hd-cfg0             39979      4439     33476  12% /mnt/cfg/0

/dev/hd-cfg1             39979      4439     33476  12% /mnt/cfg/1

none                     61440      2748     58692   5% /var/sysmgr/startup-cfg

devpts                       0         0         0   -  /dev/pts

/dev/hd-pss              39979      4543     33372  12% /mnt/pss

/dev/hd-bootflash       853240    109060    700836  14% /bootflash

/dev/hd-obfl              8779      1753      6573  22% /mnt/obfl

127.1.1.6:/mnt/bootflash/

                        853240    109060    700836  14% /bootflash_sup-remote

thanks.

You might want to click on the link to open an SR from this Discussion.

Provide the following output.

show sytem internal flash

show system internal dir /var/sysmgr/ftp

show system internal dir /var/tmp

show cores

Thanks for the info.

the commands you provided all work except the ones with "dir". It gives me an "invalid command detected" message.

MDS9509# show system internal dir /var/sysmgr/ftp

                                                 ^

% invalid command detected at '^' marker.

SANCore1# show system internal dir /var/tmp

                                                  ^

% invalid command detected at '^' marker.

Thanks again.

BTW, the caret symbol is actually under "dir" not internal.

thanks.

Hello Rudy,

Since you have a MDS9509.  You can just do "system switchover" This will clear /tmp which filled up the / directory

Thanks

Review Cisco Networking for a $25 gift card