QA:Testcase Storage Volume Resize
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.
DATA LOSS
Depending on installer choices this MAY destroy all the data on the test system. If you choose to complete the installation of the test system any/all data on the system may be lost. Please do not install on a system whose contents you need to keep.
Setup¶
- Obtain access to supported system and hardware class to be installed.
- Prepare appropriate media for the selected ISO to be tested.
- Example: QA:Testcase Media USB dd
- Boot the system from the prepared optical, USB media or virtual device attachment.
- In the boot menu select the appropriate option to boot the installer.
How to test¶
Resize¶
- From the Installation Destination spoke, in the Storage Configuration section, select the Custom radio button, then click Done.
- Expand the list of available partitions by clicking the black arrow to the left of the release version and architecture.
- Select the partition you wish to resize. Be sure to uncheck the Reformat checkbox if you wish to resize without reformatting the partition.
- Click the Update Settings button to save your settings.
- 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.
- Repeat as necessary for additional partitions, or click Done to return to the Anaconda main hub.
Delete¶
- From the Installation Destination spoke, in the Storage Configuration section, select the Automatic radio button, then click Done.
- You should be presented with an "Installation Options" dialog, indicating the amount of disk space that is available for use and available to reclaim.
- Click the Reclaim Space button.
- Select a partition, then click the Delete button to delete the partition and reclaim the space.
- Alternatively, click the Delete All button to delete all existing partitions.
- When you have finished, click the Reclaim Space button to reclaim available free space.
Expected Results¶
- The installation should complete and boot successfully.
- Resized partitions should correctly reflect the desired size. This may be verified using the
lsblk
command. - 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
Additional Information
If you have questions with respect to this content or to report concerns regarding the use or misuse content please do not hesitate to contact us at testing@rockylinux.org.
Rocky Linux and the Rocky Enterprise Software Foundation (RESF) does not make any express or implied warranties, including but not limited to the warranties of non-infringement of any third party intellectual property rights. RESF does not warrant that any pending trademark applications for trademarks of RESF will result in any granted trademark protection. RESF shall not be liable for any claims relating to user's activities falling within the scope of the permission and user hereby agrees to indemnify, defend and hold RESF and its contributors harmless against any such claim.
This work is heavily inspired by the Fedora Quality Assurance documents which were made available under Attribution-Share Alike 4.0 International license unless otherwise noted.
This content is licensed under under Attribution-Share Alike 4.0 International license unless otherwise noted.