cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1262
Views
0
Helpful
2
Replies

Upload of AnyConnect pkg files fails with "%Error copying disk0:/anyconnect-xxx.pkg (No space left on device)"

begomez
Level 1
Level 1

Hi all,

 

I'm having an issue copying some AnyConnect .pkg (the 3 x 4.6.0.3049 webdeploy) files in a live production environment with an ASA5525 Active/Standby failover pair on 9.6(4)17. The error I receive is "%Error copying disk0:/anyconnect-xxx.pkg (No space left on device)" , even though there is ample storage.

 

I've had a look at this: https://community.cisco.com/t5/firewalls/asa-flash-issue/td-p/2472407 which shows some workarounds.

 

In trying to work around this error, I've tried the following:

 - Reloads on the Standby firewall only (multiple times).

 - The "fsck disk0:" command, however that returns "ERROR: There are one or more sw-modules running on the system. Please shut down the sw-modules before attempting to run fsck on disk0:"

(All output attached)

 

A few questions: 

 - Is the 'fsck disk0' command done as part of the process of reloading the firewall, even though the firewall is in Standby?

 - Any reasoning as to why the disk0 affects software modules running on the system?

 

Any ideas on the next steps I should take? 

 

Thanks for your assistance in advance,

 

Ben

2 Replies 2

mls577
Level 1
Level 1

@begomez wrote:

Hi all,

 

I'm having an issue copying some AnyConnect .pkg (the 3 x 4.6.0.3049 webdeploy) files in a live production environment with an ASA5525 Active/Standby failover pair on 9.6(4)17. The error I receive is "%Error copying disk0:/anyconnect-xxx.pkg (No space left on device)" , even though there is ample storage.

 

I've had a look at this: https://community.cisco.com/t5/firewalls/asa-flash-issue/td-p/2472407 which shows some workarounds.

 

In trying to work around this error, I've tried the following:

 - Reloads on the Standby firewall only (multiple times).

 - The "fsck disk0:" command, however that returns "ERROR: There are one or more sw-modules running on the system. Please shut down the sw-modules before attempting to run fsck on disk0:"

(All output attached)

 

A few questions: 

 - Is the 'fsck disk0' command done as part of the process of reloading the firewall, even though the firewall is in Standby?

 - Any reasoning as to why the disk0 affects software modules running on the system?

 

Any ideas on the next steps I should take? 

 

Thanks for your assistance in advance,

 

Ben


I'm not sure why it's requiring you to do that, however it is talking about any possible software modules running (firepower module  aka sfr most likely). just shut the software modules down before you try to run that. 

 

You can shut them down using:

sw-module module <module name> shutdown
For firepower module use:
sw-module module sfr shutdown

https://www.cisco.com/c/en/us/support/docs/security/asa-firepower-services/118644-configure-firepower-00.html



Repeat if necessary for any other modules running on the box. Then try to run fsck again.

Cyrion2015
Level 1
Level 1

Upload of AnyConnect pkg files fails with "%Error copying disk0:/anyconnect-xxx.pkg (No space left on device)

 

Any chance you found a fix?  I'm on a 5508-X running iOS 9.10(1). It seems to me that if i upload a file, then delete, it never reclaims the space.  I delete 3 files then have no room to upload one.  It feels like old times when you had to run squeeze on the file system...  The any connect files are like 48MB and it is reporting I have 4GB free.. it shouldn't be a problem.  fsck reports no issues...  It bombs out during SCP as well as TFTP...

 

hqfw01# fsck disk0:
fsck.fat 3.0.28 (2015-05-16)

/dev/sdb1: 62 files, 861190/1918808 clusters

fsck of disk0: complete

hqfw01# dir disk0:

 

Directory of disk0:/

 

102    -rwx  115316320    12:21:20 Jan 25 2019  asa9101-lfbff-k8.SPA

103    -rwx  61           14:28:40 Jan 25 2019  .boot_string

11     drwx  4096         14:49:38 Jul 26 2017  log

23     drwx  4096         14:50:28 Jul 26 2017  crypto_archive

24     drwx  4096         14:50:30 Jul 26 2017  coredumpinfo

104    -rwx  110408336    17:26:32 Sep 11 2018  asa992-lfbff-k8.SPA

105    -rwx  2488         12:07:34 Sep 07 2018  AnyConnect_client_profile.xml

106    -rwx  45380553     12:26:36 Jan 25 2019  anyconnect-win-4.7.00136-webdeploy-k9.pkg

107    -rwx  32738244     12:22:22 Jan 25 2019  asdm-792-152.bin

 

6 file(s) total size: 303846002 bytes

7859437568 bytes total (4332003328 bytes free/55% free)