Configuring Front-End Services
Configuring CIFS
11-18 CLI Storage-Management Guide
Exporting all Filer Subshares at Once
This section only applies to managed volumes. Skip all of the “subshare” sections if
you are sharing a direct volume.
You can use a single command to export multiple filer subshares. This presumes that
the volume is prepared with multiple subshares, perhaps through subshare replication
(recall “Replicating Subshares at all of the Volume’s Filers” on page 9-23). Exit to
priv-exec mode and use the
cifs export-subshares command:
cifs export-subshares namespace volume fqdn [tentative]
where
namespace (1-30 characters) can be any namespace that supports CIFS.
volume (1-1024 characters) identifies the root of one volume (for example,
“/oneVol”) with CIFS subshares.
fqdn (1-255 characters) is an existing CIFS service. The subshares will be
available to clients through this service.
tentative (optional) changes the operation to find all subshares without
exporting them. The found subshares appear in an output report.
This command creates a report to show the progress of the operation. The CLI shows
the name of the report after you issue the command. Use
show reports report-name to
view the report.
For example, the following command sequence shares all filer subshares behind the
“medarcv~/rcrds” volume through the “ac1.medarch.org” service:
bstnA6k(gbl)# end
bstnA6k# cifs export-subshares medarcv /rcrds ac1.medarch.org
% WARNING: Not all nested back-end shares were successfully
exported due to collisions with existing exports. See report
'cifsExportSubshares_20061221140808.rpt' for details.
bstnA6k# ...
Comentarios a estos manuales