Administrator’s Command Line Guide
Table Of Contents
- Introduction
- Accessing Storage Clusters via iSCSI
- Accessing Storage Clusters via S3 Protocol
- Monitoring Storage Cluster
- Managing Storage Cluster Security
- Maximizing Storage Cluster Performance
2.9. Managing LUN Snapshots
2.8.4 Listing CHAP Accounts and Their iSCSI Targets
To list existing CHAP accounts, use the vstorage-iscsi account-list command. For example:
# vstorage-iscsi account-list
user1
To list iSCSI targets assigned to a specific CHAP account, use the vstorage-iscsi account-list command with
the -u option. For example, to list iSCSI targets assigned to the CHAP account user1:
# vstorage-iscsi account-list -u user1
iqn.2014-04.com.vstorage:test1
2.9 Managing LUN Snapshots
You can create and manage snapshots of specific LUNs. To create a snapshot of the entire target, you need
to create snapshots of each LUN within it.
2.9.1 Creating LUN Snapshots
To create a snapshot of a LUN in an iSCSI target, use the vstorage-iscsi snapshot-create command. For
example, for LUN 1 on target iqn.2014-04.com.vstorage:test1:
# vstorage-iscsi snapshot-create -t iqn.2014-04.com.vstorage:test1 -l 1
Snapshot a1f54314-bc06-40c6-a587-965feb9d85bb successfully created.
Note: To generate a UUID manually, use uuidgen.
2.9.2 Listing LUN Snapshots
To list snapshots for the specified LUN, use the vstorage-iscsi snapshot-list command. For example, for
LUN 1 on target iqn.2014-04.com.vstorage:test1:
# vstorage-iscsi snapshot-list -t iqn.2014-04.com.vstorage:stor4 -l 1
CREATED C UUID PARENT_UUID
2014-04-11 13:16:51 a1f54314-bc06-40c6-a587-{...} 00000000-0000-0000-{...}
2014-04-11 13:16:57 * 9c98b442-7482-4fd0-9c45-{...} a1f54314-bc06-40c6-{...}
11










