擴充 File Storage for Classic 的容量
將您的 IBM Cloud® File Storage for Classic 儲存空間容量擴增至最高 12 TB,無需建立重複資料或手動遷移資料。
透過此功能,File Storage for Classic 的使用者可立即將其 File Storage for Classic 的容量以 GB 為單位逐步擴充,最高可達 12 TB。 您無需建立副本,也無需手動將資料遷移至容量更大的磁碟區。 所有 資料中心 均可使用此功能。
該流量的帳單將自動更新,將新價格的按比例計算差額加入當前計費週期中。 然後,即會在下一個計費週期收取新的完整金額。
升級程序不是即時的。 提交修改請求後,您很快就會在控制台或透過 API 看到更新後的大小。 重新調整大小不會導致任何中斷或無法存取儲存體,因此您可以在等待期間照常繼續作業。
可擴充儲存空間的優點
-
成本管理 — 當您預期資料量將持續增長,但初期僅需少量儲存空間時,您可以先節省初期儲存成本,並隨著需求增長逐步擴充容量。
-
成長中的儲存空間需求 - 快速成長的客戶需要一種可快速且輕鬆地增加其儲存空間大小的方式,以管理成長。
擴充儲存空間容量對於抄寫的效果
主要儲存空間上的擴充動作會導致自動調整抄本大小。
限制
在該功能發布之前(即 2017 年 4 月至 2017 年 12 月 14 日期間)所配置的儲存空間,其容量最多可擴增至原始大小的 10 倍,且不得超過此上限。 於 2017 年 12 月 14 日之後配置的儲存空間,可擴增至 12 TB。
已佈建「耐久性」之 File Storage for Classic 的現有大小限制仍然適用(10 IOPS 層級最多為 4 TB,而所有其他層級最多為 12 TB)。
在擴充檔案共用的容量之後,您無法將檔案共用變更為較小的大小。
在控制台中調整儲存空間的大小
- 移至 IBM Cloud® 主控台。 從選單中選擇基礎架構
>經典基礎架構。 按一下儲存空間 > File Storage for Classic。
- 從清單中選取磁區,然後按一下省略符號
> 修改檔案共用。
- 輸入新的儲存空間大小(以 GB 為單位)。
- 檢閱您的選取項目及新的定價。 按一下 修改。
- 在幾分鐘之後,就可以使用您的新儲存空間配置。
卸載,然後裝載已修改的磁區,以便 OS 可以辨識額外的儲存空間。
從 CLI 調整儲存空間大小
開始之前,請決定您要使用的 CLI 用戶端。
- 您可以安裝 IBM Cloud CLI,並使用
ibmcloud plugin install sl來安裝 SL 外掛程式。 如需相關資訊,請參閱 使用外掛程式延伸 IBM Cloud CLI。 - 或者,您可以安裝 SLCLI。
從 IBMCLOUD CLI 重新調整檔案共用大小
您可以使用 ibmcloud sl file volume-modify 指令來增加磁區的容量。 下列範例透過指定新的較大容量來修改檔案共用。
ibmcloud sl file volume-modify 12345678 --new-size 1000
如需此指令可用的所有參數的相關資訊,請參閱 ibmcloud sl file volume-modify。
從 SLCLI 重新調整檔案共用的大小
若要增加儲存體容量,您可以在 SLCLI 中使用下列指令。
$ slcli file volume-modify --help
Usage: slcli file volume-modify [OPTIONS] VOLUME_ID
Options:
-c, --new-size INTEGER New Size of file volume in GB. ***If no size
is given, the original size of volume is
used.***
Potential Sizes: [20, 40, 80, 100,
250, 500, 1000, 2000, 4000, 8000, 12000]
Minimum: [the original size of the volume]
-i, --new-iops INTEGER Performance Storage IOPS, between 100 and 6000
in multiples of 100 [only for performance
volumes] ***If no IOPS value is specified, the
original IOPS value of the volume will be
used.***
Requirements: [If original IOPS/GB
for the volume is less than 0.3, new IOPS/GB
must also be less than 0.3. If original
IOPS/GB for the volume is greater than or
equal to 0.3, new IOPS/GB for the volume must
also be greater than or equal to 0.3.]
-t, --new-tier [0.25|2|4|10] Endurance Storage Tier (IOPS per GB) [only for
endurance volumes] ***If no tier is specified,
the original tier of the volume will be
used.***
Requirements: [If original IOPS/GB
for the volume is 0.25, new IOPS/GB for the
volume must also be 0.25. If original IOPS/GB
for the volume is greater than 0.25, new
IOPS/GB for the volume must also be greater
than 0.25.]
-h, --help Show this message and exit.
卸載,然後裝載已修改的磁區,以便 OS 可以辨識額外的儲存空間。
使用 API 調整儲存空間大小
您可以使用 SOAP Web 服務的 API 呼叫來增加儲存空間容量。 下列範例 API 呼叫可以從您選擇的 Scripting 語言進行。
如需 SLAPI 的相關資訊,請參閱 SLDN。
-
下列範例顯示如何增加效能儲存磁區上的容量。
XXXXXXXX是您要增加至2007GB 的磁區 ID。189433、190233及190293是與此磁區的容量及 IOPS 值相關聯的定價資訊 ID。<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://api.service.softlayer.com/soap/v3.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Header> <ns1:authenticate> </ns1:authenticate> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:placeOrder> <orderData xsi:type="ns1:SoftLayer_Container_Product_Order_Network_Storage_AsAService_Upgrade"> <volume xsi:type="ns1:SoftLayer_Network_Storage"> <id xsi:type="xsd:int">XXXXXXXX</id> </volume> <volumeSize xsi:type="xsd:int">2007</volumeSize> <packageId xsi:type="xsd:int">759</packageId> <prices SOAP-ENC:arrayType="ns1:SoftLayer_Product_Item_Price[3]" xsi:type="SOAP-ENC:Array"> <item xsi:type="ns1:SoftLayer_Product_Item_Price"> <id xsi:type="xsd:int">189433</id> </item> <item xsi:type="ns1:SoftLayer_Product_Item_Price"> <id xsi:type="xsd:int">190233</id> </item> <item xsi:type="ns1:SoftLayer_Product_Item_Price"> <id xsi:type="xsd:int">190293</id> </item> </prices> </orderData> </ns1:placeOrder> </SOAP-ENV:Body> </SOAP-ENV:Envelope> -
增加耐久性儲存空間磁區上的容量。
XXXXXXXX是您要增加至250GB 的磁區 ID。189433、196033及196093是與此磁區的容量及 IOPS 值相關聯的定價資訊 ID。<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://api.service.softlayer.com/soap/v3.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Header> <ns1:authenticate> </ns1:authenticate> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:placeOrder> <orderData xsi:type="ns1:SoftLayer_Container_Product_Order_Network_Storage_AsAService_Upgrade"> <volume xsi:type="ns1:SoftLayer_Network_Storage"> <id xsi:type="xsd:int">XXXXXXXX</id> </volume> <packageId xsi:type="xsd:int">759</packageId> <volumeSize xsi:type="xsd:int">250</volumeSize> <prices SOAP-ENC:arrayType="ns1:SoftLayer_Product_Item_Price[3]" xsi:type="SOAP-ENC:Array"> <item xsi:type="ns1:SoftLayer_Product_Item_Price"> <id xsi:type="xsd:int">189433</id> </item> <item xsi:type="ns1:SoftLayer_Product_Item_Price"> <id xsi:type="xsd:int">196033</id> </item> <item xsi:type="ns1:SoftLayer_Product_Item_Price"> <id xsi:type="xsd:int">196093</id> </item> </prices> </orderData> </ns1:placeOrder> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
卸載,然後裝載已修改的磁區,以便 OS 可以辨識額外的儲存空間。
使用 Terraform 調整儲存空間大小
您可以使用 ibm_storage_file 資源,並在 capacity 引數中指定不同的數字,來增加儲存體容量。 下列範例會將「耐久性」磁區的容量增加至 40 GB。
resource "ibm_storage_file" "fs_endurance" {
type = "Endurance"
datacenter = "dal09"
capacity = 40
iops = 0.25
}
下列範例會將「效能」磁區的容量增加至 40 GB。
resource "ibm_storage_file" "fs_performance" {
type = "Performance"
datacenter = "dal09"
capacity = 40
iops = 100
}
如需引數及屬性的相關資訊,請參閱 ibm_storage_file。
卸載,然後裝載已修改的磁區,以便 OS 可以辨識額外的儲存空間。
擴充超過 12 TB 的儲存體
如果您需要將儲存空間磁區容量增加到超過 12 TB,則可以提交 支援案例來要求新增至允許清單。 當「供應項目經理」核准申請時,您將會透過案例處理程序收到通知。 您也將在主控台看到將儲存空間增加到 24 TB 的選項。
可對儲存體執行的作業數受到限制。 此限制為每秒 180k 次IOPS。 因此,如果您要佈建具有 10 IOPS 的磁區,則磁區大小上限為 18 TB。 如果您要佈建大小上限 24 TB,則磁區讀取及寫入作業的速率上限為每 GB 4 IOPS。