Rename a Standalone (unmanaged) StorNext File System

Use the following procedure to change the name of a StorNext file system:

Note: This procedure is only for StorNext file systems that do not have the Tertiary Storage Manager (TSM) component installed.

  1. Unmount the file system from all the client systems using it.
  2. Stop the file system in cvadmin.
  3. Run cvfsck with the following parameters:

cvfsck -j file_system_name

cvfsck -n file_system_name

where file_system_name is the actual name of your file system.

Make sure that cvfsck says that the file system is clean.

  1. Do one of the following:

* If cvfsck detects no file system errors, go to the next step.

* If cvfsck detects file system errors, run it in a "fix" mode

cvfsck file_system_name

  1. Rename the file system using cvupdatefs.
    1. Non-HA mode:

    cvupdatefs -R new_file_system_name old_file_system_name

    1. HA mode:

    In order to rename the data directory on the secondary you need to manually do that before using cvupdatefs on the primary. By default, these directories reside in the /usr/cvfs/data directory on UNIX systems and in the C:\SNFS\data folder on Windows systems. If you do not rename the data directory on the secondary, it will be left as is, and the HA sync process will create a new data directory with the new file system name.

    After renaming the data directory on the secondary, on the primary use the cvupdatefs command:

    cvupdatefs -R new_file_system_name old_file_system_name

    The HA sync process will propagate the change to the secondary.

    1. Manual HA mode:

    In manual HA mode you need to run the same cvupdatefs command first on the primary, and then on the secondary:

    cvupdatefs -R new_file_system_name old_file_system_name

  2. Make adjustments to the /etc/vstab and /etc/fstab files, as well as in the Windows StorNext User Interface to reflect the new file system name on all the systems involved.
  3. Start the file system, and make it active (cvadmin).
  4. Mount the file system.

For more information, see the cvupdatefs man page.