Identify Block Device of Volume Attached to Instance

Problem

The block device of an attached/mounted volume for a particular instance needs to be identified.

Environment

  • Platform9 Managed OpenStack - All Versions
  • Nova
  • Cinder
  • Libvirt

Procedure

  1. Login to the KVM host.
  2. Identify the disk ID within the instance's XML file.
Copy

Example:

Copy
  1. Look for the 'source dev line' for the disk id. In the above example, it is ' 3624a9370ebcccad586e4418c0002d81b.'
  2. Runlsblk command to get all the disks and partitions.
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard