08-22-2011 09:06 AM
Hello all,
I am having issue to config anyconnect by adding additional images using "svc image disk0:/anyconnect-macosx-i386-2.5.2001-k9.pkg 2".
The error message is:
ERROR: File write error (check disk space)
ERROR: Unable to load SVC image - increase disk space via the 'cache-fs' command
I found the fix which indicates using cache-fs commands (links below):
http://www.cisco.com/en/US/docs/security/asa/asa80/command/reference/c1.html#wp1953144
However, I could not find cache-fs command under webvpn configuration mode. I am using:
Cisco Adaptive Security Appliance Software Version 8.2(1)
Device Manager Version 6.2(1)
and it does not work on either 5520 or 5510.
Any idea or suggestion?
thanks,
Gene
08-23-2011 05:46 AM
Gene,
Honestly I've never used or have recollection of this command.
Normally you can use:
fsck Filesystem check
for file system integrity.
Let me know if that helps.
Marcin
08-23-2011 10:02 AM
Thanks! I don't think filesystem integrity is the issue. But I check anyway.
=======
CORPASA01(config-webvpn-cache)# svc image disk0:/anyconnect-macosx-i386-2.5.20.pkg 2
ERROR: File write error (check disk space)
ERROR: Unable to load SVC image - increase disk space via the 'cache-fs' command
CORPASA01(config-webvpn)# dir cache:/
Directory of cache:/
0 drw- 0 12:47:11 Jul 11 2011 stc
59758592 bytes total (2118301696 bytes free)
CORPASA01(config-webvpn)# dir
Directory of disk0:/
132 drwx 8192 01:56:16 May 17 2008 crypto_archive
134 -rwx 6889764 13:43:42 Jul 01 2008 asdm-602.bin
135 drwx 8192 13:54:50 Jul 01 2008 log
137 -rwx 10197 14:15:04 Jul 01 2008 CORPASA01-running
138 -rwx 16275456 15:15:42 Jul 21 2009 asa821-k8.bin
139 -rwx 11348300 15:16:48 Jul 21 2009 asdm-621.bin
140 drwx 8192 21:57:48 Jul 21 2009 coredumpinfo
141 -rwx 5263209 14:15:28 Nov 02 2010 anyconnect-dart-win-2.5.2001-k9.pkg
142 -rwx 6679165 14:19:22 Nov 02 2010 anyconnect-linux-2.5.2001-k9.pkg
143 -rwx 6482958 14:23:10 Nov 02 2010 anyconnect-macosx-i386-2.5.2001-k9.pkg
144 -rwx 22824125 14:16:34 Jul 28 2011 anyconnect-win-3.0.3050-k9.pkg
CORPASA01(config-webvpn)# cache-fs ?
ERROR: % Unrecognized command CORPASA01(config-webvpn)# cache-fs ?
ERROR: % Unrecognized command
===========
Any suggestions?
thanks,
Gene
08-26-2011 12:27 AM
Gene,
Sorry for late reply I had a few hectic days.
I misread your initial post.
That command "cache-fs" has been removed from newer versions of ASA:
http://www.cisco.com/en/US/docs/security/asa/asa80/command/reference/c1.html#wp2112832
as compared to:
http://www.cisco.com/en/US/docs/security/asa/asa84/command/reference/c1.html
In anyway if you're running out of disk space only possibility is to run some cleanup (remove coredumps and not needed images/logs from flash).
Marcin
09-15-2011 11:35 AM
Marcin,
I have run into the same issue as Gene. Neither of us is out of disk space. My ASA has 130MB free space and in Gene's Post he stated that he has 210MB free space. Any ideas? I am desperate.
09-16-2011 02:21 AM
Steven,
Can you get me "show ver" and "show run webvpn" If you're running 8.2.1 I would upgrade to 8.2.5 at least (latest release in that train).
And please try adding the images from ASDM rather than CLI (in case you're missing regex strings).
There's an internal bug tracking the error message being diplayed, but the faults can be numerous.
Marcin
08-14-2012 04:07 PM
Hello!
Anyone know how to fix it?
[OK] webvpn
webvpn
[OK] enable outside
[ERROR] svc image disk0:/anyconnect-win-3.1.00495-k9.pkg 1
File write error (check disk space)
ERROR: Unable to load SVC image - increase disk space via the 'cache-fs' command
I have much disk left... So, disk space is not my problem...
My firmware version is 8.2.(2)12
09-20-2012 02:55 PM
Hi Diego,
As recommended by Marcin, please upgrade to the latest version 8.2.(5).
http://tools.cisco.com/squish/064EE
Keep us posted.
Thanks.
Portu.
06-02-2016 08:51 PM
Hi All,
I had the same problem on ASA 8.0(2)
ciscoasa(config-webvpn)# svc image flash:/anyconnect-win-3.1.14018-k9.pkg
ERROR: File write error (check disk space)
ERROR: Unable to load SVC image - increase disk space via the 'cache-fs' command
however, the below command solved my problem
ciscoasa(config-webvpn)# cache-fs limit 64
ciscoasa(config-webvpn)# svc image flash:/anyconnect-win-3.1.14018-k9.pkg
I hope this helps.
Regards,
Anshul Soni
09-20-2012 12:12 PM
I had the same problem using 8.2.(1). According to the TAC, the 'cache-fs' command has been depricated. However, I was able to get around the problem by upgrading to 8.2.(5). This version supposedly dynamically allocates cache space.
05-30-2013 01:18 AM
Odd, I'm running 8.2(5) on a 5510 and am still encountering this problem.
The "cache" from what I understand is not disk, but rather in memory. The ASA serves certain files from memory ("cache") for performance reasons. By default, the size is 21MB so files larger than that will not fit in cache thus resutling in this error.
I tried disabling cache this this config:
webvpn
cache
disable
But still no luck.
03-19-2014 11:37 AM
Anybody figure this out. I have 8.2(5).
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