SRX

last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  Booting from system snapshot on USB key

    Posted 11-17-2010 07:11

     

    Hi guys,
    I am trying to create a backup of an SRX on to a USB key.
    I did:
    "request system snapshot media usb partition"
    It appears to work ok.
    Then I go to another box and do a:
    "request system reboot media usb"
    The system boots from the USB.
    After a few minutes of log in, the system freezes and I get read / write errors.
    Is a partition that is being created not big enough perhaps and it is filling up?
    I've tried with a few different USB keys (4Gb & 8Gb)
    Let me know if you have any ideas.
    Thanks

     



  • 2.  RE: Booting from system snapshot on USB key

    Posted 11-17-2010 19:13

    Enda, if you are using 4GB / 8GB keys then there should not be a problem with storage space. Can you please let us know the brands of USBs that you tried and the specific messages seen on the box?



  • 3.  RE: Booting from system snapshot on USB key

    Posted 11-18-2010 03:40
      |   view attached

     

    Process followed attached.

     

    It shows the config, then the request system snapshot and then the reboot from usb

     

     

    Attachment(s)

    TXT
    USB snapshot.TXT   17 KB 1 version


  • 4.  RE: Booting from system snapshot on USB key

    Posted 11-18-2010 05:00

    Interesting. It boots all the way in, then it loses its mind and you get I/O errno 5. "5" usually means that there's something wrong with the file system or the storage hardware.

     

    At the risk of sounding glib: I'd open a JTAC case. Unless someone has seen this exact issue, we're not going to solve this. It doesn't look like a configuration issue or process issue at all. It looks like a code issue to me. If we are assuming that your USB sticks aren't physically defective, that is, and I think we can assume that.

     

    And since I'm suspecting a code issue, one thing you could do is load 10.2r3 and see whether the error persists. That is the current recommended version as per JTAC, and it's also the version that has proven "most stable" with my customers so far.

     



  • 5.  RE: Booting from system snapshot on USB key

    Posted 11-18-2010 05:09

     

    I've tried on 10.2R3 also and its the same

    😞

     

    Waiting for JTAC response....

     

     



  • 6.  RE: Booting from system snapshot on USB key
    Best Answer

    Posted 11-18-2010 06:12

    Hi Enda,

     

    From the messages it looks like there is some problem with read/writes to the USB stick. Error 5 is for I/O error. There is no problem with the offsets or sizes of data blocks being written to USB key so I do not suspect a corrupt file system or some software problem.

     

    The USB stick that you are using is not a supported USB key for SRX branch boxes.

         umass1: ADATA ADATA USB Flash Drive, rev 2.00/11.00, addr 4

     

    Supported USB keys are Unigen and Sandisk sticks till 8GB. Besides well known brands like Kingston, Transcend, Lexar have also been seen to be working fine on SRX branch boxes. 

     

    I would suggest you to try with a different USB key. This in all probabilites looks like a media error.

     

    Regards



  • 7.  RE: Booting from system snapshot on USB key

    Posted 11-18-2010 06:29

     

    Thanks for the response.

     

    It this in the KB or notes anywhere.

    It would be handy to have a list.

     

    I also tried a Corsair Flash Voyager and this also failed.

     

    I will go and shop for a Sandisk one now.

    Is there a particular type I should buy or will any Sandisk do?

     

    Thanks

     

     



  • 8.  RE: Booting from system snapshot on USB key

    Posted 12-06-2010 04:29

    Hi,

     

    Yay!  Sandisk Cruzer 4Gb worked like a dream!  Smiley Happy

     

    Thank you very much

     

    Some follow up questions:

     

    1: Can you boot from the USB using the loader?

     

    2: Can you set the SRX to try and boot from the USB by default?

     

     



  • 9.  RE: Booting from system snapshot on USB key

    Posted 08-10-2015 04:48

    is there any specific usb type to achive the snapdhot to usb ,because i got this error when i tried to do it 

     

     

    error: Cannot partition usb (/dev/da0): /dev/da0s1 is mounted on /mnt

     

     

    any idea ?

    thanks 



  • 10.  RE: Booting from system snapshot on USB key

     
    Posted 08-10-2015 05:28

    Hi,

     

    This is meaning that you have mounted the usb drives first partion da0s1 on /mnt try to unmount first.

     

    Enter the shell as root:

    user@switch> start shell user root
    Password:
    root@switch% 

    Now unmount the USB drive and exit the shell again:

    root@% umount /var/tmp/usb root@% exit
    and try again to create the snapshot again. If this is not working I suggest reformatting the usb drive more information about mounting : http://kb.juniper.net/InfoCenter/index?page=content&id=KB12880&smlogin=true more information about formatting: http://kb.juniper.net/InfoCenter/index?page=content&id=KB10800