Junos OS

last person joined: 7 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  Request system snapshot not working

    Posted 12-02-2018 08:27

    Hi everyone,

     

    I am trying to back up file systems using snapshot but It is not working:

     

    junos@Juniper1> show version
    Hostname: Juniper1
    Model: olive
    JUNOS Base OS boot [10.4R1.9]
    JUNOS Base OS Software Suite [10.4R1.9]
    JUNOS Kernel Software Suite [10.4R1.9]
    JUNOS Packet Forwarding Engine Support (M/T Common) [10.4R1.9]
    JUNOS Packet Forwarding Engine Support (M20/M40) [10.4R1.9]
    JUNOS Online Documentation [10.4R1.9]
    JUNOS Voice Services Container package [10.4R1.9]
    JUNOS Border Gateway Function package [10.4R1.9]
    JUNOS Services AACL Container package [10.4R1.9]
    JUNOS Services LL-PDF Container package [10.4R1.9]
    JUNOS Services PTSP Container package [10.4R1.9]
    JUNOS Services Stateful Firewall [10.4R1.9]
    JUNOS Services NAT [10.4R1.9]
    JUNOS Services Application Level Gateways [10.4R1.9]
    JUNOS Services Captive Portal and Content Delivery Container package [10.4R1.9]
    JUNOS Services RPM [10.4R1.9]
    JUNOS AppId Services [10.4R1.9]
    JUNOS IDP Services [10.4R1.9]
    JUNOS Runtime Software Suite [10.4R1.9]
    JUNOS Routing Software Suite [10.4R1.9]

     

     

    junos@Juniper1> show system storage detail
    Filesystem 1024-blocks Used Avail Capacity Mounted on
    /dev/ad0s1a 925228 200916 650294 24% /
    devfs 1 1 0 100% /dev
    /dev/md0 38444 38444 0 100% /packages/mnt/jbase
    /dev/md1 9932 9932 0 100% /packages/mnt/jkernel-10.4R1.9
    /dev/md2 15630 15630 0 100% /packages/mnt/jpfe-M40-10.4R1.9
    /dev/md3 5970 5970 0 100% /packages/mnt/jdocs-10.4R1.9
    /dev/md4 69778 69778 0 100% /packages/mnt/jroute-10.4R1.9
    /dev/md5 38824 38824 0 100% /packages/mnt/jpfe-common-10.4R1.9
    /dev/md6 297766 297766 0 100% /packages/mnt/jruntime-10.4R1.9
    /dev/md7 2061284 12 1896370 0% /tmp
    /dev/md8 2061284 1048 1895334 0% /mfs
    /dev/ad0s1e 102636 12 94414 0% /config
    procfs 4 4 0 100% /proc
    /dev/ad0s1f 7221934 676270 5967910 10% /var

     

     

    Below I tried all the available options :

     

    junos@Juniper1> request system snapshot ?
    Possible completions:
    <[Enter]> Execute this command
    media Media to snapshot to
    partition Partition the media
    | Pipe through a command
    junos@Juniper1> request system snapshot
    error: s1a media missing or invalid


    junos@Juniper1> request system snapshot partition ?
    Possible completions:
    <[Enter]> Execute this command
    media Media to snapshot to
    | Pipe through a command
    junos@Juniper1> request system snapshot partition
    error: s1a media missing or invalid

    junos@Juniper1> request system snapshot media ?
    No valid completions

    What am i missing?

     

     

    Have a nice SUN!!

     



  • 2.  RE: Request system snapshot not working
    Best Answer

     
    Posted 12-02-2018 09:05

    I don't know how Olive handles external storage but on physical equipment it's simply:

     

    test@test> request system snapshot partition media usb 
    fpc0:
    --------------------------------------------------------------------------
    Partitioning and file system creation done
    Creating image ...
    Compressing image ...
    Image size is 331MB
    NOTICE: Recovery snapshot created successfully on the USB device
    
    {master:0}
    test@test>