wiki/docs/documentation/QA/Testcase_Storage_Volume_Res...

2.4 KiB

title author revision_date rc
QA:Testcase Storage Volume Resize Al Bowles 2022-07-08
prod ver level
Rocky Linux
8
9
Final

!!! info "Associated release criterion" This test case is associated with the Release_Criteria#Storage Volume Resize release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion.

Description

This test case verifies that the installer will successfully resize or delete and overwrite existing partitions on storage volumes.

{% include 'qa_data_loss_warning.md' %}

Setup

{% include 'qa_setup_boot_to_media.md' %}

How to test

Resize

  1. From the Installation Destination spoke, in the Storage Configuration section, select the Custom radio button, then click Done.
  2. Expand the list of available partitions by clicking the black arrow to the left of the release version and architecture.
  3. Select the partition you wish to resize. Be sure to uncheck the Reformat checkbox if you wish to resize without reformatting the partition.
  4. Click the Update Settings button to save your settings.
  5. Click the + button to create a new partition off of the existing partition. Provide a mount point and desired capacity, then click Add Mount Point.
  6. Repeat as necessary for additional partitions, or click Done to return to the Anaconda main hub.

Delete

  1. From the Installation Destination spoke, in the Storage Configuration section, select the Automatic radio button, then click Done.
  2. You should be presented with an "Installation Options" dialog, indicating the amount of disk space that is available for use and available to reclaim.
  3. Click the Reclaim Space button.
  4. Select a partition, then click the Delete button to delete the partition and reclaim the space.
  5. Alternatively, click the Delete All button to delete all existing partitions.
  6. When you have finished, click the Reclaim Space button to reclaim available free space.

Expected Results

  1. The installation should complete and boot successfully.
  2. Resized partitions should correctly reflect the desired size. This may be verified using the lsblk command.
  3. Deleted partitions should no longer exist.

Testing in openQA

The following openQA test suites satisfy this release criteria:

  • install_delete_partial
  • install_delete_pata
  • install_resize_lvm

{% include 'qa_testcase_bottom.md' %}