the cifs config is stored in \filer\c$\etc\cifs_config.txt (or something similar).
I use it as a template when doing a lot of manipulating of cifs files. I wonder if you made it read-only if it would stop the auto rename process?
Stephen C. Losen wrote:
I've actually used the vol and aggr rename commands frequently, not in the process of migration. My current environment was\has been in disarray before my arrival and I'm trying to go back and standardize and clean up some things.
That said, in the pretext of migration, perhaps it should be an optional thing to rename the exports/shares?
Glenn
You can stop ONTAP from automatically editing /etc/exports with
options nfs.export.auto-update off
Then whenever you create, delete, or rename a volume you get a warning that /etc/exports needs to be edited, but ONTAP leaves it alone.
I would "exportfs -u" the old stuff before renaming anything. Then after renaming the volumes so that the new volume has the old name, I would "exportfs -a" to export the new stuff.
As for CIFS, I am pretty sure that you need to delete your old shares before renaming the volumes, rename, and then create the shares again.
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support