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

ASA 5525-X flash problem

Mammad Mammadov
Level 1
Level 1

I have ASA5525-X and I can't save configuration because of flash memory doesn't let me. I tried to format from rommon but results are same. Is there someone who can help me to fix a problem?

6 Replies 6

Vibhor Amrodia
Cisco Employee
Cisco Employee

Hi,

Can you update with these outputs:-

1) show disk0:

2) fsck disk0:

3) error which you get while writing the configuration on the ASA device.

Thanks and Regards,

Vibhor Amrodia

All outputs are below:

asa01# show disk0:
--#--  --length--  -----date/time------  path
   41  34523136    Oct 19 2013 19:29:18  asa861-2-smp-k8.bin
   42  17851400    Oct 19 2013 19:52:00  asdm-66114.bin
   43  42637312    Oct 19 2013 19:53:10  IPS-SSP_5525-K9-sys-1.1-a-7.1-4-E4.aip
   44  12998641    Oct 19 2013 20:01:08  csd_3.5.2008-k9.pkg
   45  4678691     Oct 19 2013 20:01:42  anyconnect-win-2.5.2014-k9.pkg
   46  6487517     Oct 19 2013 20:02:14  anyconnect-macosx-i386-2.5.2014-k9.pkg
   47  6689498     Oct 19 2013 20:02:32  anyconnect-linux-2.5.2014-k9.pkg
    2  4096        Oct 19 2013 20:07:36  log
    5  4096        Oct 19 2013 20:07:50  crypto_archive
   48  0           Oct 19 2013 20:07:52  nat_ident_migrate
   16  4096        Oct 19 2013 20:07:52  coredumpinfo
   17  59          Oct 19 2013 20:07:52  coredumpinfo/coredump.cfg
   49  3567        Oct 20 2013 14:23:24  startup-config
   50  4096        Oct 20 2013 14:22:46  syslog
   58  0           Oct 20 2013 14:22:46  syslog/LOG-2013-10-20-092247.TXT
   51  8192        Jan 01 1980 04:00:00  FSCK0000.REC
   52  4096        Jan 01 1980 04:00:00  FSCK0001.REC
   53  8192        Jan 01 1980 04:00:00  FSCK0002.REC
   54  100         Feb 10 2014 18:50:20  upgrade_startup_errors_201402101450.log
   14  4096        Feb 14 2014 16:04:58  snmp
   15  4           May 27 2014 15:43:24  snmp/single_vf
   55  4096        May 27 2014 16:43:06  tmp

7994621952 bytes total (3868913664 bytes free)

===========================================================================
asa01# fsck disk0:
umount: can't umount /mnt/disk0: Device or resource busy
Write 7807256 bytes at 7823872:Operation not permitted
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
FATs differ but appear to be intact. Using first FAT.
mount: mounting /dev/sdb1 on /mnt/disk0 failed: Device or resource busy

fsck of disk0: complete
WARNING: Restoring security context mode failed.

===========================================================================


asa01# wr
Building configuration...
Cryptochecksum: 80f04b34 4ca2081b b8bfe88a 5b57e6e7 

%Error opening disk0:/.private/startup-config (Read-only file system)
Error executing command
[FAILED]

Hi,

Can you Shutdown the IPS module running on the ASA device and then try to check again.

Thanks and Regards,

Vibhor Amrodia

Hi,

Shut-downing didn't help

 

 

asa01# sw-module module ips shutdown

Shutdown module ips? [confirm]
Shutdown issued for module ips.
asa01# show module ips details       
Getting details from the Service Module, please wait...
Unable to read details from module ips

Card Type:          Unknown
Model:              N/A
Hardware version:   N/A
Serial Number:      FCH1650JMQT
Firmware version:   N/A
Software version:   
MAC Address Range:  4403.a74a.0714 to 4403.a74a.0714
Data Plane Status:  Not Applicable
Status:             Down
License:            IPS Module  Enabled  perpetual
asa01# wr
Building configuration...
Cryptochecksum: e2cfe3c1 9e89beea 25e7d821 e172d1b0

%Error opening disk0:/.private/startup-config (Read-only file system)
Error executing command
[FAILED]

 

Hi,

So , did you try to fsck the disk after shutting down the module ?

It seems that we should try to format the Disk as the last resort after that.

Thanks and Regards,

Vibhor Amrodia

Results were same

 

asa01# fsck disk0:
open /dev/sdb1:Read-only file system
dosfsck 2.11, 12 Mar 2005, FAT32, LFN

fsck of disk0: complete
WARNING: Restoring security context mode failed.
asa01# format disk0:

WARNING: There are one or more sw-module disk images present on disk0:. If you continue with this operation all the data on those disk images will be destroyed.

Proceed with operation? {confirm]

Format operation may take a while. Continue? [confirm]

Format operation will destroy all data in "disk0:".  Continue? [confirm]
Initializing partition - done!
Creating FAT32 filesystem
mkdosfs: unable to open /dev/sdb1
mkdosfs 2.11 (12 Mar 2005)

System tables written to disk

Format of disk0 complete
WARNING: Restoring security context mode failed.
asa01#
asa01#
asa01#
asa01# wr
Building configuration...
Cryptochecksum: e2cfe3c1 9e89beea 25e7d821 e172d1b0

%Error opening disk0:/.private/startup-config (Read-only file system)
Error executing command
[FAILED]
asa01#

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card