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

Editing configuration files

Configuration files must be edited from clients  Top

Data ONTAP does not include an editor. You cannot edit files by using the system console or by establishing a Telnet session to the storage system. You must use an editor from an NFS client or a CIFS client to edit storage system configuration files.

Enabling an NFS client to edit configuration files  Top

For an NFS client to edit configuration files, the client must be authorized to access the root file system.

If the NFS client was specified as the administration host during setup or added as an administration host after setup was completed, it is already authorized to access the root file system.

If the NFS client is not specified as an administration host, complete the following steps to authorize access to the root file system.

Step

Action

1

Mount the storage system root volume on the administration host.

2

From the administration host, edit the /etc/exports file on the root volume to grant root permission to the client.

3

Use the storage system console, a Telnet client, or the rsh command to issue the following command to the storage system:

exportfs
4

Mount the storage system root volume on the client.

5

From the client, use a text editor to edit the files in the /etc directory.

Editing configuration files from a CIFS client  Top

After setup finishes, the default /etc/passwd and /etc/group files on the root volume are set up to enable you to share files on the storage system as Administrator. The storage system root directory is shared automatically as C$. The Administrator account has read, write, and execute rights to the share.

Note
The C$ share is a "hidden" share; you can get to it only by specifying the path manually (for example, as \\filer\C$), rather than accessing it through the Network Neighborhood icon.

To edit configuration files from a CIFS client, complete the following steps.

Step

Action

1

Connect from a CIFS client to the storage system as Administrator.

2

Display the contents of the storage system's C$ share, and select a file to edit.

Configuration files that require a carriage return after the last entry  Top

Data ONTAP requires that the following configuration files be terminated with a carriage return:

When you edit these files, be sure to insert a carriage return after the last entry.

Configuration files that should not be edited  Top

When you configure Data ONTAP, it creates some files that you should not edit. The following configuration files should not be edited.

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