cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2889
Views
0
Helpful
9
Replies

asa5525x Disk0: with zero allocated space

kimreiss
Level 1
Level 1

I have a customer with an ASA5525x where the allocated space for disk0: is zero and the space for disk1: is 8G.  It came from the factory with all of the files on disk1:.  This is not the normal configuration and I can find no way to correct it (or if I should even try).  According to the documentation for this device disk0: should be the internal flash drive and disk1: should be an external drive in a USB port.  Everything works except for the "write mem" or any command referencing flash:. Has anyone seen this before or have any suggestions?

9 Replies 9

Vibhor Amrodia
Cisco Employee
Cisco Employee

Hi,

What do you mean by allocated space. Do you mean used space ?

If yes , can you post the show disk output from the output ?

Also , disk1: as you correctly pointed out is the external flash on the ASA device.

Thanks and Regards,

Vibhor Amrodia

here is the show filesystem

 show file system

File Systems:

     Size(b)     Free(b)      Type      Flags  Prefixes
* 0             0             disk      rw      disk0: flash:
  7994621952    7860920320    disk      rw      disk1:
             -             -  network   rw      tftp:
             -             -  opaque    rw      system:
             -             -  network   ro      http:
             -             -  network   ro      https:
             -             -  network   rw      ftp:
             -             -  network   rw      smb:
  35133440                 -  opaque    rw      cache:

 

Here is the show disk info:

show disk1:
--#--  --length--  -----date/time------  path
  362  4096        Mar 16 2013 05:47:44  log
  363  4096        Mar 16 2013 05:47:58  crypto_archive
  365  0           Mar 16 2013 05:48:00  nat_ident_migrate
  366  4096        Mar 16 2013 05:48:00  coredumpinfo
  390  59          Mar 16 2013 05:48:00  coredumpinfo/coredump.cfg
  367  34523136    Mar 16 2013 05:50:08  asa861-2-smp-k8.bin
  368  17851400    Mar 16 2013 05:51:58  asdm-66114.bin
  369  12998641    Mar 16 2013 05:55:16  csd_3.5.2008-k9.pkg
  370  4096        Mar 16 2013 05:55:16  sdesktop
  392  1462        Mar 16 2013 05:55:16  sdesktop/data.xml
  371  6487517     Mar 16 2013 05:55:16  anyconnect-macosx-i386-2.5.2014-k9.pkg
  372  6689498     Mar 16 2013 05:55:18  anyconnect-linux-2.5.2014-k9.pkg
  373  4678691     Mar 16 2013 05:55:18  anyconnect-win-2.5.2014-k9.pkg
  374  10299716    Oct 14 2013 13:39:50  anyconnect-linux-3.0.08057-k9.pkg
  375  10700247    Oct 14 2013 13:39:58  anyconnect-macosx-i386-3.0.08057-k9.pkg
  376  28771677    Oct 14 2013 13:40:10  anyconnect-win-3.0.08057-k9.pkg
  377  28728       Apr 27 2015 21:58:52  startup-config

7994621952 bytes total (7860920320 bytes free)


 show disk0:

%Error show disk0: (No such device)
 show flash:

%Error show flash: (No such device)


 dir disk0:

Directory of disk0:/

No files in directory

0 bytes total (0 bytes free)
 

Hi,

I don't think there is an internal flash on this ASA device.

Thanks and Regards,

Vibhor Amrodia

There is no external flash drive plugged in, so the flash must be internal.

Hi,

Check this:-

Internal USB Drive

An embedded USB (eUSB) device is used as the internal flash ( disk0 ). See Hardware Specifications for the size shipped with each model.

External USB Drives (Optional)

The ASA 5500-X supports external USB flash drives for data storage. The ASA 5500-X uses disk1 as the external USB flash drive identifier. When the ASA is powered on, an inserted USB flash drive is mounted to disk1 and available for you to use. Additionally, the file system commands that are available to disk 0 are also available to disk1, including copy , format , delete , mkdir , pwd , cd , and so on. When you remove the USB flash drive, the system unmounts disk1, and disk1 becomes an invalid file system label that you can no longer access.

If you insert a USB drive with more than one partition, only the first partition is mounted.

Reference:-

http://www.cisco.com/c/en/us/td/docs/security/asa/hw/maintenance/5500xguide/5500xhw/asa_overview.html

Thanks and Regards,

Vibhor Amrodia

There is no external drive attached to the ASA.  It came from the factory with the files loaded on disk1: and disk0: undefined.  I have installed more than a hundred ASA boxes, but this is the first X model.  I have never seen an issue like this before.  The unit functions normally, so I do not plan on wasting a lot of time on it, but is just not normal.

Amen
Level 1
Level 1

Hello , just wondering if i can get answer for same problem after 4 years . I have error message 

 

Cisco Adaptive Security Appliance Software Version 9.16(3)19

SSP Operating System Version 2.11(1.154)

Device Manager Version 7.18(1)152

 

575f19fc-1e7d-431a-ac1d-94d1a0d39794.jpg

 „show disk“ shows

21475885056 bytes total (0 bytes free)

any known bug that I cant find? or some steps I can do ? 

 

@Amen delete any old crashinfo and coredump files from the ASA. Also any old system images that aren't being used. Repeat until you get the free space down to what you need.

Hello Marvin, Thank you for your answer, I just rebooted the device now, and I could see free space, and the issue was completely solved.

Review Cisco Networking for a $25 gift card