Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Disabling CIFS for the entire filer

Effect of filer reboot on CIFS  Top

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  Top

After you disable CIFS for the entire filer, most cifs commands become unavailable. The cifs commands you can still use with CIFS disabled are:

Disabling CIFS service for the entire filer  Top

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  Top

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  Top

To prevent CIFS from starting automatically after the filer reboots, complete the following step.

Step

Action

1

Rename the /etc/cifsconfig.cfg file.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments