

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 修改輸送量容量
<a name="increase-throughput-capacity"></a>

您可以使用 Amazon FSx 主控台、 AWS Command Line Interface (AWS CLI) 或 Amazon FSx API 修改 FSx for Lustre 檔案系統的輸送量容量。

## 修改 SSD 檔案系統的輸送量容量 （主控台）
<a name="update-throughput-console"></a>

1. 在 [https://console.aws.amazon.com/fsx/](https://console.aws.amazon.com/fsx/)：// 開啟 Amazon FSx 主控台。

1. 導覽至**檔案系統**，然後選擇您要修改輸送量容量的 FSx for Lustre 檔案系統。

1. 針對**動作**，選擇**更新輸送量層**。或者，在**摘要**面板中，選擇檔案系統**每單位儲存的輸送量**旁的**更新**。

   **更新輸送量層**視窗隨即出現。

1. 從清單中選擇**每單位儲存體所需的輸送量**的新值。

1. 選擇**更新**以啟動輸送量容量更新。
**注意**  
在更新期間，您的檔案系統可能會經歷非常短暫的無法使用。

## 修改 SSD 檔案系統的輸送量容量 (CLI)
<a name="update-throughput-cli"></a>
+ 若要修改檔案系統的輸送量容量，請使用 [update-file-system](https://docs.aws.amazon.com/cli/latest/reference/fsx/update-file-system.html) CLI 命令 （或同等的 [UpdateFileSystem](https://docs.aws.amazon.com/fsx/latest/APIReference/API_UpdateFileSystem.html) API 操作）。設定下列參數：
  + 將 `--file-system-id`設定為您要更新之檔案系統的 ID。
  + 將持久性 1 SSD 檔案系統的值`--lustre-configuration PerUnitStorageThroughput`設為 `50`、 `100`或 `200` MBps/TiB，將持久性 `125` `250`2 SSD 檔案系統的值設為 `500`、、 或 `1000`MBps/TiB。

  此命令指定將檔案系統的輸送量容量設定為 1000 MBps/TiB。

  ```
  aws fsx update-file-system \
      --file-system-id fs-0123456789abcdef0 \
      --lustre-configuration PerUnitStorageThroughput=1000
  ```

## 修改 Intelligent-Tiering 檔案系統的輸送量容量 （主控台）
<a name="update-int-throughput-console"></a>

1. 在 [https://console.aws.amazon.com/fsx/](https://console.aws.amazon.com/fsx/)：// 開啟 Amazon FSx 主控台。

1. 導覽至**檔案系統**，然後選擇您要修改輸送量容量的 FSx for Lustre 檔案系統。

1. 針對**動作**，選擇**更新輸送量容量**。或者，在**摘要**面板中，選擇檔案系統**輸送量容量**旁的**更新**。

   **更新輸送量容量**對話方塊隨即出現。

1. 從清單中選擇**所需輸送量容量**的新值。

   Amazon FSx 會自動擴展您的資料讀取快取，以避免清除快取內容。

1. 選擇**更新**以啟動輸送量容量更新。
**注意**  
在更新期間，您的檔案系統可能會經歷非常短暫的無法使用。

## 修改 Intelligent-Tiering 檔案系統的輸送量容量 (CLI)
<a name="update-int-throughput-cli"></a>
+ 若要修改檔案系統的輸送量容量，請使用 [update-file-system](https://docs.aws.amazon.com/cli/latest/reference/fsx/update-file-system.html) CLI 命令 （或同等的 [UpdateFileSystem](https://docs.aws.amazon.com/fsx/latest/APIReference/API_UpdateFileSystem.html) API 操作）。設定下列參數：
  + 將 `--file-system-id`設定為您要更新之檔案系統的 ID。
  + 如果您的資料讀取快取設定為與輸送量容量模式成比例，`--lustre-configuration ThroughputCapacity`請將 設定為 MBps `4000` 的輸送量層級，最多 `2000000`MBps。

    如果您的資料讀取快取是在使用者佈建模式中設定，您也需要使用 `--lustre-configuration DataReadCacheConfiguration` 屬性來指定資料讀取快取。您需要維護每個伺服器比率的相同快取儲存體，並指定新的 SizeGiB，否則請求將被拒絕。

  此命令指定針對使用與輸送量容量模式成比例設定的讀取快取的檔案系統，將輸送量容量設定為 8000 MBps。

  ```
  aws fsx update-file-system \
      --file-system-id fs-0123456789abcdef0 \
      --lustre-configuration '{
        "ThroughputCapacity": 8000
        }'
  ```

  此命令指定針對使用使用者佈建模式中設定的讀取快取的檔案系統，將輸送量容量設定為 8000 MBps。

  ```
  aws fsx update-file-system \
      --file-system-id fs-0123456789abcdef0 \
      --lustre-configuration { 
          "ThroughputCapacity": 8000, 
          "DataReadCacheConfiguration": '{ 
               "SizingMode":"USER_PROVISIONED"
               "SizeGiB":1000
               # New size should be cache storage allocated per server multiplied by number of file servers
           }
  }'
  ```