14.12.5. Retrieving Storage Volume Information
vol-poolcommand returns the pool name or UUID for a given volume. By default, the pool name is returned. If the
--uuidoption is given, the pool UUID is returned instead. The command requires the vol-key-or-path which is the key or path of the volume for which to return the requested information.
vol-pathcommand returns the path for a given volume. The command requires
--pool pool-or-uuid, which is the name or UUID of the storage pool the volume is in. It also requires vol-name-or-key which is the name or key of the volume for which the path has been requested.
vol-name vol-key-or-pathcommand returns the name for a given volume, where vol-key-or-path is the key or path of the volume to return the name for.
vol-keycommand returns the volume key for a given volume where
--pool pool-or-uuidis the name or UUID of the storage pool the volume is in and vol-name-or-path is the name or path of the volume to return the volume key for.