2012-08-23 12:22 PM
cifs setup was run on a filer that is not going to be used to serve cifs data. I would like to remove cifs from the filer. How do I go about removing cifs from a filer?
Solved! SEE THE SOLUTION
2012-08-24 07:33 AM
I think both of you are correct. Thanks for your responses. I had the opportunity to bounce this off of a NetApp Professional Services Consultant and he said the same thing. The catch is that we want to remove CIFS from the phyiscal filer (vfiler0) but allow CIFS to continue running on a (non-vfiler0) virtual filer. I am assuming removing the CIFS license would kill CIFS on the non-vfiler0 vfilers. Any thoughts you have on that would be appreciated.
2012-08-24 08:03 AM
In that case, stop CIFS on the physical filer but keep it licensed.
To allow CIFS, NFS, FTP, or HTTP on a vFiler unit, each of the protocols must have an active
license on the hosting storage system.
2012-08-24 09:27 AM
But it will be started again after reboot. I wish there was “cifs unsetup” or similar. I am too interested in how to return filer to “CIFS uninitialized” state.
I guess removing all files /etc/cifs* should do the trick, but there may be some registry entries left over.
OK, I had chance to capture config before and after CIFS setup. In case someone is interested, here is the list (from "config diff"):
Removing /etc/cifsconfig_setup.cfg effectively returned CIFS to unconfigured state.
simsim> priv set advanced
Warning: These advanced commands are potentially dangerous; use
them only when directed to do so by NetApp
simsim*> mv /etc/cifsconfig_setup.cfg /etc/cifsconfig_setup.cfg_
simsim*> priv set
simsim> cifs restart
CIFS not configured. Use "cifs setup" to configure