cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1248
Views
0
Helpful
1
Replies

erase flash question

rahmant
Level 1
Level 1

I'm drafting some ASA rollout procedures and wanted to document a build from scratch. Using a test ASA5520, I booted into monitor mode and erased the flash, with the expectation that I would be able to upload the latest image release onto the unit. I can xfer the latest 8.0(3) image onto the unit via monitor mode tftp, but after the unit boots up, it seems as if the flash is corrupted. sh ver detects 256MB, but the flash seems to be unwritable/unavailable.

sh ver after boot:

-----

ciscoasa(config)# sh ver

Cisco Adaptive Security Appliance Software Version 8.0(3)

Compiled on Tue 06-Nov-07 22:59 by builders

System image file is "tftp://164.84.203.19/asa803-k8.bin"

Config file at boot was "startup-config"

ciscoasa up 15 mins 34 secs

Hardware: ASA5520, 512 MB RAM, CPU Pentium 4 Celeron 2000 MHz

Internal ATA Compact Flash, 256MB

BIOS Flash M50FW080 @ 0xffe00000, 1024KB

Encryption hardware device : Cisco ASA-55x0 on-board accelerator (revision 0x0)

Boot microcode : CN1000-MC-BOOT-2.00

SSL/IKE microcode: CNLite-MC-SSLm-PLUS-2.01

IPSec microcode : CNlite-MC-IPSECm-MAIN-2.04

0: Ext: GigabitEthernet0/0 : address is 001d.a259.4d92, irq 9

1: Ext: GigabitEthernet0/1 : address is 001d.a259.4d93, irq 9

2: Ext: GigabitEthernet0/2 : address is 001d.a259.4d94, irq 9

3: Ext: GigabitEthernet0/3 : address is 001d.a259.4d95, irq 9

4: Ext: Management0/0 : address is 001d.a259.4d96, irq 11

5: Int: Not used : irq 11

6: Int: Not used : irq 5

The Running Activation Key is not valid, using default settings:

Licensed features for this platform:

Maximum Physical Interfaces : Unlimited

Maximum VLANs : 150

Inside Hosts : Unlimited

Failover : Active/Active

VPN-DES : Enabled

VPN-3DES-AES : Disabled

Security Contexts : 2

GTP/GPRS : Disabled

VPN Peers : 750

WebVPN Peers : 2

AnyConnect for Mobile : Disabled

AnyConnect for Linksys phone : Disabled

Advanced Endpoint Assessment : Disabled

This platform has an ASA 5520 VPN Plus license.

Serial Number: JMX1203L123

Running Activation Key: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000

Configuration register is 0x1

Configuration has not been modified since last system restart.

-----

dir shows the following after boot:

-----

ciscoasa(config)# dir

Directory of disk0:/

421 drw- 0 13:53:02 Apr 01 2008 crypto_archive

415 drwx 0 13:52:51 Apr 01 2008 log

0 bytes total (0 bytes free)

ciscoasa(config)#

-----

while trying to fsck shows the following:

-----

ciscoasa(config)# fsck flash:

Unsupported file system type!

%Error checking flash: ()

ciscoasa(config)# fsck disk0:

Unsupported file system type!

%Error checking disk0: ()

ciscoasa(config)#

-----

I'm guessing that the monitor mode erase renders the flash somehow unusable, but I'm hoping that there may be some way to format it for use again. Any suggestions?

Thanks,

Tariq

1 Reply 1

rahmant
Level 1
Level 1

Found it - I needed to use the "format" command on the flash to make it usable again.

Tariq