cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3027
Views
5
Helpful
3
Replies

Accidentally delete disk0: in Cisco ASA 5506-X

KENTYONG44423
Level 1
Level 1

All the file in ASA disk0: has been accidentally deleted, also flash:

Now boot the ASA 5506-x by image store in disk1:(USB).

 

 

When I copy the software image from disk1:(USB) to disk0:

 

ciscoasa# copy disk1: disk0:

Source filename []? asa984-20-lfbff-k8.spa

Destination filename [asa984-20-lfbff-k8.spa]?

%Error copying disk1:asa984-20-lfbff-k8.spa (Not enough space on device)

 

ciscoasa# dir disk0:

Directory of disk0:/

11388 drw- 0 11:47:24 Apr 13 2020 coredumpinfo
11309 drw- 0 11:47:23 Apr 13 2020 crypto_archive
11162 drwx 0 11:46:18 Apr 13 2020 log

0 file(s) total size: 0 bytes
0 bytes total (0 bytes free/-2147483648% free)

 

ciscoasa# sh flash
--#-- --length-- -----date/time------ path
11388 0 Apr 13 2020 11:47:24 coredumpinfo
11389 59 Apr 13 2020 11:47:24 coredumpinfo/coredump.cfg
11309 0 Apr 13 2020 11:47:23 crypto_archive
11162 0 Apr 13 2020 11:46:18 log

0 bytes total (0 bytes free)

 

 

ciscoasa# fsck disk0:
Unsupported file system type!

fsck of disk0: complete

 

ciscoasa# fsck flash:
Unsupported file system type!

fsck of flash: complete

 

Thank you.

Now must boot the software from thumb drive.

 

 

 

 

 

2 Accepted Solutions

Accepted Solutions

Francesco Molino
VIP Alumni
VIP Alumni
Hi

Have you tried doing format disk0: ?

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

Glad the format helped you solving your issue

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

3 Replies 3

Francesco Molino
VIP Alumni
VIP Alumni
Hi

Have you tried doing format disk0: ?

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

Hi

Thanks for help.
I have solve the issue by reformat again by cli "format disk:0"

Glad the format helped you solving your issue

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
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