Listing target groups
You can list target groups with the vstorage-target tg-list
command, which displays basic information about groups. For example:
# vstorage-target tg-list [ { "Id": "3d8364f5-b830-4211-85af-3a19d30ebac4", "Name": "tg1", "Type": "ISCSI", "Running": true, "ACL": false, "ChapAuth": false, "CHAP": {}, "Mode": 0 }, { "Id": "78c3b51e-fd9a-485b-91ce-bc0a8171c89d", "Name": "tg2", "Type": "ISCSI", "Running": false, "ACL": false, "ChapAuth": false, "CHAP": {}, "Mode": 0 } ]
To print complete information about all target groups, use vstorage-target tg-list -all
.