Logical Domains 1.2 Administration Guide

Creating a Snapshot of a Disk Image

When your disk image is stored on a ZFS volume or on a ZFS file, you can create snapshots of this disk image by using the ZFS snapshot command.

Before you create a snapshot of the disk image, ensure that the disk is not currently in use in the guest domain to ensure that data currently stored on the disk image are coherent. There are several ways to ensure that a disk is not in use in a guest domain. You can either:

In this example, because of the ZFS layout, the command to create a snapshot of the disk image is the same whether the disk image is stored on a ZFS volume or on a ZFS file.

ProcedureCreate a Snapshot of a Disk Image

  1. Create a snapshot of the disk image that was created for the ldg1 domain, for example.


    primary# zfs snapshot ldmpool/ldg1/disk0@version_1