Disabling CIFS for the entire storage system
Effect of storage system reboot on CIFS
The disabling of CIFS service is not persistent across reboots. If you reboot the storage system after disabling CIFS service, Data ONTAP automatically restarts CIFS.
Effect of disabling CIFS on cifs commands
After you disable CIFS for the entire storage system, most cifs commands become unavailable. The cifs commands you can still use with CIFS disabled are:
- cifs prefdc
- cifs restart
- cifs setup
- cifs testdc
Disabling CIFS service for the entire storage system
To disable CIFS service, complete the following step.
Step
|
Action
|
|
1
|
Enter the following command to disable CIFS service:
cifs terminate [-t time]
time is the number of minutes before the storage system disconnects all clients and terminates CIFS service. Entering 0 makes the command take effect immediately.
Note If you enter the cifs terminate command without an argument and Data ONTAP detects an open file with any client, Data ONTAP prompts you for the number of minutes it should wait before it disconnects the client. Example
cifs terminate -t 5
Result
Data ONTAP sends a message to all connected clients, notifying the users of the impending disconnection. Five minutes after you enter the command, all clients are disconnected and the storage system stops providing CIFS service.
|
Canceling the cifs terminate command
To cancel a cifs terminate command before it is executed, complete the following step.
Step
|
Action
|
|
1
|
Press Ctrl-C.
|
Preventing CIFS from starting upon a reboot
To prevent CIFS from starting automatically after the storage system reboots, complete the following step.
Step
|
Action
|
|
1
|
Rename the /etc/cifsconfig.cfg file.
|
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01086_B0
File: 3cifs55.htm
Last updated: 08-Dec-2005 13:19:35