How to Disable the CIFS shares temporarily
Applies to
- ONTAP 9
- CIFS
Answer
- ONTAP does not have a feature to disable CIFS Shares
- Temporarily hide CIFS Shares:
- The property "browsable" can be removed from share properties.
Note: This will only make sure that the share is not visible unless it is being accessed by its own path. - The Volume to which the share is created can be made offline and then online again.
Note: Making volume offline and online is disruptive. Once the volume is online again, clients should be able to recover.
- Delete Share pointer:
- shares can be deleted
- Shares can be recreated using the same path and this would have the data within the volume/path intact
Note: Take note of Share ACLs for recreation. Data inside the volume is not affected when the share pointer is deleted/recreated.