Stop or start the CIFS server
You can stop the CIFS server on a SVM, which can be useful when performing tasks while users are not accessing data over SMB shares. You can restart SMB access by starting the CIFS server. By stopping the CIFS server, you can also modify the protocols allowed on the storage virtual machine (SVM).
-
Perform one of the following actions:
If you want to… Enter the command… Stop the CIFS server
vserver cifs stop -vserver vserver_name [-foreground {true|false}]
Start the CIFS server
vserver cifs start -vserver vserver_name [-foreground {true|false}]
-foreground
specifies whether the command should execute in the foreground or background. If you do not enter this parameter, it is set totrue
, and the command is executed in the foreground. -
Verify that the CIFS server administrative status is correct by using the
vserver cifs show
command.
The following commands start the CIFS server on SVM vs1:
cluster1::> vserver cifs start -vserver vs1 cluster1::> vserver cifs show -vserver vs1 Vserver: vs1 CIFS Server NetBIOS Name: VS1 NetBIOS Domain/Workgroup Name: DOMAIN Fully Qualified Domain Name: DOMAIN.LOCAL Default Site Used by LIFs Without Site Membership: Authentication Style: domain CIFS Server Administrative Status: up