28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

If the router boots from the hard disk or if you manually reboot from the hard disk<br />

(take a fresh snapshot first, though), you’ll notice that ad0 is still the flash disk and<br />

ad1 is still the hard disk, but the root filesystem is now on the hard disk because<br />

you’re running on alternate media:<br />

aviva@router1> request system reboot media disk<br />

aviva@router1> show system storage<br />

Filesystem Size Used Avail Capacity Mounted on<br />

/dev/ad1s1a 107M 37M 61M 38% /<br />

.<br />

.<br />

.<br />

mfs:172 1.9G 4.0K 1.8G 0% /tmp<br />

/dev/ad1s1e 12M 21K 11M 0% /config<br />

procfs 4.0K 4.0K 0B 100% /proc<br />

/dev/ad1s1f 25G 3.5G 19G 15% /var<br />

The request system reboot media disk command takes a fairly long time to complete,<br />

and you need to log back in to the router when it completes.<br />

See Also<br />

Recipe 1.20<br />

1.20 Backing Up Filesystems on J-Series Routers<br />

Problem<br />

You are preparing to load a different release of the JUNOS software or reload the<br />

current release on a J-series router and you want to save the files that are already on<br />

the router.<br />

Solution<br />

On any J-series router, back up the filesystem to a device that is connected to the<br />

router’s USB port:<br />

aviva@RouterA> request system snapshot media usb<br />

On J4300 and J6300 routers, you can also back up the files in the router’s filesystem<br />

to a removable compact flash disk:<br />

aviva@RouterA> request system snapshot media removable-compact-flash<br />

Before installing the software upgrade, delete old log- and crashfiles:<br />

aviva@RouterA> request system storage cleanup<br />

<strong>Discussion</strong><br />

The snapshot process on J-series routers differs from the process for M-series and<br />

T-series routers because of hardware differences. You can place a snapshot of the<br />

46 | Chapter 1: Router Configuration and File Management<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!