Synchronizing Metadata With Actual Files - Acopia Adaptive Resource Switch Cli Maintenance Manual

Table of Contents

Advertisement

Synchronizing Metadata with Actual Files

CLI Maintenance Guide
The above example shows a file that was recorded in volume metadata but is missing
from its back-end filer. You can use the sync utility to re-synchronize the metadata
with the actual contents of the filers. You can configure a CIFS volume to
automatically sync itself whenever a client encounters a metadata error (see
"Automatically Synchronizing Metadata (CIFS)" on page 9-13
Storage-Management
described here. From priv-exec mode, use the
metadata for files:
sync files namespace volume vol-path path path [recurse]
[rename-files]
where:
namespace (1-30 characters) is the namespace to sync. Use the
command for a list of configured namespaces (see
namespace
Namespaces" on page 7-3
vol-path (1-1024 characters) chooses a specific managed volume in the
namespace. Use forward slashes (/) in the path, even for CIFS volumes.
path (1-1024 characters) selects a virtual path in the volume (for example, '/'
or '/home/jrandom'). You can shorten the time required for the sync with this
option; use the metadata-inconsistencies report to find the best path.
You can enter the optional recurse and rename-files flags in any order:
recurse (optional) causes the sync operation to descend into
subdirectories.
rename-files (optional) allows the sync process to rename any
newly-discovered file that has the same name as a previously-imported
file. (This command generates a report, described below, that identifies
renamed files.)
In multi-protocol (NFS and CIFS) volumes, this also synchronizes the metadata with
the current state of filer-generated names (FGNs, such as "FILE~2.DOC") on its
back-end filers. This is discussed in detail in a later chapter about troubleshooting
managed volumes.
Synchronizing Metadata with Actual Files
Guide), or you can run the sync operation manually as
of the
CLI Storage-Management
Metadata Utilities: nsck and sync
of the
command to synchronize
sync files
CLI
show
"Listing All
Guide).
5-19

Advertisement

Table of Contents
loading

Related Products for Acopia Adaptive Resource Switch

Table of Contents