Skip to content

Latest commit

 

History

History

02-managing-openzfs-resources

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Managing your Amazon FSx for OpenZFS File System

Summary

This section will help you become familiar with using the Amazon FSx console to manage your Amazon FSx for OpenZFS file systems.

You can use the Amazon FSx console, AWS CLI or FSx API to create a new file system.

Duration

Note
It will take approximately 15 minutes to complete this section.

Step-by-step Guide (Amazon FSx Console)

Examine Amazon FSx Console

  1. Go to the Amazon FSx console, Click the File system ID of your Amazon FSx for OpenZFS file system.

  2. Examine the Summary section of the file system. Find the values of the following file system attributes:

    • File system ID

    • Lifecycle state

    • Deployment type

    • SSD Storage capacity

    • Throughput capacity

    • Provisioned IOPS

    • Availability Zones

    • Creation time

  3. Examine the Network & security section of the file system. Click the Network & security tab. Find the values of the following file system attributes:

    • VPC

    • DNS name

    • KMS key ID

  4. Examine the subnet attributes of the file system:

    • Subnet

    • Availability Zone

    • Network interface

    • How would you find the VPC security groups associated to the file system?

      Hint: Click the Network interface link. In the ENI browser tab, click the Security groups attribute to view the inbound rules. Close the browser tab of the Network interface console.

  5. Return to the Amazon FSx console.

  6. Examine the Administration section of the file system. Click the Administration tab. Find the values of the following file system attribute:

    • Weekly maintenance window

  7. Examine the Backups section of the file system. Click the Backups tab.

    • Are daily automatic backups enabled?

    • Click Update to Change backup window and retention period. Accept default values and Click Save.

  8. Examine the Tags section of the file system. Click the Tags tab.

    • What tags (key/value) pairs are assigned to the file system?

  9. Examine the Volumes section of the file system. Click the Volumes tab where you should see 4 x volumes created by the workshop environment:

Examine the root volume

  • Right-Click on the volume named fsx and select Open Link in New Tab to Examine the volume properties in a new browser tab. Go to the new browser tab and Find the values of the following volume attributes:

    • Volume ID

    • Path

    • Parent volume ID. Why is the parent volume ID blank?

      Note
      fsx is the root volume and is the primary data container (or volume) in your file system. You can work with this root volume directly, or you can add child volumes to further organize your data after your file system is created.
    • What is the Quota configured on this volume?

    • What is the Reservation configured on this volume?

      Note
      Quotas define the maximum amount of capacity this volume is able to consume but does not guarantee the space. Reservations guarantee a minimum amount of capacity is always available to this volume. Only the volume with the reservation can use that storage space, regardless of the volume quotas that other volumes may have. By setting quotas without reservations, you can create space-efficient thin-provisioned volumes where capacity is allocated only as storage is being consumed. With thin-provisioned volumes, you can assign quotas that are collectively larger than the existing capacity of the file system or quota of a parent volume.
    • Examine the NFS exports section of the volume.

      • Review the NFS mount options configured on this volume and the client IP addresses that can mount this volume.

    • Examine the Quotas section of the volume.

      • Are any user and group quotas configured?

    • Examine the Monitoring section of the volume.

      • What metrics can you monitor for this volume?

    • Examine the Volumes section of the volume.

      • Are there child volumes configured under this root volume?

    • Examine the Snapshots section of the volume.

      • Are there any snapshots created for this volume?

Examine the child volumes

  • Return to the browser tab for your Amazon FSx for OpenZFS file system and Volumes section of your file system. If you closed the browser tab return to the Amazon FSx console, Click the File system ID of your Amazon FSx for OpenZFS file system and then Volumes section of your file system.

  • Right-Click on the volume named sync_vol and select Open Link in New Tab to Examine the volume properties in a new browser tab. Go to the new browser tab and Find the values of the following volume attributes:

    • Volume ID

    • Parent volume ID. Right-Click on the Parent volume ID fsvol-<abc0123> and select Open Link in New Window to Examine the parent volume name. Close this browser window and Return to the browser tab to continue examining the sync_vol volume.

      Tip
      The parent volume can be the root volume or another volume.
    • Path

      Tip
      Do you see anything different in the path name compared to the root volume?
    • Quota

    • Reservation

    • Examine the NFS exports section of this volume.

      • Review the NFS mount options configured on this volume and the client IP addresses that can mount this volume.

    • Examine the Snapshots section of this volume.

      • Are there any snapshots created for this volume?

  • Return to the browser tab for your Amazon FSx for OpenZFS file system and Volumes section of your file system. If you closed the browser tab return to the Amazon FSx console, Click the File system ID of your Amazon FSx for OpenZFS file system and then Volumes section of your file system.

  • Right-Click on the volume named async_vol and select Open Link in New Tab to Examine the volume properties in a new browser tab. Go to the new browser tab and Find the values of the following volume attributes:

    • Volume ID

    • Parent volume ID. Right-Click on the Parent volume ID fsvol-<abc0123> and select Open Link in New Window to Examine the parent volume name. Close this browser window and Return to the browser tab to continue examining the async_vol volume.

      Tip
      The parent volume can be the root volume or another volume on the file system.
    • Path. Do you see anything different in the path name compared to the root volume?

    • Quota

    • What is the Reservation configured on this volume?

      Tip
      The Reservation of 100 GiB guarantees this amount of capacity is always available to this volume.
    • Examine the NFS exports section of this volume.

      • Do you see anything different with the NFS mount options for this volume when compared to the root fsx volume or sync_vol?

        Note
        By default, volumes are exported with sync mount option which ensures writes are acknowledged after they have been committed to disk. When async mount option is used, replies to client requests (such as write requests) after the changes have been committed to memory on the file server, but before any changes made by that request have been committed to stable storage (i.e disk drives). This setting can improve performance for latency-intensive or IOPS-intensive workloads. Use of the async option should be carefully evaluated for your use cases as it can cause data to be lost or corrupted if a write request is acknowledged but the file server crashes before the write request is fully written to disk.
    • Examine the Quotas section of this volume.

      • Are any user and group quotas configured?

Next section

Click the link below to go to the next section.

client access