From Fedora Project Wiki

Revision as of 04:26, 1 September 2020 by Sumantrom (talk | contribs)

Description

This test case ensures that the data in the /home directory is retained and usable on a btrfs layout after another fedora is installed on the same partition.

Setup

  1. Install Fedora 33 with btrfs layout
  2. Create some distinct files and directories in your home directory or directly in /home

How to test

Note.png
This test case has no step to remove anything, including the previous root subvolume. In step 5, by default Anaconda will create a new subvolume root00 mounted at /. You can choose to delete the root subvolume in the installer or at your leisure. Other than consuming space, there is no conflict with this "extra root".
  1. Boot to the Fedora 33 installer, make sensible choices
  2. In partitioning view, click the custom under the storage
  3. Create /boot/efi or BIOS Boot mount point (can be reused or reformatted)
  4. Create /boot mount point (can be reused or reformatted)
  5. Create / mount point (this is required to be a new subvolume)
  6. Locate the home subvolume you want, the current UI it's pretty easy
  7. Click on that subvolume, and on the right hand side at the top, find Mount Point field, type in /home, click Update Settings button.
  8. Click Done
  9. Perform the installation and reboot the machine
  10. After logging in, check that your home directory or /home contains the files you created on your previous system (check their contents as well)

Expected Results

  1. The installation should continue without fail
  2. The /home directory should have your previously-created files