Junos OS

last person joined: 14 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  Partitions and the /var/sw/pkg

    Posted 10-11-2011 12:41

    It's my understanding that using the request system rollback command just boots up off the bootable image on the backup partition. But what I'm confused about is this: When are the packages in /var/sw/pkg used? Is there a manual command to install them? And if there is, why would I consider it over the ready-made image on the backup partition.



  • 2.  RE: Partitions and the /var/sw/pkg

    Posted 10-12-2011 12:05

    Hello,

    /var/sw/pkg contains jinstall and jbundle images previously installed with "tequest system software add ..." command _without_ "no-copy" knob.

    You cannot boot from these images, they need to be installed first.

    HTH

    Rgds

    Alex



  • 3.  RE: Partitions and the /var/sw/pkg

    Posted 10-12-2011 16:56

    Thanks Alex,

     

    So are you telling me the only reason it's there is to save a copy of the last successfully installed package? Does that mean I can install directly from this directory, like: request system software add /var/sw/pkg/junos-...?

     

     

    Phillip



  • 4.  RE: Partitions and the /var/sw/pkg
    Best Answer

    Posted 10-13-2011 02:38

    Yes you can install directly from /var/sw/pkg - provided you have enough space on HDD or flash (if J-series/SRX/EX).

    Make sure you use "no-copy" knob to avoid copying same image back into /var/sw/pkg

    HTH

    Rgds
    Alex