<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic CINDER - How can I relate lun clones (vol file clone) with their parent luns? in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/CINDER-How-can-I-relate-lun-clones-vol-file-clone-with-their-parent-luns/m-p/102093#M20698</link>
    <description>&lt;PRE&gt;Using iscsi LUNs&lt;BR /&gt;&lt;BR /&gt;How I can relate lun clones (vol file clone) with there parent luns? Is a file clone automatically split? How I can see stats of luns?&lt;BR /&gt;&lt;BR /&gt;I am working with the CINDER Netapp driver using its functionality to create snapshots and from then create a lun. &lt;/PRE&gt;
&lt;PRE&gt;&lt;BR /&gt;I guess under the covers is using "vol file clone" for both operations so, it must create a kind of clone that acts as snapshot for next clones, so: lun -&amp;gt; snapshot -&amp;gt; 1:n clones &lt;BR /&gt;&lt;BR /&gt;My question is to understand how files clones work. After reading the documentation I understand that if I do a : &lt;BR /&gt;df -s volname (page 92, Logical Storage Management Guide) I should see the savings due to cloning on luns, so if I am doing a file clone on a lun of 100GB I should see something like we saved 100GB, independently of space-reserved false|true. Is this assumption correct? In reality I dont see any saving. Is this meaning that the file clone is automatically split? I dont think. &lt;BR /&gt;&lt;BR /&gt;I want to also understand how can I relate clones to their parent luns e.g.:&lt;BR /&gt;&lt;BR /&gt;c02::&amp;gt; lun show -vserver vsiscsi -fields size,size-used, is-clone, qos-policy-group,space-reserve,space-allocation&lt;BR /&gt;vserver path&lt;BR /&gt;                                    size  space-reserve space-allocation size-used is-clone qos-policy-group&lt;BR /&gt;------- ------------------------------------------------------------------ ----- ------------- ---------------- --------- -------- ----------------&lt;BR /&gt;vsiscsi /vol/openstack_vol01/snapshot-dff2c013-8bfe-4a95-aa50-38ed28ad9cf8 100GB disabled      disabled         0        true     -&lt;BR /&gt;vsiscsi /vol/openstack_vol01/volume-00d992bf-1fca-403a-b0bf-4bcf7ecc439a   150GB enabled       disabled 90.71MB   false    low_iops&lt;BR /&gt;vsiscsi /vol/openstack_vol01/volume-02357acc-5870-4f74-8d2a-23b5368fc37d   100GB enabled       disabled         20.17GB   true     -&lt;BR /&gt;vsiscsi /vol/openstack_vol01/volume-1eb2f643-6c24-4099-8da8-68c2e58bfd04   100GB enabled disabled         0         false    -&lt;BR /&gt;vsiscsi /vol/openstack_vol01/volume-29e3d627-edd1-45a3-a5ef-be3223e7aa49   100GB enabled  disabled         20.17GB   false    -&lt;BR /&gt;vsiscsi /vol/openstack_vol01/volume-4c2a0bb7-a42d-417b-ac29-754a51e98972   100GB enabled&lt;BR /&gt;disabled         0         false    -&lt;BR /&gt;vsiscsi /vol/openstack_vol01/volume-889e981c-0011-48b1-9c88-d14a8cfe70e6   10GB  enabled  disabled         75.31MB   false    -&lt;BR /&gt;vsiscsi /vol/openstack_vol01/volume-f685ca71-24e2-4b5b-99f9-d8f3cad7a821   1GB   enabled   disabled         28.76MB   false    low_iops&lt;BR /&gt;vsiscsi /vol/openstack_vol02/snapshot-bf6f5f15-ff79-48b1-acca-e739eb34765b 100GB enabled       disabled         0         true     -&lt;BR /&gt;vsiscsi /vol/openstack_vol02/volume-64f3eef6-0a84-416c-bf56-1a5a31b13ab4 100GB enabled       disabled         0         true     -&lt;BR /&gt;vsiscsi /vol/openstack_vol02/volume-713a0209-60ea-4b8f-ba9e-86f7f0265d4f  100GB enabled       disabled         0         false    -&lt;BR /&gt;vsiscsi /vol/openstack_vol02/volume-bc50dd29-8ab3-47f1-af15-f5f46630fe57   100GB enabled       disabled         100.4GB   false    -&lt;BR /&gt;vsiscsi /vol/openstack_vol02/volume-da7c0dd1-c681-40d6-8eb4-f83d00cd9125   20GB  enabled       disabled         86.63MB   false -&lt;BR /&gt;vsiscsi /vol/openstack_vol03/volume-38efc175-fab&lt;BR /&gt;a-446e-b2ce-e36902cf1ffa   100GB enabled       disabled         0         false    -&lt;BR /&gt;vsiscsi /vol/openstack_vol03/volume-62b7f871-8f53-4694-aa3f-84956b28064d   100GB enabled       disabled         0         false -&lt;BR /&gt;vsiscsi /vol/openstack_vol03/volume-a7c7188d-226d-4e67-84d5-72848d25f39c   100GB enabled       disabled         0         false  -&lt;BR /&gt;vsiscsi /vol/openstack_vol03/volume-b05f5667-9cc4-49c0-82fd-40adc7366fd5   100GB enabled       disabled         0         false   -&lt;BR /&gt;17 entries were displayed.&lt;BR /&gt;&lt;BR /&gt;And finally how can I retrieve statistics:&lt;BR /&gt;&lt;BR /&gt;c02::*&amp;gt;  statistics start -object lun -vserver vsiscsi -instance /vol/openstack_vol02/volume-bc50dd29-8ab3-47f1-af15-f5f46630fe57 -counter read_ops|read_data|write_ops|write_data|total_ops|avg_write_latency|avg_read_latency&lt;BR /&gt;&lt;BR /&gt;Warning: The existing sample will be overwritten for sample-id: :sample_369.&lt;BR /&gt;Do you want to continue? {y|n}: y&lt;BR /&gt;Statistics collection is being started for Sample-id: sample_369&lt;BR /&gt;&lt;BR /&gt;c02::*&amp;gt; statistics show -object lun -instance /vol/openstack_vol02&lt;BR /&gt;/volume-bc50dd29-8ab3-47f1-af15-f5f46630fe57&lt;BR /&gt;&lt;BR /&gt;Error: show failed: Statistics collection for sample "sample_369", was not completed successfully. Please delete this sample.&lt;BR /&gt;&lt;BR /&gt;c02::*&amp;gt; statistics show-periodic -object lun -instance /vol/openstack_vol02/volume-bc50dd29-8ab3-47f1-af15-f5f46630fe57&lt;BR /&gt;&lt;BR /&gt;Warning: Failed to get statistics for object lun: For object "lun", no instances were found to match the given query.&lt;BR /&gt;Error: command failed: entry doesn't exist&lt;BR /&gt;&lt;BR /&gt;Any help on the matter would be great..&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/PRE&gt;</description>
    <pubDate>Thu, 05 Jun 2025 04:48:36 GMT</pubDate>
    <dc:creator>MiguelTSE</dc:creator>
    <dc:date>2025-06-05T04:48:36Z</dc:date>
    <item>
      <title>CINDER - How can I relate lun clones (vol file clone) with their parent luns?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/CINDER-How-can-I-relate-lun-clones-vol-file-clone-with-their-parent-luns/m-p/102093#M20698</link>
      <description>&lt;PRE&gt;Using iscsi LUNs&lt;BR /&gt;&lt;BR /&gt;How I can relate lun clones (vol file clone) with there parent luns? Is a file clone automatically split? How I can see stats of luns?&lt;BR /&gt;&lt;BR /&gt;I am working with the CINDER Netapp driver using its functionality to create snapshots and from then create a lun. &lt;/PRE&gt;
&lt;PRE&gt;&lt;BR /&gt;I guess under the covers is using "vol file clone" for both operations so, it must create a kind of clone that acts as snapshot for next clones, so: lun -&amp;gt; snapshot -&amp;gt; 1:n clones &lt;BR /&gt;&lt;BR /&gt;My question is to understand how files clones work. After reading the documentation I understand that if I do a : &lt;BR /&gt;df -s volname (page 92, Logical Storage Management Guide) I should see the savings due to cloning on luns, so if I am doing a file clone on a lun of 100GB I should see something like we saved 100GB, independently of space-reserved false|true. Is this assumption correct? In reality I dont see any saving. Is this meaning that the file clone is automatically split? I dont think. &lt;BR /&gt;&lt;BR /&gt;I want to also understand how can I relate clones to their parent luns e.g.:&lt;BR /&gt;&lt;BR /&gt;c02::&amp;gt; lun show -vserver vsiscsi -fields size,size-used, is-clone, qos-policy-group,space-reserve,space-allocation&lt;BR /&gt;vserver path&lt;BR /&gt;                                    size  space-reserve space-allocation size-used is-clone qos-policy-group&lt;BR /&gt;------- ------------------------------------------------------------------ ----- ------------- ---------------- --------- -------- ----------------&lt;BR /&gt;vsiscsi /vol/openstack_vol01/snapshot-dff2c013-8bfe-4a95-aa50-38ed28ad9cf8 100GB disabled      disabled         0        true     -&lt;BR /&gt;vsiscsi /vol/openstack_vol01/volume-00d992bf-1fca-403a-b0bf-4bcf7ecc439a   150GB enabled       disabled 90.71MB   false    low_iops&lt;BR /&gt;vsiscsi /vol/openstack_vol01/volume-02357acc-5870-4f74-8d2a-23b5368fc37d   100GB enabled       disabled         20.17GB   true     -&lt;BR /&gt;vsiscsi /vol/openstack_vol01/volume-1eb2f643-6c24-4099-8da8-68c2e58bfd04   100GB enabled disabled         0         false    -&lt;BR /&gt;vsiscsi /vol/openstack_vol01/volume-29e3d627-edd1-45a3-a5ef-be3223e7aa49   100GB enabled  disabled         20.17GB   false    -&lt;BR /&gt;vsiscsi /vol/openstack_vol01/volume-4c2a0bb7-a42d-417b-ac29-754a51e98972   100GB enabled&lt;BR /&gt;disabled         0         false    -&lt;BR /&gt;vsiscsi /vol/openstack_vol01/volume-889e981c-0011-48b1-9c88-d14a8cfe70e6   10GB  enabled  disabled         75.31MB   false    -&lt;BR /&gt;vsiscsi /vol/openstack_vol01/volume-f685ca71-24e2-4b5b-99f9-d8f3cad7a821   1GB   enabled   disabled         28.76MB   false    low_iops&lt;BR /&gt;vsiscsi /vol/openstack_vol02/snapshot-bf6f5f15-ff79-48b1-acca-e739eb34765b 100GB enabled       disabled         0         true     -&lt;BR /&gt;vsiscsi /vol/openstack_vol02/volume-64f3eef6-0a84-416c-bf56-1a5a31b13ab4 100GB enabled       disabled         0         true     -&lt;BR /&gt;vsiscsi /vol/openstack_vol02/volume-713a0209-60ea-4b8f-ba9e-86f7f0265d4f  100GB enabled       disabled         0         false    -&lt;BR /&gt;vsiscsi /vol/openstack_vol02/volume-bc50dd29-8ab3-47f1-af15-f5f46630fe57   100GB enabled       disabled         100.4GB   false    -&lt;BR /&gt;vsiscsi /vol/openstack_vol02/volume-da7c0dd1-c681-40d6-8eb4-f83d00cd9125   20GB  enabled       disabled         86.63MB   false -&lt;BR /&gt;vsiscsi /vol/openstack_vol03/volume-38efc175-fab&lt;BR /&gt;a-446e-b2ce-e36902cf1ffa   100GB enabled       disabled         0         false    -&lt;BR /&gt;vsiscsi /vol/openstack_vol03/volume-62b7f871-8f53-4694-aa3f-84956b28064d   100GB enabled       disabled         0         false -&lt;BR /&gt;vsiscsi /vol/openstack_vol03/volume-a7c7188d-226d-4e67-84d5-72848d25f39c   100GB enabled       disabled         0         false  -&lt;BR /&gt;vsiscsi /vol/openstack_vol03/volume-b05f5667-9cc4-49c0-82fd-40adc7366fd5   100GB enabled       disabled         0         false   -&lt;BR /&gt;17 entries were displayed.&lt;BR /&gt;&lt;BR /&gt;And finally how can I retrieve statistics:&lt;BR /&gt;&lt;BR /&gt;c02::*&amp;gt;  statistics start -object lun -vserver vsiscsi -instance /vol/openstack_vol02/volume-bc50dd29-8ab3-47f1-af15-f5f46630fe57 -counter read_ops|read_data|write_ops|write_data|total_ops|avg_write_latency|avg_read_latency&lt;BR /&gt;&lt;BR /&gt;Warning: The existing sample will be overwritten for sample-id: :sample_369.&lt;BR /&gt;Do you want to continue? {y|n}: y&lt;BR /&gt;Statistics collection is being started for Sample-id: sample_369&lt;BR /&gt;&lt;BR /&gt;c02::*&amp;gt; statistics show -object lun -instance /vol/openstack_vol02&lt;BR /&gt;/volume-bc50dd29-8ab3-47f1-af15-f5f46630fe57&lt;BR /&gt;&lt;BR /&gt;Error: show failed: Statistics collection for sample "sample_369", was not completed successfully. Please delete this sample.&lt;BR /&gt;&lt;BR /&gt;c02::*&amp;gt; statistics show-periodic -object lun -instance /vol/openstack_vol02/volume-bc50dd29-8ab3-47f1-af15-f5f46630fe57&lt;BR /&gt;&lt;BR /&gt;Warning: Failed to get statistics for object lun: For object "lun", no instances were found to match the given query.&lt;BR /&gt;Error: command failed: entry doesn't exist&lt;BR /&gt;&lt;BR /&gt;Any help on the matter would be great..&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:48:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/CINDER-How-can-I-relate-lun-clones-vol-file-clone-with-their-parent-luns/m-p/102093#M20698</guid>
      <dc:creator>MiguelTSE</dc:creator>
      <dc:date>2025-06-05T04:48:36Z</dc:date>
    </item>
  </channel>
</rss>

