Administrator’s Command Line Guide

Table Of Contents
Chapter 2. Accessing Storage Clusters via iSCSI
In the output above, the asterisk in the column C indicates the current snapshot, while the column
PARENT_UUID shows snapshot dependency or history.
2.9.3 Switching Between LUN Snapshots
To switch to the specified LUN snapshot, use the vstorage-iscsi snapshot-switch command. For example:
# vstorage-iscsi snapshot-switch -u a1f54314-bc06-40c6-a587-965feb9d85bb
After you switch to a snapshot, the current LUN image will be removed.
Note: You can only switch between snapshots, if the LUN is offline.
2.9.4 Viewing LUN Snapshot Information
To view information about the specified snapshot, use the vstorage-iscsi snapshot-info command. For
example:
# vstorage-iscsi snapshot-info -u 9c98b442-7482-4fd0-9c45-9259374ca84e
Target: iqn.2014-04.com.vstorage:stor4
LUN: 1
Created: 2014-04-11 13:16:57
Parent: 00000000-0000-0000-0000-000000000000}
{a1f54314-bc06-40c6-a587-965feb9d85bb}
{9c98b442-7482-4fd0-9c45-9259374ca84e
Description: None
2.9.5 Deleting LUN Snapshots
To delete the specifed LUN snapshot, use the vstorage-iscsi snapshot-delete command. For example:
# vstorage-iscsi snapshot-delete -u a1f54314-bc06-40c6-a587-965feb9d85bb
If the snapshot has no any children, it will be deleted. If the snapshot has a single child, it will be merged to
that child.
Note:
1. You can only delete offline snapshots.
12