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-ID

Command 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 lsvolumegroup command to find the identifier for each volume group.

Usage Notes

The volume snapshot operation fails if the specified volume supports Exascale Direct Volume (EDV) attachments and Oracle Advanced Cluster File System (ACFS) is currently mounted. To create a volume snapshot in this situation, you must either:
  • 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 the acfsutil volsnap create command as the root user 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