Chapter 7. Volumes 289
7.8.1  Displaying volume information
Use the lsvdisk command to display information about all volumes that are defined within the 
IBM Spectrum Virtualize environment. To display more d information about a specific volume, 
run the command again and provide the volume name or the volume ID as the command 
parameter, as shown in Example 7-1. 
Example 7-1   The lsvdisk command
IBM_Storwize:ITSO:superuser>lsvdisk -delim ' '
id name IO_group_id IO_group_name status mdisk_grp_id mdisk_grp_name capacity type FC_id 
FC_name RC_id RC_name vdisk_UID fc_map_count copy_count fast_write_state se_copy_count 
RC_change compressed_copy_count parent_mdisk_grp_id parent_mdisk_grp_name formatting 
encrypt volume_id volume_name function
0 A_MIRRORED_VOL_1 0 io_grp0 online many many 10.00GB many     
6005076400F580049800000000000002 0 2 empty 0 no 0 many many no yes 0 A_MIRRORED_VOL_1
1 COMPRESSED_VOL_1 0 io_grp0 online 1 Pool1 15.00GB striped     
6005076400F580049800000000000003 0 1 empty 0 no 1 1 Pool1 no yes 1 COMPRESSED_VOL_1
2 vdisk0 0 io_grp0 online 0 Pool0 10.00GB striped     6005076400F580049800000000000004 0 1 
empty 0 no 0 0 Pool0 no yes 2 vdisk0
3 THIN_PROVISION_VOL_1 0 io_grp0 online 0 Pool0 100.00GB striped     
6005076400F580049800000000000005 0 1 empty 1 no 0 0 Pool0 no yes 3 THIN_PROVISION_VOL_1
4 COMPRESSED_VOL_2 0 io_grp0 online 1 Pool1 30.00GB striped     
6005076400F580049800000000000006 0 1 empty 0 no 1 1 Pool1 no yes 4 COMPRESSED_VOL_2
5 COMPRESS_VOL_3 0 io_grp0 online 1 Pool1 30.00GB striped     
6005076400F580049800000000000007 0 1 empty 0 no 1 1 Pool1 no yes 5 COMPRESS_VOL_3
6 MIRRORED_SYNC_RATE_16 0 io_grp0 online many many 10.00GB many     
6005076400F580049800000000000008 0 2 empty 0 no 0 many many no yes 6 MIRRORED_SYNC_RATE_16
7 THIN_PROVISION_MIRRORED_VOL 0 io_grp0 online many many 10.00GB many     
6005076400F580049800000000000009 0 2 empty 2 no 0 many many no yes 7 
THIN_PROVISION_MIRRORED_VOL
8 Tiger 0 io_grp0 online 0 Pool0 10.00GB striped     6005076400F580049800000000000010 0 1 
not_empty 0 no 0 0 Pool0 yes yes 8 Tiger
12 vdisk0_restore 0 io_grp0 online 0 Pool0 10.00GB striped     
6005076400F58004980000000000000E 0 1 empty 0 no 0 0 Pool0 no yes 12 vdisk0_restore
13 vdisk0_restore1 0 io_grp0 online 0 Pool0 10.00GB striped     
6005076400F58004980000000000000F 0 1 empty 0 no 0 0 Pool0 no yes 13 vdisk0_restore1
7.8.2  Creating a volume
The use of the mkvdisk command creates sequential, striped, or image mode volumes. When 
they are mapped to a host object, these objects are seen as disk drives on which the host can 
perform I/O operations. 
You must know the following information before you start to create the volume:
/SM590000In which storage pool the volume will have its extents
/SM590000From which I/O Group the volume will be accessed
/SM590000Which IBM Spectrum Virtualize node will be the preferred node for the volume
/SM590000Size of the volume
/SM590000Name of the volume
/SM590000Type of the volume
/SM590000Whether this volume is to be managed by IBM Easy Tier to optimize its performance
Creating an image mode disk: If you do not specify the -size parameter when you create 
an image mode disk, the entire MDisk capacity is used.