From Fedora Project Wiki
Description
This test case ensures that disk drive(s) are properly unmounted during a power down or a restart.
Setup
- Install or deploy the Fedora release media you wish to test. You can use any allowed configuration by the installer.
- Reboot to the installed system.
How to test
- On the installed system, search for disk mount/unmount errors using the following command:
sudo journalctl -b | grep -iv '\<recovery algorithm\>' | grep -iE '\<(dirty bit|corrupt|run fsck|recovery|recovering|tree-log replay)\>'
If there is no output, there were no such errors and everything seems correct.- If there was some output from the
grep
command, save the full journal log usingsudo journalctl -b > journal.log
If thegrep
output does not show clearly that the output is related to a disk mount/unmount problem, open thejournal.log
file, find the relevant lines and verify whether this is an error related to disk mounting or an unrelated message. - If the output is related to disk mounting, please file a bug report (the kernel is most likely the correct package to file the report against) and attach the
journal.log
file to the bug report. Please also include the output from thegrep
output as well.
- If there was some output from the
- Restart the system.
- Repeat all the steps above once more (the first pass checks whether the system unmounted disks properly when rebooting from the installer, the second pass checks whether the system unmounted disks properly when rebooting from the installed system).
Expected Results
- Each
grep
command should produce no output (or it should be unrelated to disk operations). - Requesting reboot should cause an orderly shutdown and restart of the system.