Installation manual
Configuring Front-End Services
Removing All of a Volume’s Front-End Exports
CLI Storage-Management Guide 11-41
Removing All of a Volume’s Front-End Exports
You can use a single command to remove all of the front-end exports, NFS and/or
CIFS, for a given volume. This is convenient for a volume that has been exported
through multiple global servers and front-end services. The
remove namespace
command has been described in previous chapters for removing a volume (see
“Removing a Direct Volume” on page 8-37 or “Removing a Managed Volume” on
page 9-71) or an entire namespace (“Removing a Namespace” on page 7-27); add the
optional
exports-only keyword to remove only the front-end exports:
remove namespace name volume volume exports-only [timeout
seconds] [sync]
where:
name (1-30 characters) is the name of the namespace,
volume (optional, 1-1024 characters) is the path name of the volume,
exports-only is the option to remove only the front-end exports for the
volume,
seconds (optional, 300-10,000) sets a time limit on each of the removal’s
component operations, and
sync (optional) waits for the removal to finish before returning. With this
option, the CLI lists the configuration objects as it removes them.
The CLI prompts for confirmation before removing the exports. Enter yes to continue.
This operation generates a report named “removeNs_namespace_date.rpt” if you
omit the
sync option.
For example, this command sequence exits to priv-exec mode and then synchronously
removes all front-end exports from the “insur_bkup~/insurShdw” volume:
prtlndA1k(gbl)# end
prtlndA1k# remove namespace insur_bkup volume /insurShdw exports-only sync
Remove exports for namespace 'insur_bkup', volume '/insurShdw'? [yes/no] yes
% INFO: Removing service configuration for namespace insur_bkup
% INFO: Removing NFS services for namespace insur_bkup
% INFO: Removing CIFS services for namespace insur_bkup










