

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 亚马逊 f FSx or Lustre
<a name="shared-storage-config-fsxlustre-v3"></a>

要将 Lustre 文件系统的现有外部 FSx 文件系统用于集群生命周期之外的长期永久存储，请指定 [`FsxLustreSettings`](SharedStorage-v3.md#SharedStorage-v3-FsxLustreSettings)/[`FileSystemId`](SharedStorage-v3.md#yaml-SharedStorage-FsxLustreSettings-FileSystemId)。

如果未指定 [`FsxLustreSettings`](SharedStorage-v3.md#SharedStorage-v3-FsxLustreSettings)/[`FileSystemId`](SharedStorage-v3.md#yaml-SharedStorage-FsxLustreSettings-FileSystemId)，则默认情况下， AWS ParallelCluster 会从创建集群[`FsxLustreSettings`](SharedStorage-v3.md#SharedStorage-v3-FsxLustreSettings)时开始创建 FSx 适用于 Lustre 的托管文件系统。 AWS ParallelCluster 还会在删除群集或从群集配置中删除文件系统时删除文件系统和数据。

 FSx 对于 AWS ParallelCluster 托管的 Lustre 文件系统，当集群被删除`Delete`或`Retain`从群集配置中删除文件系统时，您可以使用 [`FsxLustreSettings`](SharedStorage-v3.md#SharedStorage-v3-FsxLustreSettings)/[`DeletionPolicy`](SharedStorage-v3.md#yaml-SharedStorage-FsxLustreSettings-DeletionPolicy)来指示 AWS ParallelCluster 或文件系统。默认情况下，将 `DeletionPolicy` 设置为 `Delete`。

**警告**  
对于 AWS ParallelCluster 托管共享存储，`Delete`默认设置`DeletionPolicy`为。  
这意味着如果满足以下条件之一，则会删除托管文件系统及其数据：  
您删除集群。
您更改托管共享存储配置 [`SharedStorage`](SharedStorage-v3.md)/[`Name`](SharedStorage-v3.md#yaml-SharedStorage-Name)。
您从配置中删除托管共享存储。
我们建议您定期备份共享存储，以避免数据丢失。您可以在集群中使用 [`SharedStorage`](SharedStorage-v3.md)/[`FsxLustreSettings`](SharedStorage-v3.md#SharedStorage-v3-FsxLustreSettings)/[`AutomaticBackupRetentionDays`](SharedStorage-v3.md#yaml-SharedStorage-FsxLustreSettings-AutomaticBackupRetentionDays) 和 [`DailyAutomaticBackupStartTime`](SharedStorage-v3.md#yaml-SharedStorage-FsxLustreSettings-DailyAutomaticBackupStartTime) 来定义备份。要了解如何管理数据备份 AWS 服务，请参阅《*AWS Backup 开发人员指南》*中的 [AWS Backup](https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html)。