
Saving Changes
Any modifications made to the scripts for your particular configuration must be properly saved or
your changes are lost when you reboot. The file system for the switch only exists in memory. A
rewritable overlay is contained within the upper four megabytes of the first application flash.
Modifying Files and Updating the Switch
Any file in OpenArchitect can be added, deleted or modified, with the exception of
/sbin/init
,
/usr/sbin/zmnt
,
/lib/modules/zfm_c.o
, and the
/tmp directory
. Files are saved across a
system reboot by running the script
zsync
.
A directory
/.zsync
contains database files used by
zsync
for managing the file system
overlaying process. The user should not modify the files in this directory or unpredictable results
may occur.
Recovering from a System Failure
If the switch does not function after you initially change or reconfigure the image, you have
several options for recovering from an error. First, try to
telnet
into the switch. If you are
successful, remember to run
zsync
after fixing your problem.
If you cannot
telnet
, attach a console cable to the switch. Bring down the system and properly
attach the console cable, see
Chapter 2, Connecting to the Console Port .
System Boots with a Console Cable
After attaching the system console cable, if the system boots, fix the problem that does not allow
you to telnet to the box, run
zsync
, and reboot. The problem is likely to be in the configuration
files contained in
/etc/rcZ.d
In order to telnet into the box, there must be a configured interface
with a proper IP address. For example,
zhp0
is configured with the IP address 10.0.0.42 in the
factory default configuration.
Ethernet Switch Blade User's Guide
release 3.2.2j
page 140
Figure 9.3: Init Script
Flow
/etc/init.d/rcS
/etc/rcZ.d/rc
S* S* S*
Содержание bh5700
Страница 2: ...Ethernet Switch Blade User s Guide release 3 2 2j page ii...
Страница 15: ...Ethernet Switch Blade User s Guide release 3 2 2j page 15...
Страница 16: ...Ethernet Switch Blade User s Guide release 3 2 2j page 16...
Страница 25: ...Ethernet Switch Blade User s Guide release 3 2 2j page 25 Figure 2 1 LED Reference...
Страница 26: ...Ethernet Switch Blade User s Guide release 3 2 2j page 26...
Страница 227: ...SEE ALSO ifconfig 8 Ethernet Switch Blade User s Guide release 3 2 2j page 227...
Страница 237: ...be also reset SEE ALSO zspconfig Ethernet Switch Blade User s Guide release 3 2 2j page 237...
Страница 239: ...SEE ALSO ztmd tc 8 zfilterd Ethernet Switch Blade User s Guide release 3 2 2j page 239...
Страница 262: ...SEE ALSO zqosd iptables 8 tc 8 zfilterd Ethernet Switch Blade User s Guide release 3 2 2j page 262...
Страница 265: ...SEE ALSO zconfig zl2d Ethernet Switch Blade User s Guide release 3 2 2j page 265...
Страница 318: ...be also reset SEE ALSO zspconfig Ethernet Switch Blade User s Guide release 3 2 2j page 318...
Страница 320: ...SEE ALSO ztmd tc 8 zfilterd Ethernet Switch Blade User s Guide release 3 2 2j page 320...
Страница 335: ...Ethernet Switch Blade User s Guide release 3 2 2j page 335...
Страница 344: ...SEE ALSO zqosd iptables 8 tc 8 zfilterd Ethernet Switch Blade User s Guide release 3 2 2j page 344...
Страница 359: ...Index ztmd 301 zvlan 179 258 ZX4920 MIB 333 7100 User s Guide release 3 2 2j page 359...