Before creating a new volume for Snapshot copy retention, you need to ensure that all the files in the old volume are in the Idle and the Snapvaulted
state.
Steps
- Check that all relationships for the volume that you will clone or copy are in the Idle and Snapvaulted state by entering the following command:
snapvault status
| If... |
Then..... |
| The volume is in this state |
Go to Step 5. |
| The volume is not in this state, but transfers are proceeding normally |
Wait for the transfers to finish and then repeat this step. |
| Transfers are not proceeding or completed |
Go to Step 2. |
- To check and correct the configuration information, enter the following command: snapvault status -c
You need to perform this step because occasionally, the snapvault status command might show a relationship for which there is no permanent configuration information.
- Compare the output from the snapvault status -c
command to the output from the snapvault status
command.
You should see a one-to-one correspondence. If
any relationships are missing, make the output from the two
commands consistent.
- Create the configuration entry for the missing relationship
using the snapvault start command or, if the relationship
is not needed, use the snapvault stop command.
The snapvault stop command destroys the relationship.
- Ensure that all qtrees with SnapVault relationships are at the same base Snapshot copy by entering the following command: snapvault status -l
Check the base Snapshot copy listed for each qtree in the destination volume to ensure that they refer to the same Snapshot copy.
| If..... |
Then... |
| They refer to the same Snapshot copy |
You are finished. |
| They do not refer to the same Snapshot copy |
Go to step 6. |
- To create a new base Snapshot copy for
all qtrees in the volume, enter the following command: snapvault snap create -w sec_vol ""
sec_vol is the current secondary volume.
" " specifies that no snapvault snap sched
Snapshot copy is created.
Note: All qtrees should be in the snapvaulted
state after the transfer initiated by the snapvault snap create command.
- Go back to Step 1 and ensure that everything is in an appropriate state.