[j-nsp] snapshot problem with just hard drive config

Robert O'Hara rohara at juniper.net
Fri Mar 12 09:53:03 EST 2004


Hello - in response to your question:

On a Juniper Networks M Series Router the router usually boots from the
load image that is stored on the compact flash device, which is a
nonrotating disk drive. When a new router is shipped from the factory,
the JUNOS software is typically pre-installed on the flash drive. A copy
of it resides on the disk device as well.  These devices are named as
follows in Figure 1, below. The name of the device will vary, depending
on the model of your Routing-Engine (RE).  I looked at the output of
your 'show system storage' command in your post, and I can see that you
do *not* have a compact flash device on your M7i, and this is exactly
the reason why you cannot utilize the 'request system snapshot command.
Please read on:

Figure 1

Device 		Routing Engine 400 	Routing Engine 600  	Routing
Engine 1600  
Flash drive 	ad0 				ad0
ad0 
Hard disk 		ad1 				ad1
ad1 
Removable media 	ad4  				ad4
ad3 and ad4 

On the M7i, the Compact flash disk is optional.  If you request this
option on the M7i at the time you place the order for it, then this
flash device comes hard mounted on the Routing Engine board in the M7I.
If installed, it provides primary storage - this is where you would find
the '/' file system and the /config file system. It can accommodate two
software images, two configuration files, and microcode. But,
apparently, you do not have this option on your M7i.

The request system snapshot command looks for the compact flash disk,
and tries to back up these files to the hard drive - but since your M7i
is not equipped with the compact flash device, the operation is not
possible.

On an M7i that is equipped with a comact flash disk, when you back up
the currently running and active file system partitions onthe router to
standby partitions using the request system snapshot command, the root
file system (/) is backed up to /altroot and the /config directory is
backed up to /altconfig. 

I hope this helps to answer your question.  Good Luck!

Bob

------------------------------------
Juniper Networks
Robert O'Hara
Systems Engineer
rohara at juniper.net
10 Technology Park Drive
Westford, Massachusetts 
01886-3146
IM: bobojunos at aol.com
www.juniper.net
------------------------------------




-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of LOM
Sent: Thursday, March 11, 2004 8:31 PM
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] snapshot problem with just hard drive config


Hi folks,
 
I have a snapshot problem.
I have a M7i with an only disk drive , there is no flash card.
 
When I request a system snapshot it says : 
----
rasmus at edi> request system snapshot 
Snapshot requires two pieces of storage media.
error: This is a hard disk only configuration, snapshot not supported.
-----
 
I know that snapshot is just copying "/" to "altroot/ and also "/config"
"/altconfig" , am I wrong ?
 
Why it need 2 pieces of storage media? Is there a way that I can get
snapshot ?

 
Do you have an idea,
 
thanks for all,
 
PS : show system storage output : 
 
 
 
 
rasmus at edi> show system storage 
Filesystem        512-blocks       Used      Avail Capacity Mounted on
/dev/ad1s1a           437522      64274     338248     16%  /
devfs                     32         32          0    100%  /dev/
/dev/vn0               21900      21900          0    100%
/packages/mnt/jbase
/dev/vn1               68408      68408          0    100%
/packages/mnt/jkernel-6.2R1.5
/dev/vn2               17680      17680          0    100%
/packages/mnt/jpfe-M7i-6.2R1.5
/dev/vn3                4108       4108          0    100%
/packages/mnt/jdocs-6.2R1.5
/dev/vn4               26888      26888          0    100%
/packages/mnt/jroute-6.2R1.5
/dev/vn5                9432       9432          0    100%
/packages/mnt/jcrypto-6.2R1.5
mfs:153              1016286          6     934978      0%  /tmp
/dev/ad1s1e            48570         50      44636      0%  /config
procfs                     8          8          0    100%  /proc
/dev/ad1s1f         36364494     811950   32643386      2%  /var
 
rasmus at edi> 
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
http://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list