Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Identify Block Device of Volume Attached to Instance
Copy Markdown
Open in ChatGPT
Open in Claude
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
- Login to the KVM host.
- Identify the disk ID within the instance's XML file.
xxxxxxxxxx# ls -l/opt/pf9/data/instances/[INSTANCE_UUID]/cfg-[INSTANCE_UUID].xmlExample:
/opt/pf9/data/instances/8f9dadb1-1bfa-45b9-8fed-cd53c38de547/cfg-8f9dadb1-1bfa-45b9-8fed-cd53c38de547.xml[disk type='block' device='disk'] [driver name='qemu' type='raw' cache='none' io='native'/] [source dev='/dev/disk/by-id/dm-uuid-mpath-3624a9370ebcccad586e4418c0002d81b'/] [target dev='vda' bus='virtio'/] [serial]8837dded-d387-4b3c-a8f9-9b91f0142240[/serial] [address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/][/disk]- Look for the 'source dev line' for the disk id. In the above example, it is ' 3624a9370ebcccad586e4418c0002d81b.'
- Run
lsblkcommand to get all the disks and partitions.
# lsblk sdp 8:240 0 50G 0 disk └─3624a9370ebcccad586e4418c0002d81f 253:31 0 50G 0 mpath └─3624a9370ebcccad586e4418c0002d81f1 253:32 0 50G 0 partVariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message