6.2.12.15 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.
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/myacfs
Examples
Example 6-172 Create a Volume Snapshot
This example shows creating a snapshot of volume
1:50e52177583f4be4bad68ac20b65001e
.
@> mkvolumesnapshot 1:50e52177583f4be4bad68ac20b65001e
Example 6-173 Create a Volume Snapshot with Attribute Settings
This example shows creating a snapshot of volume
1:50e52177583f4be4bad68ac20b65001e
with specific attribute
settings.
@> mkvolumesnapshot 1:50e52177583f4be4bad68ac20b65001e --attributes name=snap1,compartmentId=myCompartment123
Parent topic: Block Store Management