Changing the metadata configuration mode
You can change the metadata configuration mode of an existing file system using the AWS console and CLI, as explained in the following procedures.
When switching from Automatic mode to User-provisioned mode, you must provide a Metadata IOPS value greater than or equal to the current file system Metadata IOPS value.
Amazon FSx rejects a switch to Automatic mode when your current Metadata IOPS value is greater than what Automatic mode provisions, because decreasing Metadata IOPS is not supported. To unblock the switch, increase storage capacity for SSD file systems, or throughput capacity for Intelligent-Tiering file systems, until Automatic mode provisions at least your current Metadata IOPS.
You can change a file system's metadata configuration mode by using the Amazon FSx console, the AWS CLI, or the Amazon FSx API.
Open the Amazon FSx console at https://eusc-de-east-1.console.amazonaws-eusc.eu/fsx/
. In the left navigation pane, choose File systems. In the File systems list, choose the FSx for Lustre file system that you want to change the metadata configuration mode for.
For Actions, choose Update Metadata IOPS. Or, in the Summary panel, choose Update next to the file system's Metadata IOPS field.
The Update Metadata IOPS dialog box appears.
Do one of the following.
To switch from User-provisioned mode to Automatic mode, choose Automatic.
To switch from Automatic mode to User-provisioned mode, choose User-provisioned. Then, for Desired Metadata IOPS, provide a Metadata IOPS value greater than or equal to the current file system Metadata IOPS value.
Choose Update.
To change the metadata configuration mode for an FSx for Lustre file system, use the AWS CLI command update-file-system (UpdateFileSystem is the equivalent API action). Set the following parameters:
Set
--file-system-idto the ID of the file system that you are updating.To change the metadata configuration mode, use the
--lustre-configuration MetadataConfigurationproperty. This property has two parameters,ModeandIops.To switch your file system from AUTOMATIC mode to USER_PROVISIONED mode, set
ModetoUSER_PROVISIONEDandIopsto a Metadata IOPS value greater than or equal to the current file system Metadata IOPS value. For example:aws fsx update-file-system \ --file-system-idfs-0123456789abcdef0\ --lustre-configuration 'MetadataConfiguration={Mode=USER_PROVISIONED,Iops=96000}'To switch from USER_PROVISIONED mode to AUTOMATIC mode, set
ModetoAUTOMATICand do not use theIopsparameter. For example:aws fsx update-file-system \ --file-system-idfs-0123456789abcdef0\ --lustre-configuration 'MetadataConfiguration={Mode=AUTOMATIC}'