QA:Testcase Partitioning On Software RAID

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|description=
 
|description=
 
A complete installation using a software RAID device for the root (''/'') file system. For more details on RAID please consult  [http://en.wikipedia.org/wiki/Redundant_array_of_independent_disks http://en.wikipedia.org/wiki/Redundant_array_of_independent_disks] .
 
A complete installation using a software RAID device for the root (''/'') file system. For more details on RAID please consult  [http://en.wikipedia.org/wiki/Redundant_array_of_independent_disks http://en.wikipedia.org/wiki/Redundant_array_of_independent_disks] .
 +
|setup=
 +
# Use a system with multiple disks but no hardware or firmware RAID arrays for testing: a virtual machine with multiple virtual disks is fine
 
|actions=
 
|actions=
# Boot the installer using any available means (boot.iso, CD, DVD, PXE or live image)
+
# Boot the installer using any available means
# Proceed to the partitioning step, select ''Create Custom Layout'' and click ''next''
+
# At the Installation Destination screen, be sure that ''Encrypt my data. I'll set a passphrase later'' is '''not''' selected
# Delete all partitions to start with empty disk(s)
+
# Select at least two disks, and continue installation
# Create the required boot partitions needed for your architecture. This includes {{filename|/boot}} and {{filename|swap}}
+
# Check the box to enter custom partitioning mode
# Create at least 2 RAID member partitions.  If you have multiple disks, it is preferred to place a RAID member on a separate disk.  However, for this test we are not validating data redundancy or an optimal administrative setup.  Therefore, it is okay to place all RAID members on the same disk
+
# Remove existing partitions, if necessary
# Create a RAID device (RAID0, RAID1, RAID5 or RAID6) using all RAID member partitions, and choose {{filename|/}} as mount point
+
# Create the required boot partitions needed for your architecture as non-RAID partitions. This includes {{filename|/boot}} and {{filename|swap}}
# Complete with installation as desired
+
# Create a partition, set its mount point to / and set its type to RAID (''stripe'' or ''mirror'' are both fine)
 +
# Optionally, also create a RAID {{filename|/home}} partition
 +
# Finish the installation, choosing all provided defaults
 
|results=
 
|results=
# Anaconda completes successfully
+
# The installer should successfully create and install to the RAID devices: unrelated failures should be reported but do not constitute a failure of this test case
# Reboot successfully into installed system
+
# After booting the installed system, inspection of {{filename|/proc/mdstat}} should confirm that the partitions designated as RAID devices are in fact RAID devices
# Confirm that the root filesystem is a RAID device with all expected RAID members by inspecting the contents of {{filename|/proc/mdstat}}
+
 
}}
 
}}
  
 
[[Category:Installer RAID Test Cases]]
 
[[Category:Installer RAID Test Cases]]

Revision as of 05:52, 22 November 2012

Contents

Description

A complete installation using a software RAID device for the root (/) file system. For more details on RAID please consult http://en.wikipedia.org/wiki/Redundant_array_of_independent_disks .

Setup

  1. Use a system with multiple disks but no hardware or firmware RAID arrays for testing: a virtual machine with multiple virtual disks is fine

How to test

  1. Boot the installer using any available means
  2. At the Installation Destination screen, be sure that Encrypt my data. I'll set a passphrase later is not selected
  3. Select at least two disks, and continue installation
  4. Check the box to enter custom partitioning mode
  5. Remove existing partitions, if necessary
  6. Create the required boot partitions needed for your architecture as non-RAID partitions. This includes /boot and swap
  7. Create a partition, set its mount point to / and set its type to RAID (stripe or mirror are both fine)
  8. Optionally, also create a RAID /home partition
  9. Finish the installation, choosing all provided defaults

Expected Results

  1. The installer should successfully create and install to the RAID devices: unrelated failures should be reported but do not constitute a failure of this test case
  2. After booting the installed system, inspection of /proc/mdstat should confirm that the partitions designated as RAID devices are in fact RAID devices