Skip to main content
Amazon FSx for NetApp ONTAP

Manage the block devices for a file system in NetApp Workload Factory

Contributors netapp-rlithman

From the NetApp Workload Factory console, you can manage the block devices for your FSx for ONTAP file systems. Management tasks include viewing block device details, increasing capacity, managing client access, archiving block device data, and deleting block devices.

About this task

Block devices, or LUNs (logical unit numbers), are volumes that contain file systems in a SAN environment and can be accessed by hosts over a network.

You can manage block devices for FSx for ONTAP file systems that use the iSCSI protocol.

Before you begin

View block device details

View details for an existing block device at any time.

Steps
  1. Log in using one of the console experiences.

  2. Select the menu The hamburger menu icon is used to navigate to workloads like storage and then select Storage.

  3. From the Storage menu, select FSx for ONTAP.

  4. From FSx for ONTAP, select the Block devices tab.

  5. Navigate to the actions menu for block device and then select View details.

    General details, consumption, access, and protection information for the block device are displayed.

Increase the capacity of a block device

Increase the capacity of an existing block device at any time.

Steps
  1. Log in using one of the console experiences.

  2. Select the menu The hamburger menu icon is used to navigate to workloads like storage and then select Storage.

  3. From the Storage menu, select FSx for ONTAP.

  4. From FSx for ONTAP, select the Block devices tab.

  5. Navigate to the actions menu for the block device and then select Increase capacity.

  6. Enter the new capacity for the block device and select the unit.

  7. Select Increase to apply the changes.

Note After you increase the size of the block device, follow the procedure provided by your host operating system to discover the new size of the block device and expand the file system on it.

Manage client access for a block device

You can manage client access for an existing block device at any time by creating igroups, and adding or removing block devices and host initiators.

Steps
  1. Log in using one of the console experiences.

  2. Select the menu The hamburger menu icon is used to navigate to workloads like storage and then select Storage.

  3. From the Storage menu, select FSx for ONTAP.

  4. From FSx for ONTAP, select the Block devices tab.

  5. Navigate to the actions menu for the block device and then select Manage client access.

  6. If no igroup exists, create a new igroup by selecting Create igroup, and then do the following:

    1. Block device name: Enter a block device name. You can select multiple block devices to associate with the igroup.

    2. Operating system type: Select the operating system type.

    3. igroup name: Enter an igroup name.

    4. igroup description: Optionally, enter an igroup description.

    5. Host initiators: Enter one or more host initiators. These initiators must follow iSCSI qualified (IQN) format.

    6. Select Create.

  7. If an igroup already exists, select Edit client access to add or remove block devices and host initiators from the igroup and then select Apply.

Archive the data of an orphaned block device

Block devices that are no longer mapped to a client or unused for seven consecutive days are classified as orphaned block devices. You can archive the data of an orphaned block device to the capacity pool tier to reclaim SSD capacity.

Steps
  1. Log in using one of the console experiences.

  2. Select the menu The hamburger menu icon is used to navigate to workloads like storage and then select Storage.

  3. From the Storage menu, select FSx for ONTAP.

  4. From FSx for ONTAP, select the Block devices tab.

  5. Under Orphan devices, select View and reclaim capacity.

  6. On the Reclaim space for unused block devices screen, select one or more block devices to archive the data and reclaim the capacity.

  7. Select Archive.

Delete a block device

Block devices that are no longer mapped to a client or unused for seven consecutive days are classified as orphaned block devices. This operation unmaps and deletes the selected block device. If the host FlexVol volume doesn't contain any block devices, Workload Factory also deletes it.

Steps
  1. Log in using one of the console experiences.

  2. Select the menu The hamburger menu icon is used to navigate to workloads like storage and then select Storage.

  3. From the Storage menu, select FSx for ONTAP.

  4. From FSx for ONTAP, select the Block devices tab.

  5. Under Orphan devices, select View and reclaim capacity.

  6. On the Reclaim space for unused block devices screen, select one or more block devices to archive the data and reclaim the capacity.

  7. Select Delete.