<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Nova_find_block_device_mappings</id>
	<title>Nova find block device mappings - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Nova_find_block_device_mappings"/>
	<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Nova_find_block_device_mappings&amp;action=history"/>
	<updated>2026-05-05T00:09:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Nova_find_block_device_mappings&amp;diff=28654&amp;oldid=prev</id>
		<title>K mouza: Created page with &quot;You know when you boot a VM from a volume and you select whether to delete that volume on instance termination? Well, it&#039;s a pain to find this information after the VM is crea...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Nova_find_block_device_mappings&amp;diff=28654&amp;oldid=prev"/>
		<updated>2019-06-03T16:26:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;You know when you boot a VM from a volume and you select whether to delete that volume on instance termination? Well, it&amp;#039;s a pain to find this information after the VM is crea...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;You know when you boot a VM from a volume and you select whether to delete that volume on instance termination? Well, it&amp;#039;s a pain to find this information after the VM is created! This is the only way I&amp;#039;ve found so far. You have to go in the nova mysql database and run the following query:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
MariaDB [nova]&amp;gt; select * from block_device_mapping where volume_id=&amp;quot;77e6583a-a2f8-49bf-a932-3359f78a9c1c&amp;quot; \G;&lt;br /&gt;
*************************** 1. row ***************************&lt;br /&gt;
           created_at: 2019-06-03 15:47:32&lt;br /&gt;
           updated_at: 2019-06-03 15:47:53&lt;br /&gt;
           deleted_at: NULL&lt;br /&gt;
                   id: 263&lt;br /&gt;
          device_name: /dev/vda&lt;br /&gt;
delete_on_termination: 1&lt;br /&gt;
          snapshot_id: NULL&lt;br /&gt;
            volume_id: 77e6583a-a2f8-49bf-a932-3359f78a9c1c&lt;br /&gt;
          volume_size: 40&lt;br /&gt;
            no_device: 0&lt;br /&gt;
      connection_info: {&amp;quot;driver_volume_type&amp;quot;: &amp;quot;iscsi&amp;quot;, &amp;quot;connector&amp;quot;: {&amp;quot;platform&amp;quot;: &amp;quot;x86_64&amp;quot;, &amp;quot;host&amp;quot;: &amp;quot;node01.vscaler.net&amp;quot;, &amp;quot;do_local_attach&amp;quot;: false, &amp;quot;ip&amp;quot;: &amp;quot;10.10.10.11&amp;quot;, &amp;quot;os_type&amp;quot;: &amp;quot;linux2&amp;quot;, &amp;quot;multipath&amp;quot;: false, &amp;quot;initiator&amp;quot;: &amp;quot;iqn.1994-05.com.redhat:572075d2203f&amp;quot;}, &amp;quot;serial&amp;quot;: &amp;quot;77e6583a-a2f8-49bf-a932-3359f78a9c1c&amp;quot;, &amp;quot;data&amp;quot;: {&amp;quot;access_mode&amp;quot;: &amp;quot;rw&amp;quot;, &amp;quot;target_discovered&amp;quot;: false, &amp;quot;encrypted&amp;quot;: false, &amp;quot;qos_specs&amp;quot;: null, &amp;quot;target_iqn&amp;quot;: &amp;quot;iqn.2010-10.org.openstack:volume-77e6583a-a2f8-49bf-a932-3359f78a9c1c&amp;quot;, &amp;quot;target_portal&amp;quot;: &amp;quot;10.10.10.13:3260&amp;quot;, &amp;quot;volume_id&amp;quot;: &amp;quot;77e6583a-a2f8-49bf-a932-3359f78a9c1c&amp;quot;, &amp;quot;target_lun&amp;quot;: 1, &amp;quot;device_path&amp;quot;: &amp;quot;/dev/sdg&amp;quot;, &amp;quot;auth_password&amp;quot;: &amp;quot;Sh55YNC4KUuoBqJV&amp;quot;, &amp;quot;auth_username&amp;quot;: &amp;quot;UJXs5NtVr6UKNHt9PNMB&amp;quot;, &amp;quot;auth_method&amp;quot;: &amp;quot;CHAP&amp;quot;}}&lt;br /&gt;
        instance_uuid: 30afcbb6-8d99-4c1c-8d55-470c1e960bbc&lt;br /&gt;
              deleted: 0&lt;br /&gt;
          source_type: image&lt;br /&gt;
     destination_type: volume&lt;br /&gt;
         guest_format: NULL&lt;br /&gt;
          device_type: disk&lt;br /&gt;
             disk_bus: virtio&lt;br /&gt;
           boot_index: 0&lt;br /&gt;
             image_id: 4d1ee5e2-5b0f-4d77-a431-bc4773988379&lt;br /&gt;
                  tag: NULL&lt;br /&gt;
        attachment_id: NULL&lt;br /&gt;
                 uuid: f12d7abc-8fa5-4393-8dc5-2933a8c0a7c8&lt;br /&gt;
1 row in set (0.00 sec)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>K mouza</name></author>
	</entry>
</feed>