cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7599
Views
33
Helpful
11
Replies

ASA flash issue

ryan.lambert
Level 1
Level 1

Hi all,

I'm trying to upload an 11 meg file (AnyConnect) to my internal ASA flash, and I'm seeing the following error:

%Error copying disk0:/anyconnect-macosx-i386-3.1.05152-k9.pkg (No space left on device)

When I dir flash:, I see this:

255426560 bytes total (185180160 bytes free)

... Thoughts? I thought maybe it was something like the old 'squeeze' function needed to happen, but that doesn't exist.

Thanks in advance,

Ryan

11 Replies 11

Richard Burts
Hall of Fame
Hall of Fame

Ryan

That does seem strange. What do you get from dir disk0:

HTH

Rick

HTH

Rick

Hey Rick,

Looks pretty normal to me. Not sure if this is a good candidate for a manual fsck or reboot.

It's 8.2(5) as you can see from the file in flash, for what it's worth.

ASA#dir disk0:

Directory of disk0:/

82     -rwx  15390720    20:10:04 Sep 07 2012  asa825-k8.bin

10     drwx  8192        00:22:10 May 21 2008  crypto_archive

83     -rwx  18927088    20:10:42 Sep 07 2012  asdm-649.bin

3      drwx  8192        08:52:02 Jul 03 2008  log

11     drwx  8192        20:14:08 Sep 07 2012  coredumpinfo

90     -rwx  24996       14:53:03 Feb 06 2014  backup-2-6-2014

95     -rwx  35167466    17:21:02 Feb 06 2014  anyconnect-win-3.1.05152-k9.pkg

255426560 bytes total (185180160 bytes free)

You could try running the command fsck flash:

This command will check the flash for any corrupt sectors and attempt to repair them.  The command is normally run automatically when you restart the ASA also.  try running it and see if you are able to upload your file after.

--
Please remember to rate and select a correct answer

--
Please remember to select a correct answer and rate helpful posts

Hello Marius,

did you resolve this? i have the same problem, it says there's 98 mb free, i try to copy a 16 mb file and it says no space left.. 

When I had an issue with writing to disk on an ASA TAC gave me these suggestions:

1) try fsck disk0  which will look for errors and attempt to repair them.

2) if that does not fix the issue then try reboot. This will dismount and then remount the disk and may fix issues.

3) if that does not fix the issue try to format the disk.

The symptoms that I was dealing with were slightly different that what is described here but I believe that the advice applies here. In my case Cisco determined that it was a hardware issue on the ASA and did an RMA. So if your ASA is covered by an active maintenance plan it would be worth it to open a case with Cisco (I would do it if the reboot does not resolve the issue and see what they say before I tried to format the disk).

HTH

Rick

HTH

Rick

Thank you Richard.

after the restart, it worked, i'm  glad i didn't have to format the flash :)

I am glad that you got it to work without needing to format the flash. Thank you for posting back to the forum to tell us that you have it fixed and how you did it. This will be helpful for other readers of the forum. +5 for you.

HTH

Rick

HTH

Rick

Flash access errors on ASA´s are fairly common. I saw a couple each year.
For me, fsck disck0 usually works.
Never needed an RMA nor format.

(I always hold breath breath while fsck is working, for step 2, just pray)

Guido.

I had the same issue with an ASA that had 222MB of free space (I was copying up a new AnyConnect client package that was 38MB). fsck didn't work for me, but the reboot did.

Thanks Richard! 

I am glad that my suggestions were useful. Thank you for posting to the forum to let us know that fsck did not fix the issue but that reboot did fix it. That would be helpful information for other readers in the forum to know.

HTH

Rick

HTH

Rick

ryan.lambert
Level 1
Level 1

Thanks guys. I figured this was the route this was going to go... just wanted to make sure I wasn't missing something obvious.

Will let you know the results.

Sent from Cisco Technical Support iPhone App

Review Cisco Networking for a $25 gift card