Disabling CIFS for the entire filer
Effect of filer reboot on CIFS
The disabling of CIFS service is not persistent across reboots. If you reboot the filer after disabling CIFS service, Data ONTAP automatically restarts CIFS.
Effect of disabling CIFS on cifs commands
After you disable CIFS for the entire filer, most cifs commands become unavailable. The cifs commands you can enter are
- cifs prefdc
- cifs restart
- cifs setup
- cifs testdc
Disabling CIFS service for the entire filer
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 filer 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 filer 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 filer reboots, complete the following step.
Step
|
Action
|
|
1 |
Rename the /etc/cifsconfig.cfg file.
|
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00323
File: cifs55.htm
Last updated: 01/15/03 15:45:23