6.2.12.20 mkvolumegroupsnapshot
Create snapshots of all volumes in the specified volume group.
Purpose
The mkvolumegroupsnapshot creates a set of volume snapshots with point-in-time consistency for all volumes in the specified volume group.
Syntax
mkvolumegroupsnapshot volume-group-IDCommand Options
The options for the mkvolumegroupsnapshot command are:
-
volume-group-ID: Identifies the volume group that you want to act on. You can use the
lsvolumegroupcommand to find the identifier for each volume group.
Usage Notes
-
Unmount the affected file system on all servers before you run the command to create the volume snapshot. Then, mount the file system again afterward.
-
Alternatively, you can use the Oracle ACFS command-line utility (
acfsutil) to synchronize the file system and create the volume snapshot. On an EDV client node, run theacfsutil volsnap createcommand as therootuser and specify the ACFS mountpoint or EDV device.For example:
# acfsutil volsnap create /mnt/my-acfs
Examples
Example 6-183 Snapshot Volumes in a Volume Group
This example shows creating a snapshot of volumes in the volume group with the ID volgrp0001_8b599d1725244432a1f47407b4e9493e.
@> mkvolumegroupsnapshot volgrp0001_8b599d1725244432a1f47407b4e9493e
Parent topic: Block Store Management