6.2.12.21 mkvolumesnapshot
Create a snapshot of a volume.
Purpose
The mkvolumesnapshot
creates a snapshot of the specified Exascale volume.
Syntax
mkvolumesnapshot volume-ID
[ --attributes attribute=value[,attribute=value]... ]
Command Options
The options for the mkvolumesnapshot
command are:
-
volume-ID: Identifies the volume that you want to snapshot. You can use the
lsvolume
command to find the identifier for each volume. -
--attributes
: Optionally specifies attributes for the volume snapshot.Use the
describe mkvolumesnapshot
command to see details about the volume snapshot attributes you can set. See also Describing Resources and Attributes.
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 create
command as theroot
user and specify the ACFS mountpoint or EDV device.For example:
# acfsutil volsnap create /mnt/my-acfs
Examples
Example 6-184 Create a Volume Snapshot
This example shows creating a snapshot of volume vol0001_50e52177583f4be4bad68ac20b65001e
.
@> mkvolumesnapshot vol0001_50e52177583f4be4bad68ac20b65001e
Example 6-185 Create a Volume Snapshot with Attribute Settings
This example shows creating a snapshot of volume vol0001_50e52177583f4be4bad68ac20b65001e
with specific attribute settings.
@> mkvolumesnapshot vol0001_50e52177583f4be4bad68ac20b65001e --attributes name=snap1
Parent topic: Block Store Management