Table of ContentsView in Frames

Renaming a SnapVault or Open Systems SnapVault secondary volume

If you rename a volume involved in a SnapVault relationship, you need to update the SnapVault configurations with the new name.

About this task

If the qtree is not configured in SnapVault, using the snapvault start command to configure the qtree gives the following error:
Error: Not a snapvaulted qtree, ignoring.
This error means that the qtree is not a SnapVault replica.

Steps

  1. To rename a volume, enter the following command:vol rename oldvolname newvolname
  2. To verify the changes, enter the following command: snapvault status -c
    snapvault status -c does not show the new path yet.
  3. Enter the following command:snapvault start -S pri_filer:pri_qtree sec_filer:sec_qtree
    Snapvault configuration for the qtree has been set. Qtree /vol/newvolname/sec_qtree is already a replica.
  4. Enter the following command: snapvault status -c
    snapvault status -c now shows the new path.
  5. Enter the following command to verify that the change was successful: snapvault update sec_qtree
  6. The output of snapvault status -c will contain entries referencing the old volume name in addition to the new volume name. Remove the old entries by using the snapvault stop command: snapvault stop /vol/oldvolname/sec_qtree
    Snapvault configuration for the qtree has been deleted. Could not delete qtree: destination qtree does not exist

    The output reflects that the configuration information is deleted and that the qtree did not exist on disk. This is normal because the volume name has changed.