JUNOS_EXシリーズ初期化
最近、学習用でJuniper EXシリーズのSwitchを購入
暫くはこれで勉強予定。
んで、起動時に以下のメッセージがでる。
***********************************************************************
** **
** 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 and if auto-snapshot feature is not **
** enabled. **
** **
***********************************************************************
ようは、PrimaryからBootしていないというメッセージ。
多分、request system haltをせずに電源ケーブルを抜いたんだろう・・・
とりあえず、リカバリー
root> show system storage partitions
fpc0:
--------------------------------------------------------------------------
Boot Media: internal (da0)
Active Partition: da0s2a
Backup Partition: da0s1a
Currently booted from: backup (da0s1a)Partitions information:
Partition Size Mountpoint
s1a 183M /
s2a 183M altroot
s3d 369M /var/tmp
s3e 123M /var
s4d 62M /config
s4e unused (backup config){master:0}
→現在はbackupからBootしているのがわかる。
以降はリカバリー
root> request system snapshot media internal slice alternate
fpc0:
--------------------------------------------------------------------------
Formatting alternate root (/dev/da0s2a)...
終わると再起動
{master:0}
root> request system reboot slice alternate media internal
Reboot the system ? [yes,no] (no) yes