Use the following procedure when creating
For a process overview of the snapshot virtual disk creation process, see Create Snapshot Virtual Disk Wizard: Process Overview - UNIX with Virtual Disk Manager Virtual Disks.
Snapshot virtual disks might be reused (for frequent or nightly backups) or may be created for one-time usage (for speculative change or upgrade testing). For instructions on how to reuse a disabled snapshot virtual disk, see Reusing Snapshot Virtual Disks.
Use the following procedure to create a snapshot virtual disk.
Important: Snapshot virtual disks created on a host running Solaris (where the source virtual disk is under VERITAS Virtual Disk Manager control) might not be mapped to the same host as the source virtual disk.
|
|
Important: Stop all I/O activity to the source virtual disk at this point (or data transfer suspended) to ensure that an accurate point-in-time image of the source virtual disk is captured. |
||||||||||
|
1 |
Unmount the disk representing the source virtual disk. At the host prompt, type the following command, and press Enter: umount mount-point where mount-point is the name of the disk being unmounted. |
||||||||||
|
2 |
Start the storage management software. |
||||||||||
|
3 |
Launch an Note: If your plex spans across a number of storage arrays, ensure that the procedure is repeated for each storage array. |
||||||||||
|
4 |
Perform a synchronize operation to ensure that all previously unwritten system buffers are flushed out to disk, ensuring that all file modifications up to that point are saved. To perform this action, at the host prompt, type the following command, and press Enter: sync All unwritten system buffers are flushed. |
||||||||||
|
5 |
Within the Logical View of the Array Management Window, select a
|
||||||||||
|
6 |
Assign a Important: Snapshot virtual disks created on a host running Solaris (where the source virtual disk is under VERITAS Virtual Disk Manager control) might not be mapped to the same host as the source virtual disk. Virtual Disk-to-LUN mappings can be defined using one of the following methods:
|
||||||||||
|
7 |
If supported by the operating system, run the After virtual disks have been created and virtual disk-to-LUN mappings have been defined, run the hot_add utility to ensure that the operating system is aware of the newly created virtual disks without having to reboot the host. For information on which operating systems support the hot_add utility, refer to your
|
||||||||||
|
8 |
Run the After virtual disks have been created and virtual disk-to-LUN mappings have been defined, run the SMdevices utility to ensure that the virtual disk name and the operating system storage array name (assigned by the operating system) correlate. |
||||||||||
|
9 |
Open VERITAS Virtual Disk Manager Storage Administrator, and scan all the mounted disks by selecting the host where the snapshot virtual disk resides and selecting Host >> Scan Disks. A scan of all the mounted disks is performed. |
||||||||||
|
10 |
Import the disk group that will enable access to a disk group for the selected host.
Note: If importing the disk group fails using the above method (or using the VERITAS Virtual Disk Manager System Administrator main dialog), at the host prompt, type the following command, and press Enter: vxdg -C import disk-group where disk-group is the name of the disk group to be imported. All import locks are cleared, and the disk group is imported. |
||||||||||
|
11 |
Start the virtual disk to make it available for use. At the host prompt, type the following command, and press Enter: vxvol start virtual disk where virtual disk is the name of the snapshot virtual disk. The defined virtual disk changes state from Disabled to Enabled, and is now ready for use. |
||||||||||
|
12 |
In the VERITAS Virtual Disk Manager System Administrator, mount the file system associated with the disk group by selecting the file system associated with the disk group, and right-clicking and selecting Filesystem >> Mount. The disk groups associated with the file system are mounted. |
||||||||||
|
13 |
On the host where the snapshot virtual disk resides, ensure that the file system was mounted correctly. At the host prompt, type the following command, and press Enter: df-k |
||||||||||
|
14 |
At the host prompt, type the following command, and press Enter: cd mount-point where mount-point is the directory where the snapshot virtual disk is mounted. Blink the directory where the snapshot virtual disk was mounted, and ensure that the snapshot virtual disks contents match the original contents of the source virtual disk. |
||||||||||
|
15 |
Use the snapshot virtual disk with your backup application (reusing a snapshot virtual disk) or for speculative change and upgrade testing (one-time usage). |
||||||||||
|
16 |
After the snapshot virtual disk is no longer required, disable or delete the snapshot virtual disk. If you disable the snapshot virtual disk instead of deleting it, you can retain the snapshot virtual disk and its associated For more information, see Disabling a Snapshot Virtual Disk and Deleting a Virtual Disk. For command reference information on disabling or deleting a snapshot virtual disk, refer to the Enterprise Management Window online help. |
Typically, after a snapshot virtual disk has been created, it is disabled until a new point-in-time image of the same source virtual disk is required. Use the following procedure to create a new point-in-time image of the same source virtual disk.
|
|
Important: Stop all I/O activity to the source virtual disk at this point (or data transfer suspended) to ensure that an accurate point-in-time image of the source virtual disk is captured. |
|
1 |
Unmount the disk representing the source virtual disk and the disk representing the snapshot virtual disk. At the host prompt, type the following command, and press Enter: umount moint-point where mount-point is the name of the disk being umounted. |
|
2 |
Perform a synchronize operation to ensure that all previously unwritten system buffers are flushed out to disk, ensuring that all file modifications up to that point will be saved. At the host prompt, type the following command, and press Enter: sync All unwritten system buffers are flushed. |
|
3 |
In the storage management software, re-create the snapshot virtual disks by using one of the following methods:
Note: If your plex spans across a number of storage arrays, ensure that the procedure is repeated for each storage array.
|
|
4 |
In the VERITAS Virtual Disk Manager System Administrator, mount the file system associated with the disk group by selecting the file system associated with the disk group, and right-clicking and selecting Filesystem >> Mount. The disk groups associated with the file system are mounted. |
|
5 |
On the host where the snapshot virtual disk resides, ensure that the file system was mounted correctly. At the host prompt, type the following command, and press Enter: df-k |
|
6 |
Use the snapshot virtual disk in conjunction with your backup application (or another application). |
|
7 |
After the snapshot virtual disk is no longer required, disable the snapshot virtual disk. If you disable the snapshot virtual disk instead of deleting it, you can retain the snapshot virtual disk and its associated snapshot repository virtual disk. Then, when you need to create a different snapshot of the same source virtual disk, you can re-create the disabled snapshot virtual disk. This takes less time than creating a new snapshot virtual disk, and will stop any reduction in performance that might occur if the snapshot virtual disk remains available. For more information, see Disabling a Snapshot Virtual Disk and Re-creating a Snapshot Virtual Disk. For command reference information on disabling and re-creating a snapshot virtual disk, refer to the Enterprise Management Window online help. |
Create Snapshot Virtual Disk Wizard: Additional Instructions