This section shows how to create a snapshot with EVMS:
Example 11.1. Create a snapshot of a volume
Create a new snapshot of
/dev/evms/vol
onlvm/Sample Container/Sample Region
, and call it "snap."
To create the snapshot using the GUI, follow these steps:
Select
→ → to see a list of EVMS feature objects.Select
.Click
.Select
.Click
.Select
from the list in the "Volume to be Snapshotted" field.Type snap
in the "Snapshot Object Name" field.
Click
.Alternatively, you can perform some of the steps to create a snapshot with the GUI context sensitive menu:
From the
tab, right click .Click
Continue creating the snapshot beginning with step 2 of the GUI instructions. You can skip steps 4 and 5 of the GUI instructions.
To create the snapshot, follow these steps:
Select
→ → to see a list of EVMS feature objects.Select
.Activate
.Select lvm/Sample Container/Sample Region.
Activate
.Press spacebar to edit the "Volume to be Snapshotted" field.
Highlight /dev/evms/vol
and press spacebar to select.
Activate
.Highlight "Snapshot Object Name" and press spacebar to edit.
Type snap
at the "::" prompt.
Press Enter.
Activate
.Alternatively, you can perform some of the steps to create a snapshot with the context sensitive menu:
From the Available Objects view, press Enter on lvm/Sample Container/Sample Region
.
Activate the
menu item.Continue creating the snapshot beginning with step 6 of the Ncurses instructions.
Use the create command to create a snapshot through the CLI. You pass the "Object" keyword to the create command, followed by the plug-in and its options, and finally the objects.
To determine the options for the plug-in you are going to use, issue the following command:
query: plugins, plugin=Snapshot, list options
Now construct the create command, as follows:
create: object, Snapshot={original=/dev/evms/vol, snapshot=snap}, "lvm/Sample Container/Sample Region"