Deleting a CIFS share
To delete a CIFS share
- To delete a share, enter the following:
CIFS> share delete sharename [@virtual_ip]
sharename
Specifies the name of the share that you want to delete.
@virtual_ip
Specifies an optional full identifier allowing a virtual IP to access the specified CIFS share.
For example:
CIFS> share delete share1
- To confirm the share is no longer exported, enter the following:
CIFS> share show
In the case of any remanent sessions (sessions that are not closed while deleting a CIFS share), Access Appliance displays the following output:
CIFS> share delete share2
The following remanent sessions are present: pid nodename 19293 clust_01
Clients may still access share2 unless the relevant processes are killed.
This is a rare situation, and it occurs if the following conditions are met:
CIFS server is online
CIFS share that is being deleted is ONLINE
There are some existing client connections with that CIFS share
While deleting the share, some remanent sessions are left
If any of the conditions fail, then the CIFS> share delete command output displays as usual.