/etc/init.d/rcS

/etc/rcZ.d/rc

S* S* S*

Figure 6.3: Init Script

Flow

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 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

Ethernet Switch Blade User's Guide

release 3.2.2j

page 86

Page 86
Image 86
Znyx Networks bh5700 manual Saving Changes, Modifying Files and Updating the Switch, Recovering from a System Failure