Quantcast
Channel: All SRX Services Gateway posts
Viewing all articles
Browse latest Browse all 17645

Re: Accidental Power Loss - Juniper SRX 100H

$
0
0

You are good to go. You can use the command >request system snapshot slice alternate, to repair the primary partition. The system is working as designed with the dual root partition. it is for exactly this sort of situation. But I like to use this method outlined here in the article below, to make sure that it is properly formatted and installed, and after that I can use the snapshot method cleanly. Save the complete configuration file. After using the USB, it will create the dual root partition and you can simply load the config again. There is also an option to create a spefic file and add to the usb with the config, so it will format and copy the cofig automatically.

http://www.juniper.net/techpubs/en_US/junos14.2/topics/task/installation/security-junos-os-boot-loader-usb-storage-device-srx-series-device-installing.html

 

to see if your user account has admin privelleges, execute the command #show system login

 

Here is an example of the command and it completed before I finished typing this reply:

lab@srxF-2# run request system snapshot slice alternate
Formatting alternate root (/dev/da0s2a)...
Copying '/dev/da0s1a' to '/dev/da0s2a' .. (this may take a few minutes)
The following filesystems were archived: /

You can view the results with any of the following:
lab@srxF-2# run show system snapshot slice alternate media internal
Information for snapshot on internal (/dev/da0s1a) (primary)
Creation date: Feb 26 11:21:00 2016
JUNOS version on snapshot:
junos : 12.1X46-D15.3-domestic
Information for snapshot on internal (/dev/da0s2a) (backup)
Creation date: Mar 7 17:47:03 2016
JUNOS version on snapshot:
junos : 12.1X46-D15.3-domestic
lab@srxF-2# run show system snapshot slice 1 media internal
Information for snapshot on internal (/dev/da0s1a) (primary)
Creation date: Feb 26 11:21:00 2016
JUNOS version on snapshot:
junos : 12.1X46-D15.3-domestic
Information for snapshot on internal (/dev/da0s2a) (backup)
Creation date: Mar 7 17:47:03 2016
JUNOS version on snapshot:
junos : 12.1X46-D15.3-domestic
lab@srxF-2# run show system snapshot slice 2 media internal
Information for snapshot on internal (/dev/da0s1a) (primary)
Creation date: Feb 26 11:21:00 2016
JUNOS version on snapshot:
junos : 12.1X46-D15.3-domestic
Information for snapshot on internal (/dev/da0s2a) (backup)
Creation date: Mar 7 17:47:03 2016
JUNOS version on snapshot:
junos : 12.1X46-D15.3-domestic

You can reboot after this to get it to use the promary partition again


Viewing all articles
Browse latest Browse all 17645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>