Metadata Utilities: nsck and sync
Adding and Synchronizing Filer Subshares (CIFS)
CLI Maintenance Guide
5-31
After you add new subshare (and ACL) at a filer, use the
sync shares
command to
find them and copy them to all other filers behind the volume. This copies the share
definition, ACL, and any underlying subdirectories:
sync shares
namespace
volume
vol-path
share
share-name
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.
share-name
(1-64 characters) selects a share in the managed volume (for
example, ‘rx’). This is the namespace-share name, not the name of the share
at the filer. The sync utility searches for new subshares at the filer.
Like the sync operations described earlier, this generates a report as it runs. The report
name appears after you issue the command. After a successful sync operation, you
can use
cifs export-subshares
to export all of the new subshares from a CIFS service
(see
“Exporting all Filer Subshares at Once” on page 11-18
of the
CLI
Storage-Management Guide
).
For example, this command sequence adds a new subshare and ACL to a CIFS filer
named fs4, and then passes it through the CIFS service at “ac1.medarch.org:”
From the CIFS Filer:
These commands access a DOS prompt to add a directory and share it as “Y2006:”
D:\exports\prescriptions>
mkdir 2006
D:\exports\prescriptions>
net share Y2006=d:\exports\prescriptions\2006
Y2006 was shared successfully.
D:\exports\prescriptions>
...
From the ARX CLI:
The
sync shares
command finds the new subshare and duplicates it on all other shares
behind the “medarcv~/rcrds” volume. It also duplicates the underlying directory,
“\2006.” The sync report indicates success. Then the
cifs export-subshares
command
shares the “Y2006” share out of the “ac1.medarch.org” service:
Summary of Contents for Adaptive Resource Switch
Page 12: ...2 xii CLI Maintenance Guide...
Page 62: ...Backing Up the Running Configuration Restoring the Configuration 3 24 CLI Maintenance Guide...
Page 128: ...Metadata Utilities nsck and sync Clearing All nsck Jobs 5 48 CLI Maintenance Guide...
Page 206: ...Troubleshooting Network Connections Configuring Port Mirroring 7 32 CLI Maintenance Guide...
Page 306: ...GUI Maintenance Restarting the GUI 10 4 CLI Maintenance Guide...
Page 316: ...Powering Down the ARX Restoring Power 11 10 CLI Maintenance Guide...
Page 318: ...Copyright 2 CLI Maintenance Guide...
Page 324: ...Index 6 CLI Maintenance Guide...