쿠키 기본 설정 선택

당사는 사이트와 서비스를 제공하는 데 필요한 필수 쿠키 및 유사한 도구를 사용합니다. 고객이 사이트를 어떻게 사용하는지 파악하고 개선할 수 있도록 성능 쿠키를 사용해 익명의 통계를 수집합니다. 필수 쿠키는 비활성화할 수 없지만 '사용자 지정' 또는 ‘거부’를 클릭하여 성능 쿠키를 거부할 수 있습니다.

사용자가 동의하는 경우 AWS와 승인된 제3자도 쿠키를 사용하여 유용한 사이트 기능을 제공하고, 사용자의 기본 설정을 기억하고, 관련 광고를 비롯한 관련 콘텐츠를 표시합니다. 필수가 아닌 모든 쿠키를 수락하거나 거부하려면 ‘수락’ 또는 ‘거부’를 클릭하세요. 더 자세한 내용을 선택하려면 ‘사용자 정의’를 클릭하세요.

Updating an Amazon FSx for OpenZFS volume

포커스 모드
Updating an Amazon FSx for OpenZFS volume - FSx for OpenZFS
이 페이지는 귀하의 언어로 번역되지 않았습니다. 번역 요청

This section provides information on how to update a volume using the Amazon FSx console, the AWS CLI, and the Amazon FSx API, and details on the volume properties that you can modify.

Updating a volume (Amazon FSx console, AWS CLI, and Amazon FSx API)

  1. Open the Amazon FSx console at https://console.aws.amazon.com/fsx/.

  2. Navigate to File systems and choose the FSx for OpenZFS file system that you want to update a volume for.

  3. Choose the Volumes tab.

  4. Choose the volume that you want to update.

  5. For Actions, choose Update volume.

    The Update volume dialog box displays with the volume's current settings.

  6. For Storage capacity quota - optional, you can set a quota that will be the maximum storage size for the volume. This quota cannot be larger than the parent volume quota. To set no quota and allow this volume to consume any available capacity in your file system, set this property to -1.

  7. For Storage capacity reservation - optional, you can enter the reservation for the volume. This reserves dedicated space on the file system storage pool, meaning the space available to all other volumes is reduced by the amount specified. It cannot be set to a value that's greater than the parent volume quota or the remaining reservation space on the file system storage. To set no reservation and allow this volume to consume any available capacity in your file system, set this property to 0 or -1.

  8. For Data compression type, choose the type of compression to use for your volume—either Zstandard, LZ4, or No compression. Zstandard compression provides more data compression and higher read throughput than LZ4 compression. LZ4 compression provides less compression and higher write throughput performance than Zstandard compression. Changing this property affects only newly-written data. For more information about the storage and performance benefits of volume data compression options, see Data compression.

  9. For NFS exports, you can modify or remove the existing client configurations that define which clients can access the volume and what permissions they have.

    You can provide additional client configurations for the volume:

    1. In the Client addresses field, specify which clients can access the volume. Enter an asterisk (*) for any client, a specific IP address, or a CIDR range of IP addresses.

    2. In the NFS options field, enter a comma-delimited set of exports options. For example, enter rw to allow read and write permissions to the volume.

    3. Choose Add client configuration.

    4. Repeat the procedure to add another client configuration.

    For more information, see NFS exports.

  10. For Record size, choose whether to use the default suggested record size of 128 KiB, or to set a User-configured suggested record size for the volume. Generally, workloads that write in fixed small or large record sizes may benefit from setting a custom record size, like database workloads (small record size) or media streaming workloads (large record size). We recommend the default setting for the majority of use cases. For more information about the record size setting, see Configurable volume properties.

  11. For User and group quotas, you can change or set a storage quota for a user or group:

    1. For Quota type, choose USER or GROUP.

    2. For User or group ID, enter a number that is the ID of the user or group.

    3. For Usage quota, enter a number that is the storage quota in GiB of the user or group.

    4. To create additional user or group quotas, choose Add quota and repeat the procedure to change or add a quota for another user or group.

  12. For Record size, enter the desired maximum size of a logical block in a ZFS dataset. Valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB. Most file systems will use the default value. Database workflows can benefit from a smaller record size, while streaming workflows can benefit from a larger record size. For more information about Record size and file system performance, see ZFS record size.

  13. Choose Update to update the volume.

  1. Open the Amazon FSx console at https://console.aws.amazon.com/fsx/.

  2. Navigate to File systems and choose the FSx for OpenZFS file system that you want to update a volume for.

  3. Choose the Volumes tab.

  4. Choose the volume that you want to update.

  5. For Actions, choose Update volume.

    The Update volume dialog box displays with the volume's current settings.

  6. For Storage capacity quota - optional, you can set a quota that will be the maximum storage size for the volume. This quota cannot be larger than the parent volume quota. To set no quota and allow this volume to consume any available capacity in your file system, set this property to -1.

  7. For Storage capacity reservation - optional, you can enter the reservation for the volume. This reserves dedicated space on the file system storage pool, meaning the space available to all other volumes is reduced by the amount specified. It cannot be set to a value that's greater than the parent volume quota or the remaining reservation space on the file system storage. To set no reservation and allow this volume to consume any available capacity in your file system, set this property to 0 or -1.

  8. For Data compression type, choose the type of compression to use for your volume—either Zstandard, LZ4, or No compression. Zstandard compression provides more data compression and higher read throughput than LZ4 compression. LZ4 compression provides less compression and higher write throughput performance than Zstandard compression. Changing this property affects only newly-written data. For more information about the storage and performance benefits of volume data compression options, see Data compression.

  9. For NFS exports, you can modify or remove the existing client configurations that define which clients can access the volume and what permissions they have.

    You can provide additional client configurations for the volume:

    1. In the Client addresses field, specify which clients can access the volume. Enter an asterisk (*) for any client, a specific IP address, or a CIDR range of IP addresses.

    2. In the NFS options field, enter a comma-delimited set of exports options. For example, enter rw to allow read and write permissions to the volume.

    3. Choose Add client configuration.

    4. Repeat the procedure to add another client configuration.

    For more information, see NFS exports.

  10. For Record size, choose whether to use the default suggested record size of 128 KiB, or to set a User-configured suggested record size for the volume. Generally, workloads that write in fixed small or large record sizes may benefit from setting a custom record size, like database workloads (small record size) or media streaming workloads (large record size). We recommend the default setting for the majority of use cases. For more information about the record size setting, see Configurable volume properties.

  11. For User and group quotas, you can change or set a storage quota for a user or group:

    1. For Quota type, choose USER or GROUP.

    2. For User or group ID, enter a number that is the ID of the user or group.

    3. For Usage quota, enter a number that is the storage quota in GiB of the user or group.

    4. To create additional user or group quotas, choose Add quota and repeat the procedure to change or add a quota for another user or group.

  12. For Record size, enter the desired maximum size of a logical block in a ZFS dataset. Valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB. Most file systems will use the default value. Database workflows can benefit from a smaller record size, while streaming workflows can benefit from a larger record size. For more information about Record size and file system performance, see ZFS record size.

  13. Choose Update to update the volume.

  • To update the configuration of an FSx for OpenZFS volume, use the update-volume CLI command (or the equivalent UpdateVolume API operation), as shown in the following example. In this example, the StorageCapacityQuota and StorageCapacityReservationGiB properties are unset, turning off the quota capacity reservation for the volume.

    aws fsx update-volume \ --volume-id fsxvol-0123456789abcdef0 \ --open-zfs-configuration '{ "DataCompressionType": "ZSTD", "NfsExports": [ { "ClientConfigurations": [ { "Clients": "192.0.2.0/24", "Options": [ "crossmnt" ] } ] } ], "RecordSizeKiB": 128, "StorageCapacityQuotaGiB": -1, "StorageCapacityReservationGiB": -1, "UserAndGroupQuotas": [ { "Id": 1102, "StorageCapacityQuotaGiB": 2000, "Type": "GROUP" } ] }'

  • To update the configuration of an FSx for OpenZFS volume, use the update-volume CLI command (or the equivalent UpdateVolume API operation), as shown in the following example. In this example, the StorageCapacityQuota and StorageCapacityReservationGiB properties are unset, turning off the quota capacity reservation for the volume.

    aws fsx update-volume \ --volume-id fsxvol-0123456789abcdef0 \ --open-zfs-configuration '{ "DataCompressionType": "ZSTD", "NfsExports": [ { "ClientConfigurations": [ { "Clients": "192.0.2.0/24", "Options": [ "crossmnt" ] } ] } ], "RecordSizeKiB": 128, "StorageCapacityQuotaGiB": -1, "StorageCapacityReservationGiB": -1, "UserAndGroupQuotas": [ { "Id": 1102, "StorageCapacityQuotaGiB": 2000, "Type": "GROUP" } ] }'

Modifiable volume properties

You can update the following FSx for OpenZFS volume properties:

  • Storage capacity quota – You can change an existing quota setting, set a new quota, or unset the capacity quota.

  • Storage capacity reservation – You can change an existing storage capacity setting, enable storage capacity reservation, or unset the capacity reservation.

  • Data compression type – You can enable compression, change the compression type, and turn compression off. Changing this property affects only newly-written data.

  • NFS exports – You can manage access to the volume by modifying Client addresses and NFS options. For more information, see NFS exports.

  • User and group quotas – You can change or remove existing quotas and add new quotas.

  • Volume record size – You can change the record size for the volume. Changing the volume record size affects only files created afterward; existing files are unaffected. For more information, see ZFS record size.

이 페이지에서

프라이버시사이트 이용 약관쿠키 기본 설정
© 2025, Amazon Web Services, Inc. 또는 계열사. All rights reserved.