Skip to main content

NetApp_Insight_2020.png 

NetApp Knowledgebase

Is it possible to change a configured CIFS server's NetBIOS name in clustered Data ONTAP?

Views:
193
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
core
Last Updated:

Applies to

  • Data ONTAP 8.x
  • CIFS / SMB

Answer

User intends to change a previously configured CIFS server's NetBIOS name.

Changing the CIFS server's NetBIOS name is not possible through the Command Line Interface (CLI) or ONTAP System Manager on clustered Data ONTAP 8.2. Run the CLI command filer::> vserver cifs modify to modify the domain, default site, and administrative status of the server. However, this command cannot change the actual name of the server that was created. The CIFS server is to be deleted and recreated (this will result in deletion of all shares and home directories), in order to change the NetBIOS name on clustered Data ONTAP 8.2

NetBIOS aliases have been introduced with clustered Data ONTAP 8.3. This can be useful while consolidating data from other file servers to the CIFS server and when the CIFS server has to respond to the original file servers' names. Specify NetBIOS aliases when a CIFS server is created, or add and remove NetBIOS aliases on existing CIFS servers.

To create a CIFS server with a NetBIOS alias, run the following command:

filer::> vserver cifs create -vserver <vserver name> -cifs-server <CIFS server name> -domain <domain> -netbios-aliases <NetBIOS alias>

To add a NetBIOS alias to an existing CIFS server and then confirm that it was added, run the following commands:

  • filer::> vserver cifs add-netbios-aliases -vserver <vserver name> -netbios-aliases <alias>
  • filer::> vserver cifs show -display-netbios-aliases -vserver <vserver name

Additional Information

N/A