I guess the only option is to reset using factory default or zeroize then try to reapply the saved configuration.
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
Original Message:
Sent: 01-11-2024 04:33
From: Aleksandr Maksimov
Subject: SRX 240. Failed to do "request system autorecovery state save".
If I tried to change config I got messages
root# commit
error: /config/juniper.conf+: write failed: Broken pipe
error: /config/juniper.conf+: was not properly closed: Broken pipe
error: commit failed: commit to file failed during export to /config/juniper.conf+
------------------------------
Aleksandr Maksimov
Original Message:
Sent: 01-10-2024 01:00
From: Aleksandr Maksimov
Subject: SRX 240. Failed to do "request system autorecovery state save".
Thank you so much for help!
Do I understand correctly that I can exclude creating a snapshot and booting from USB and could get the same result ?
1. I write to a usb flash drive 2 files <Junos package name> + <currentJunos.conf>. I insert the flash drive into Juniper.
2. I boot into bootload. I use the command loader> install --format file:///<Junos package name>
3. I transfer the configuration file using an algorithm
root@SRX210-DST% mkdir bbbb
root@SRX210-DST% mount_msdosfs /dev/da1s1 bbbb
root@SRX210-DST% ls -l b
total 290656
-rwxr-xr-x 1 root wheel 43629 Nov 18 09:26 conf.txt
root@SRX210-DST%
- Run CLI, enter configuration mode
root@SRX210-DST%cli
root@SRX210-DST> edit
Entering configuration mode
[edit]
- Load the configuration with overriding
root@SRX210-DST# load override bbbb/<currentJunos.conf>
load complete
[edit]
-Commit and quit
root@SRX210-DST# commit and-quit
commit complete
Exiting configuration mode
root@SRX210-SOURCE>
- Exit from CLI, dismount USB and exit
root@SRX210-SOURCE> exit
root@SRX210-DST% umount b
root@SRX210-DST% exit
after reboot add 3 commands
request system autorecovery state save
request system storage cleanup
request system snapshot slice alternate
------------------------------
Aleksandr Maksimov
Original Message:
Sent: 01-09-2024 20:36
From: spuluka
Subject: SRX 240. Failed to do "request system autorecovery state save".
I've not seen these particular error messages before but they may be related to disk errors on the device.
If so, you might be able to get a clean reformat using the following process.
- Insert a blank FAT formated USB and make a snapshot to the USB which will give a bootable full configuration
- Take the USB and add to this a copy of the installer for the desired Junos
- Reboot the SRX with the USB inserted so it boots from USB
- Do a format install to the internal drive while running from the USB to reformat the drive and get a fresh install.
- Copy the configuration file from the USB to the internal drive replacing the default configuration
- Shutdown the SRX and remove the USB then reboot to the newly formatted drive
------------------------------
Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
http://puluka.com/home
Original Message:
Sent: 01-09-2024 00:45
From: Aleksandr Maksimov
Subject: SRX 240. Failed to do "request system autorecovery state save".
How do you think if I will try to reinstall firmware - could it help and fix the problem ?
For example I can upload a tgz firmware file on USB and via loader install it by command
loader> install file://junos-****.tgz
Could it fix the problem or it will be useless ?
------------------------------
Aleksandr Maksimov
Original Message:
Sent: 01-04-2024 01:08
From: Aleksandr Maksimov
Subject: SRX 240. Failed to do "request system autorecovery state save".
Dear all,
I have several devices SRX 240 with JUNOS Software Release [12.1X44-D40.2]. Only 2 from them have an issue. When I tried to enter command request system autorecovery state save every time I got error.
> request system autorecovery state clear
Clearing config recovery information
Clearing license recovery information
Clearing bsdlabel recovery information
> request system autorecovery state save
Saving config recovery information
Saving license recovery information
Saving BSD label recovery information
error: Failed to create /recovery/state/bsdlabel/s3.bsdlabel
> request system autorecovery state recover
Configuration:
File Recovery Information Integrity Check Action / Status
rescue.conf.gz Saved Passed None
BSD Labels:
Slice Recovery Information Integrity Check Action / Status
s1 Saved Passed None
s2 Saved Passed None
s3 Invalid Not checked Requires save
s4 Not Saved Not checked Requires save
I tried to find useful information on the Internet, but could not find anything on this problem.
I would be glad for any help or any recommendations.
Thank you very much in advance.
------------------------------
Aleksandr Maksimov
------------------------------