<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Configuring a VolumeSnapshot on Huawei</title><link>https://huawei.github.io/css-docs/en/docs/advanced-services/snapshot-management/configuring-a-volumesnapshot/</link><description>Recent content in Configuring a VolumeSnapshot on Huawei</description><generator>Hugo</generator><language>en</language><copyright>Copyright © 2025 Huawei Technologies Co., Ltd. All rights reserved.</copyright><atom:link href="https://huawei.github.io/css-docs/en/docs/advanced-services/snapshot-management/configuring-a-volumesnapshot/index.xml" rel="self" type="application/rss+xml"/><item><title>Dynamically Provisioning a VolumeSnapshot</title><link>https://huawei.github.io/css-docs/en/docs/advanced-services/snapshot-management/configuring-a-volumesnapshot/dynamically-provisioning-a-volumesnapshot/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://huawei.github.io/css-docs/en/docs/advanced-services/snapshot-management/configuring-a-volumesnapshot/dynamically-provisioning-a-volumesnapshot/</guid><description>&lt;p>This section describes how to dynamically provision a VolumeSnapshot using Huawei CSI.&lt;/p>
&lt;h2 id="section12590411394">Prerequisites&lt;/h2>
&lt;ul>
&lt;li>The source PVC exists, and the backend where the PVC resides supports VolumeSnapshot creation.&lt;/li>
&lt;/ul>
&lt;h2 id="en-us_topic_0000002393093844_section11071242458">Creating a Snapshot for a Volume&lt;/h2>
&lt;p>The following is an example of the VolumeSnapshot configuration file:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-yaml" data-lang="yaml">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#8839ef">apiVersion&lt;/span>: snapshot.storage.k8s.io/v1
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#8839ef">kind&lt;/span>: VolumeSnapshot
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#8839ef">metadata&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#8839ef">name&lt;/span>: mysnapshot
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#8839ef">spec&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#8839ef">volumeSnapshotClassName&lt;/span>: mysnapclass
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#8839ef">source&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#8839ef">persistentVolumeClaimName&lt;/span>: mypvc
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You can modify the parameters according to 
&lt;a href="#en-us_topic_0000002393093844_en-us_topic_0254162579_table14111735169">Table 1&lt;/a>
.&lt;/p>
&lt;p>&lt;strong>Table 1&lt;/strong> VolumeSnapshot parameters&lt;/p>
&lt;p>&lt;a name="en-us_topic_0000002393093844_en-us_topic_0254162579_table14111735169">&lt;/a>&lt;/p>
&lt;table>&lt;thead align="left">&lt;tr id="en-us_topic_0000002393093844_en-us_topic_0254162579_row74136313166">&lt;th class="cellrowborder" valign="top" width="31.5%" id="mcps1.2.4.1.1">&lt;p id="en-us_topic_0000002393093844_en-us_topic_0254162579_p741313171613">&lt;a name="en-us_topic_0000002393093844_en-us_topic_0254162579_p741313171613">&lt;/a>&lt;a name="en-us_topic_0000002393093844_en-us_topic_0254162579_p741313171613">&lt;/a>Parameter&lt;/p></description></item><item><title>Pre-provisioning a VolumeSnapshot</title><link>https://huawei.github.io/css-docs/en/docs/advanced-services/snapshot-management/configuring-a-volumesnapshot/pre-provisioning-a-volumesnapshot/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://huawei.github.io/css-docs/en/docs/advanced-services/snapshot-management/configuring-a-volumesnapshot/pre-provisioning-a-volumesnapshot/</guid><description>&lt;p>This section describes how to pre-provision a VolumeSnapshot using Huawei CSI.&lt;/p>
&lt;h2 id="section12590411394">Prerequisites&lt;/h2>
&lt;ul>
&lt;li>A source VolumeSnapshot has been created on the Huawei storage device, and the created snapshot name can be obtained.&lt;/li>
&lt;/ul>
&lt;h2 id="en-us_topic_0000002393093844_section1925544124114">Creating a VolumeSnapshot Entity&lt;/h2>
&lt;p>The following is an example of the VolumeSnapshotContent file:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-yaml" data-lang="yaml">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#8839ef">apiVersion&lt;/span>: snapshot.storage.k8s.io/v1
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#8839ef">kind&lt;/span>: VolumeSnapshotContent
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#8839ef">metadata&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#8839ef">name&lt;/span>: mysnapshotcontent
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#8839ef">spec&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#8839ef">deletionPolicy&lt;/span>: Retain
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#8839ef">driver&lt;/span>: csi.huawei.com
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#8839ef">volumeSnapshotRef&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#8839ef">apiVersion&lt;/span>: snapshot.storage.k8s.io/v1
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#8839ef">kind&lt;/span>: VolumeSnapshot
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#8839ef">name&lt;/span>: mysnapshot
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#8839ef">namespace&lt;/span>: default
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#8839ef">source&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#8839ef">snapshotHandle&lt;/span>: mybackend.1.snapshot_001
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#8839ef">volumeSnapshotClassName&lt;/span>: &lt;span style="color:#40a02b">&amp;#34;mysnapclass&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You can modify the parameters according to 
&lt;a href="#table8786153415557">Table 1&lt;/a>
.&lt;/p></description></item></channel></rss>