Posted on October 1, 2014 3:37 pm
 |  Asked by Victor
 |  7004 views
RESOLVED
0
0
Print Friendly, PDF & Email

Hi,

I was working with the “fullrecover” command and I noticed that when I perform the fullrecover command the switch erases everything in flash:/ But as soon as the recovery is completed I see the switch installs an old EOS version such as 4.11….. Where is this EOS image stored within the switch file system? Thank you

Marked as spam
-1
Posted by Mark Berly
Answered on October 1, 2014 3:45 pm

When doing a full recover the /mnt/flash is erased and the files from the device connected to the USB port are copied to /mnt/flash, this can include an image. In addition on /mnt/flash there is a copy of the boot image kept in a hidden file called .boot-image.swi, this can be seen by doing a quick ls -la, as seen below:

[admin@sw1 /]$ cd /mnt/flash
[admin@sw1 flash]$ ls -la
total 715768
drwxrwx--- 6 root eosadmin 4096 Oct 1 13:24 .
drwxr-xr-x 3 root root 100 Sep 25 21:11 ..
<span style="font-family: 'arial black', 'avant garde';"><strong>-r-xr-x--- 1 root eosadmin 366454059 Aug 13 22:35 .boot-image.swi
</strong></span>drwxrwx--- 2 root eosadmin 4096 Aug 7 19:23 .extensions
-rwxrwx--- 1 root eosadmin 366454059 Aug 13 22:22 EOS.swi
-rwxrwx--- 1 root eosadmin 18 Aug 13 22:21 boot-config
drwxrwx--- 2 root eosadmin 4096 Aug 20 20:12 debug
drwxrwx--- 2 root eosadmin 4096 Sep 25 21:12 persist
drwxrwx--- 3 root eosadmin 4096 Aug 7 19:26 schedule
-rwxrwx--- 1 root eosadmin 4497 Oct 1 13:24 startup-config
-rwxrwx--- 1 root eosadmin 0 Aug 20 20:11 zerotouch-config
Marked as spam

Thank you for your help and explanation.

(Victor at October 2, 2014 2:53 am)

Post your Answer

You must be logged in to post an answer.