Hello @MN90
Renaming the data vserver is different then the cifs vserver. The cifs vserver is more like a service for CIFS to enable it within the data vserver.
If you trying to rename the cifs vserver. You will need to bring the cifs vserver status-admin down first, then you will be able to modify its name if needed. Keep in mind that renaming the data vserver using the command mentioned above (vserver rename) does not affect the cifs vserver.
So to rename the CIFS vserver:
1. Change the status to down:
cluster::> vserver cifs modify -vserver <vserver name> -cifs-vserver <cifs vserver name> -status-admin down
2. Change the name of the CIFS vserver:
cluster::>vserver cifs modify -vserver <vserver name> -cifs-vserver <New name for cifs vserver name>
It should prompt you asking for the admin credentials of the domain controller.
3.Bring the CIFS vserver back up:
cluster::> vserver cifs modify -vserver <vserver name> -cifs-vserver <New name cifs vserver name> -status-admin up
Let me know if this answer your concern.
Thanks