RE: Problems copying re0 to re1

From: MPuras@solunet.com
Date: Fri Dec 07 2001 - 09:52:04 EST


Hi Edson,

  The command is good. Can you copy a file from RE1 to RE0? Try that.
Make sure that you have an IP address specified for RE1. If you are not
sure how to go about doing this, see:
http://www.juniper.net/techpubs/software/junos51/swconfig51-getting-started/
html/chassis-config12.html. Also, issue the command "show system storage"
and make sure that you see a /tmp, /var and /config directories. It should
look like this:

Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 65687 26563 33870 44% /
devfs 16 16 0 100% /dev/
/dev/vn1 9304 9304 0 100% /packages/mnt/jbase
/dev/vn2 1458 1458 0 100%
/packages/mnt/jcrypto-5.0R2.4
/dev/vn3 792 792 0 100%
/packages/mnt/jdocs-5.0R2.4
/dev/vn4 8406 8406 0 100%
/packages/mnt/jkernel-5.0R2.4
/dev/vn5 11404 11404 0 100% /packages/mnt/jpfe-5.0R2.4
/dev/vn6 5724 5724 0 100%
/packages/mnt/jroute-5.0R2.4
mfs:181 1015815 3 934547 0% /tmp
/dev/ad0s1e 25263 2 23240 0% /config
procfs 4 4 0 100% /proc
/dev/ad1s1f 9811371 40034 8986428 0% /var

If you don't have a /tmp file mounted chances are that the hard-drive was
not found on the boot-list during boot up. You will be able to see this in
your "show system boot-messages". It will look like this:

ad1: not attached, missing in Boot List --------------------------->here it
is
Mounting root from ufs:/dev/ad0s1a
Mounted jbase package on /dev/vn1...
Mounted jcrypto package on /dev/vn2...
Mounted jdocs package on /dev/vn3...
Mounted jkernel package on /dev/vn4...
Mounted jpfe package on /dev/vn5...
Mounted jroute package on /dev/vn6...
swapon: /dev/ad1s1b: Device not configured
WARNING:
WARNING: no swap space available, running entirely out of RAM
WARNING:
Automatic reboot in progress...
/dev/ad0s1a: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1a: clean, 39125 free /dev/ad0s1e: FILESYSTEM CLEAN; SKIPPING
CHECKS
/dev/ad0s1e: clean, 25261 free (5 frags, 4890 blocks, 0.0% fragmentation)
(13 frags, 3156 blocks, 0.1% fragmentation)
(5 frags, 4890 blocks, 0.0% fragmentation)
mfs: /dev/ad1s1b: Device not configured
WARNING:
WARNING: /tmp filesystem mount failed, continuing startup ----->here is the
other thing to look for
WARNING: swap area may not be online
WARNING:
/dev/ad1s1f: CAN'T CHECK FILE SYSTEM.
/dev/ad1s1f: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
Can't open /dev/ad1s1f: Device not configured
mount: /dev/ad1s1f: Device not configured
WARNING:
WARNING: /var mount failed, building emergency /var
WARNING:

If in fact this is the problem, you will need to issue the following command
to get it back on the boot list and then reboot the router:

sysctl -w machdep.bootdevs=pcmcia-flash,compact-flash,disk,lan

Thanks,

Mario Puras
JNCIS, CCNA, LSCP, MCP
SoluNet Technical Support
Customer Support Engineer

-----Original Message-----
From: Edson Rogerio Cardoso [mailto:edson.cardoso@gvt.net.br]
Sent: Friday, December 07, 2001 9:48 AM
To: 'juniper-nsp@puck.nether.net'
Subject: Problems copying re0 to re1

All,
I'm having problems trying to copy the config files from re0 to re1
according the orientations below:
 
user@host> file copy /config/juniper.conf re1:/var/tmp/copied-juniper.conf
 
I always receive these errors:
error: put-file failed
error: could not send local copy of file.
 
BTW, the file copy to a FTP is working very well.
Any ideas ???
 
Edson R. Cardoso
ecardoso@qos.com.br
QoS - Quality of Service
Juniper Authorized Trainning Center
www.qos.com.br
 



This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:38 EDT