Metadata Utilities: nsck and sync
Synchronizing Metadata with Actual Files
CLI Maintenance Guide
5-19
Synchronizing Metadata with Actual Files
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
of the
CLI
Storage-Management Guide
), or you can run the sync operation manually as
described here. From priv-exec mode, use the
sync files
command to synchronize
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
show
namespace
command for a list of configured namespaces (see
“Listing All
Namespaces” on page 7-3
of the
CLI Storage-Management Guide
).
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.
Содержание Adaptive Resource Switch
Страница 12: ...2 xii CLI Maintenance Guide...
Страница 62: ...Backing Up the Running Configuration Restoring the Configuration 3 24 CLI Maintenance Guide...
Страница 128: ...Metadata Utilities nsck and sync Clearing All nsck Jobs 5 48 CLI Maintenance Guide...
Страница 206: ...Troubleshooting Network Connections Configuring Port Mirroring 7 32 CLI Maintenance Guide...
Страница 306: ...GUI Maintenance Restarting the GUI 10 4 CLI Maintenance Guide...
Страница 316: ...Powering Down the ARX Restoring Power 11 10 CLI Maintenance Guide...
Страница 318: ...Copyright 2 CLI Maintenance Guide...
Страница 324: ...Index 6 CLI Maintenance Guide...