Posts

Showing posts from August 26, 2012

Use "request system snapshot" command to BACKUP in SRX

在許多Juniper設備基本操作手冊中都會提到可以使用 'request system snapshot' 指令來備份現有組態及OS,不過在SRX上似乎只能搭配USB使用,不然的話會遇到錯誤訊息如下:

root@SRX1# run request system snapshot
error: usb (/dev/da1) media missing or invalid

好吧 來試試看,插入USB隨身碟之後再試試看:

[edit]
root@SRX1# umass1: Unigen Corporation PQS1000B1, rev 2.00/11.00, addr 4
da1 at umass-sim1 bus 1 target 0 lun 0
da1: Removable Direct Access SCSI-0 device 
da1: 40.000MB/s transfers
da1: 980MB (2007040 512 byte sectors: 64H 32S/T 980C)

[edit]
root@SRX1# run request system snapshot  
WARNING: Recovery partition was not found on source media, creating now...
Clearing current label...
Partitioning usb media (/dev/da1) ...
error: Not enough space to copy /altroot (/dev/da1s1a) partition.

...殘念 空間不足...再試試看用2G USB,終於成功!


umass1: vendor 0x0930 USB Flash Memory, rev 2.00/1.00, addr 4
da1 at umass-sim1 bus 1 target 0 lun 0
da1: < USB Flash Memory 1.00> Removable Direct Access SCSI-2 device 
da1: 40.000MB/s transfers
da1: 1909MB (3911616 512 byte sectors: 255H 63S/T 243C)


root@SRX1# run…