You use the vol rename command to rename a volume. You can rename volumes without interrupting data service.
- Enter the following command:vol rename vol_name new-name
The following events occur:
- The volume is renamed.
- If NFS is in use and the nfs.export.auto-update option is On, the /etc/exports file is updated to reflect the new volume name.
- If CIFS is running, shares that refer to the volume are updated to reflect the new volume name.
- The in-memory information about active exports gets updated automatically, and clients continue to access the exports without problems.
After you finish
If you access the storage system using NFS, add the appropriate mount point information to the /etc/fstab or /etc/vfstab file on clients that mount volumes from the storage system.