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

Executing commands and setting options for a vFiler unit

Methods for executing commands for a vFiler unit  Top

You can enter commands for a vFiler unit in the following ways:

Entering commands from the vFiler unit  Top

To enter commands for a vFiler unit from the vFiler unit, complete the following steps:

Step

Action

1

To run in the context of the vFiler (as if the command is run on the vFiler unit's console), enter the following command:

vfiler context vfiler_name

Example

vfiler context vfiler1 
2

Enter the command you want to run:

Example

?

This shows all the commands available to you from the context of the vFiler unit.

3

To return to the context of the hosting storage system, enter the following command:

vfiler context vfiler0

Entering commands for a vFiler unit from the hosting storage system  Top

To enter commands for a vFiler unit from the hosting storage system, complete the following step.

Step

Action

1

Enter the following command:

vfiler run vfilertemplate command

Example

vfiler run vfiler1 useradmin

Note
Not all Data ONTAP commands can be executed for a vFiler unit. To see what commands are supported, enter ? from the context of a vFiler unit (see Entering commands from the vFiler unit) or enter the following command:

vfiler run vfilertemplate ?

Prerequisites for entering commands through rsh from a vFiler unit client  Top

You must meet the following prerequisites if you want to enter commands for a vFiler unit through rsh:

Commands that you can enter through rsh  Top

You can enter the commands listed in the following table through an rsh connection to a vFiler unit.

?
help
qtree
passwd
exportfs
quota
options
hostname
lun
igroup
iscsi
       

Note
The hostname command is only for displaying, not changing, the name of the vFiler unit.

Entering a command for a vFiler unit through rsh  Top

To enter a command for a vFiler unit through an rsh connection, complete the following step.

Step

Action

1

Enter the following command:

rsh vfiler_IP_address command

Example

The following command displays all options on the vFiler unit whose IP address is 123.123.123.1:

rsh 123.123.123.1 options

Options that can be set for a vFiler unit  Top

Not all Data ONTAP options are supported on a vFiler unit. You can use the options command for the following options:

Exception

You can display the cifs.wins_servers option only from the hosting storage system.

Path names specified by options  Top

Path names specified by options are complete path names. For example, the path name specified by the cifs.home_dir option should begin with the /vol/vol_name prefix.

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