forked from laiweijian4/doc-exports
Reviewed-by: Muller, Martin <martin.muller@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
143 lines
10 KiB
HTML
143 lines
10 KiB
HTML
<a name="sfs_02_0056"></a><a name="sfs_02_0056"></a>
|
|
|
|
<h1 class="topictitle1">Expanding the Capacity of a File System</h1>
|
|
<div id="body1540364707164"><div class="section" id="sfs_02_0056__section10078954"><h4 class="sectiontitle">Function</h4><p class="msonormal" id="sfs_02_0056__p38041743">This API is used to expand the capacity of an SFS Turbo file system. Capacity expansion is an asynchronous operation. You can check whether the expansion is successful by checking field <strong id="sfs_02_0056__b957025914720">sub_status</strong> returned by <a href="sfs_02_0054.html">Querying Details About a Single File System</a>. If the value of the sub-status is <strong id="sfs_02_0056__b1517119835219">221</strong>, the expansion is successful.</p>
|
|
</div>
|
|
<div class="section" id="sfs_02_0056__section23601724"><h4 class="sectiontitle">URI</h4><ul id="sfs_02_0056__ul61482363"><li id="sfs_02_0056__li16470363">URI format<p id="sfs_02_0056__p14015540"><a name="sfs_02_0056__li16470363"></a><a name="li16470363"></a>POST /v1/{project_id}/sfs-turbo/shares/{share_id}/action</p>
|
|
</li><li id="sfs_02_0056__li59031001">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sfs_02_0056__table61516961" frame="border" border="1" rules="all"><thead align="left"><tr id="sfs_02_0056__row15685300"><th align="left" class="cellrowborder" valign="top" width="15.841584158415841%" id="mcps1.3.2.2.2.1.1.5.1.1"><p id="sfs_02_0056__p62549763">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13.861386138613863%" id="mcps1.3.2.2.2.1.1.5.1.2"><p id="sfs_02_0056__p33366031">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13.861386138613863%" id="mcps1.3.2.2.2.1.1.5.1.3"><p id="sfs_02_0056__p1750013217615">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.43564356435643%" id="mcps1.3.2.2.2.1.1.5.1.4"><p id="sfs_02_0056__p18293951">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sfs_02_0056__row5415035"><td class="cellrowborder" valign="top" width="15.841584158415841%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0056__p35964716">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0056__p27460922">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0056__p16500113211620">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.43564356435643%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0056__p24840910">Specifies the project ID. For details about how to obtain the project ID, see <a href="sfs_02_0001.html">API Usage Guidelines</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sfs_02_0056__row20571123"><td class="cellrowborder" valign="top" width="15.841584158415841%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0056__p55648230">share_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0056__p11212819">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0056__p550013321568">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.43564356435643%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0056__p35823136">Specifies the ID of the SFS Turbo file system.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sfs_02_0056__section11088925"><h4 class="sectiontitle">Request</h4><ul id="sfs_02_0056__ul15992885"><li id="sfs_02_0056__li9718243">Parameter description
|
|
<div class="tablenoborder"><a name="sfs_02_0056__table20355323"></a><a name="table20355323"></a><table cellpadding="4" cellspacing="0" summary="" id="sfs_02_0056__table20355323" frame="border" border="1" rules="all"><thead align="left"><tr id="sfs_02_0056__row26131842"><th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.2.1.1.1.5.1.1"><p id="sfs_02_0056__p36304473">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.3.2.1.1.1.5.1.2"><p id="sfs_02_0056__p24294565">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13%" id="mcps1.3.3.2.1.1.1.5.1.3"><p id="sfs_02_0056__p54981229">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.99999999999999%" id="mcps1.3.3.2.1.1.1.5.1.4"><p id="sfs_02_0056__p21702762">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sfs_02_0056__row13093283"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="sfs_02_0056__p53923001">extend</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="sfs_02_0056__p57988249">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="sfs_02_0056__p5686931">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.99999999999999%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="sfs_02_0056__p66536629">Specifies the <strong id="sfs_02_0056__b3970339495">extend</strong> object. For details, see the <a href="#sfs_02_0056__table20355323">parameter in the extend field</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="sfs_02_0056__li7964929112019">Parameter in the <strong id="sfs_02_0056__b17596101019497">extend</strong> field
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sfs_02_0056__table19964132917205" frame="border" border="1" rules="all"><thead align="left"><tr id="sfs_02_0056__row10964029182010"><th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.2.2.2.1.5.1.1"><p id="sfs_02_0056__p1396402992014">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.3.2.2.2.1.5.1.2"><p id="sfs_02_0056__p69647296201">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13%" id="mcps1.3.3.2.2.2.1.5.1.3"><p id="sfs_02_0056__p65255358226">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.99999999999999%" id="mcps1.3.3.2.2.2.1.5.1.4"><p id="sfs_02_0056__p8964112917202">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sfs_02_0056__row7979112912017"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.2.2.1.5.1.1 "><p id="sfs_02_0056__p2979329122015">new_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.2.2.1.5.1.2 "><p id="sfs_02_0056__p1897992915202">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.2.2.2.1.5.1.3 "><p id="sfs_02_0056__p4525113511223">Int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.99999999999999%" headers="mcps1.3.3.2.2.2.1.5.1.4 "><p id="sfs_02_0056__p699517298209">Specifies the new capacity (GB) of the shared file system. The capacity expansion step is greater than or equal to 100 GB.</p>
|
|
<p id="sfs_02_0056__p146831719218">For a common file system, the value of capacity ranges from 500 to 32768.</p>
|
|
<p id="sfs_02_0056__p5961122432519">For an enhanced file system, the value of capacity ranges from 10240 to 327680.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="sfs_02_0056__ul20757836"><li id="sfs_02_0056__li52602802">Example request<pre class="screen" id="sfs_02_0056__screen26001441425">{
|
|
"extend": {
|
|
"new_size": 500
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sfs_02_0056__section32691462"><h4 class="sectiontitle">Response</h4><ul id="sfs_02_0056__ul9130382"><li id="sfs_02_0056__li15064580">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sfs_02_0056__table1363496" frame="border" border="1" rules="all"><thead align="left"><tr id="sfs_02_0056__row43473456"><th align="left" class="cellrowborder" valign="top" width="20.200000000000003%" id="mcps1.3.4.2.1.1.1.4.1.1"><p id="sfs_02_0056__p31689036">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="23.23%" id="mcps1.3.4.2.1.1.1.4.1.2"><p id="sfs_02_0056__p16675084">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.57%" id="mcps1.3.4.2.1.1.1.4.1.3"><p id="sfs_02_0056__p8504536">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sfs_02_0056__row17778841"><td class="cellrowborder" valign="top" width="20.200000000000003%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="sfs_02_0056__p30800055">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="sfs_02_0056__p11776537">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="sfs_02_0056__p14375464">Specifies the ID of the SFS Turbo file system.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sfs_02_0056__row62270315"><td class="cellrowborder" valign="top" width="20.200000000000003%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="sfs_02_0056__p10730792">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="sfs_02_0056__p63887813">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="sfs_02_0056__p7530346">Specifies the name of the SFS Turbo file system.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="sfs_02_0056__ul5978304"><li id="sfs_02_0056__li53804741">Example response<pre class="screen" id="sfs_02_0056__screen1505182054314">{
|
|
"id": "67d4bd5e-7b2f-4c24-9a0b-c0038940c6f8",
|
|
"name": "sfs-turbo-cts"
|
|
}</pre>
|
|
<p id="sfs_02_0056__p32079773"></p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sfs_02_0056__section25787704"><h4 class="sectiontitle">Status Codes</h4><ul id="sfs_02_0056__ul48324853"><li id="sfs_02_0056__li32270495">Normal</li></ul>
|
|
<p class="msonormal" id="sfs_02_0056__p21999005">202</p>
|
|
<ul id="sfs_02_0056__ul63773318"><li id="sfs_02_0056__li37088957">Abnormal</li></ul>
|
|
<p class="msonormal" id="sfs_02_0056__p65365162">For details, see <a href="sfs_02_0089.html">Status Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="sfs_02_0055.html">Storage Capacity Management</a></div>
|
|
</div>
|
|
</div>
|
|
|