Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-6160

RH134-257: Add reminders in the instructions for necessary /etc/fstab options for Stratis and VDO filesystems

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • RH134 - RHEL 8 1 20190507
    • RH134 - Early Access
    • RH134
    • None
    • 8
    • en-US (English)

      URL:
      Reporter RHNID: mikephillips1973
      Section: -
      Language: en-US (English)||||||||
      Workaround:

      Description: Since both Stratis and VDO are new to me, I didn't realize how important their mount options were in /etc/fstab. Failure to use the options specified in the solutions will result in serverb booting to emergency.target on the next reboot. If the current outline for the course stands, then students won't get to Controlling the Boot Process until chapter 10. Of course I just looked at "Repairing File System Issues at Boot" (ch10s05) and that doesn't help a whole bunch. At any rate, in an effort to minimize the number of students (and instructors) who will make a mistake resulting in booting to emergency.target, consider adding some reminders to the instructions.

      Change step 7 from "Create a thinly provisioned file system named labfs in the labpool pool. Mount this file system on /labstratisvol so that it persists across reboots. Create a file named labfile1 that contains the text Hello World! on the labfs file system." to "Create a thinly provisioned file system named labfs in the labpool pool. Mount this file system on /labstratisvol so that it persists across reboots. Create a file named labfile1 that contains the text Hello World! on the labfs file system. Don't forget to use the x-systemd.requires=stratisd.service mount option in /etc/fstab."

      Change step 11 from "Mount the volume labvdo on /labvdovol with the XFS file system so that it persists across reboots." to "Mount the volume labvdo on /labvdovol with the XFS file system so that it persists across reboots. Don't forget to use the x-systemd.requires=vdo.service mount option in /etc/fstab."

      Just like an exam, students should reboot serverb before proceeding with grading. I think we should add that instruction, but if we do, we also need to provide some guidance for emergency.target. That note could be something like:
      If on a reboot, serverb doesn't boot to a regular login prompt but instead has "Give root password for maintenance (or press Control-D to continue):" you likely made a mistake in /etc/fstab. After providing the root password of redhat, you will need to remount the root file system as read-write with:
      [root@serverb ~]# mount -o remount,rw /
      Verify that /etc/fstab is configured correctly as specified in the solutions. Pay special attention to the mount options for the lines related to /labstratisvol and /labvdovol.

            rht-dspohn Dallas Spohn
            rht-miphilli Michael Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: