Junipor交换机 HAS BOOTED FROM THE BACKUP JUNOS IMAGE
2015-10-16 15:56
549 查看
由于系统突然断电导致Junipor交换机打印一些报警信息:
--- JUNOS 11.4R1.6 built 2011-11-15 10:11:59 UTC
***********************************************************************
** **
** WARNING: THIS DEVICE HAS BOOTED FROM THE BACKUP JUNOS IMAGE **
** **
** It is possible that the primary copy of JUNOS failed to boot up **
** properly, and so this device has booted from the backup copy. **
** **
** Please re-install JUNOS to recover the primary copy in case **
** it has been corrupted. **
** **
***********************************************************************
这是由于加载了backup的slice,恢复方法如下:
root@:RE:0% cli
root> show system alarms
3 alarms currently active
Alarm time Class Description
2011-11-15 17:15:21 UTC Minor Host 0 Boot from backup root
2011-11-15 17:15:21 UTC Major Management Ethernet Link Down
2011-11-15 17:14:41 UTC Minor Rescue configuration is not set
root> show system storage partitions
Boot Media: internal (da0)
Active Partition: da0s1a
Backup Partition: da0s2a
Currently booted from: backup (da0s2a)
Partitions information:
Partition Size Mountpoint
s1a 183M altroot
s2a 184M /
s3d 369M /var/tmp
s3e 123M /var
s4d 62M /config
root> request system snapshot media internal slice alternate
Formatting alternate root (/dev/da0s1a)...
Copying '/dev/da0s2a' to '/dev/da0s1a' .. (this may take a few minutes)
The following filesystems were archived: /
root> request system reboot slice alternate me
ˆ
'me' is ambiguous.
Possible completions:
media Boot media for next boot
message Message to display to all users
root> request system reboot slice alternate media internal
Reboot the system ? [yes,no] (no) yes
Shutdown NOW!
[pid 17511]
--- JUNOS 11.4R1.6 built 2011-11-15 10:11:59 UTC
***********************************************************************
** **
** WARNING: THIS DEVICE HAS BOOTED FROM THE BACKUP JUNOS IMAGE **
** **
** It is possible that the primary copy of JUNOS failed to boot up **
** properly, and so this device has booted from the backup copy. **
** **
** Please re-install JUNOS to recover the primary copy in case **
** it has been corrupted. **
** **
***********************************************************************
这是由于加载了backup的slice,恢复方法如下:
root@:RE:0% cli
root> show system alarms
3 alarms currently active
Alarm time Class Description
2011-11-15 17:15:21 UTC Minor Host 0 Boot from backup root
2011-11-15 17:15:21 UTC Major Management Ethernet Link Down
2011-11-15 17:14:41 UTC Minor Rescue configuration is not set
root> show system storage partitions
Boot Media: internal (da0)
Active Partition: da0s1a
Backup Partition: da0s2a
Currently booted from: backup (da0s2a)
Partitions information:
Partition Size Mountpoint
s1a 183M altroot
s2a 184M /
s3d 369M /var/tmp
s3e 123M /var
s4d 62M /config
root> request system snapshot media internal slice alternate
Formatting alternate root (/dev/da0s1a)...
Copying '/dev/da0s2a' to '/dev/da0s1a' .. (this may take a few minutes)
The following filesystems were archived: /
root> request system reboot slice alternate me
ˆ
'me' is ambiguous.
Possible completions:
media Boot media for next boot
message Message to display to all users
root> request system reboot slice alternate media internal
Reboot the system ? [yes,no] (no) yes
Shutdown NOW!
[pid 17511]