Library Table of Contents Index Previous Next Comments

Renaming volumes

Reasons for renaming volumes  Top

You usually rename volumes to give them descriptive names. In particular, you might want to change the root volume which has the undescriptive default name of /vol0.

Renaming a volume  Top

To rename a volume, complete the following steps.

Step

Action

1

Enter the following command:

vol rename vol-name new-name

vol-name is the name of the volume you want to rename.

new-name is the new name of the volume.

Result:

The following events occur:

  • The volume is renamed.
  • Entries in the /etc/exports file and shares that refer to the volume become incorrect and must be updated.
  • The in-memory information about active exports gets updated automatically, and clients continue to access the exports without problems.
2

If you have...

Then...

An NFS-only filer

Go to Step 4.

A CIFS-only or multiprotocol filer

Create shares that refer to the new volume to enable clients to access it, then go to Step 3.

3

If you have...

Then...

A CIFS-only filer

You are done.

A multiprotocol filer

Go to Step 4.

4

Update the system /etc/exports file with the new volume name.

5

Run exportfs.

6

Add the appropriate mount point information to the /etc/fstab or /etc/vfstab file on clients that mount volumes from the filer.

Library Table of Contents Index Previous Next Comments