Zsync - HP bh5700 User Manual

Ethernet switch blade atca 14-slot blade server
Table of Contents

Advertisement

zsync

NAME
zsync − Saves changes to the flash.
SYNOPSIS
zsync [-c][-f][<dir_or_file>]
zsync [-c][-f][-t <file>]
zsync [-c][-f][-z]
zsync [-c][-l]
DESCRIPTION
zsync is used to save a snapshot of the current file system to flash ROM. By default, zsync
creates a compressed tar image of the files that have changed and saves the image in the flash
ROM. The saved image is expanded on reboot. The saved compressed tar image is called an
"overlay".
If a directory parameter is given to zsync, the contents of the directory are saved instead of
searching for updated files. The specific purpose of the <directory> parameter is for saving
files that have been mounted with zmnt. Using the -t option allows a tar image created by
zmnt -t to be saved.
To correct a corrupted file that is saved to flash ROM with zsync, first reboot with the -i
option (see Switch Maintenance). Use zmnt to put the corrupted file in the /mnt directory,
open and correct the file, then zsync to the /mnt directory to save your changes and reboot.
There are two overlay areas: dynamic and custom. The dynamic overlay is where the switch's
current configuration is stored. It will boot with a simple reboot command. The custom
overlay is where the customization to the standard software is stored. It is used to create new,
customer-specific default configurations that differ from the generic configuration. The intent of
the custom overlay is to make it possible for customers to customize the switch for their end
users. To return to the custom overlay, (that is, default configuration) use the reboot -i
option. The custom overlay is written by using the -c option.
The -z option zeros the overlay area, returning the switch to the factory configuration.
Specific files or directories can be excluded from saving to flash by zsync by including an entry
in /etc/exclude. Likewise, existing entries in /etc/exclude such as /tmp can be removed
in order to save those files to flash with zsync.
OPTIONS
-c
Ethernet Switch Blade User's Guide
Downloaded from
www.Manualslib.com
Save files to the custom overlay
manuals search engine
release 3.2.2j
page 259

Advertisement

Table of Contents
loading

Table of Contents