From Fedora Project Wiki
(clarify expected results) |
Chrismurphy (talk | contribs) (include grep output in bug report) |
||
Line 8: | Line 8: | ||
|actions= | |actions= | ||
# On the installed system, search for disk mount/unmount errors using the following command: <pre>sudo journalctl -b | grep -iv '\<recovery algorithm\>' | grep -iE '\<(dirty bit|corrupt|run fsck|recovery|recovering|tree-log replay)\>'</pre> If there is no output, there were no such errors and everything seems correct. | # On the installed system, search for disk mount/unmount errors using the following command: <pre>sudo journalctl -b | grep -iv '\<recovery algorithm\>' | grep -iE '\<(dirty bit|corrupt|run fsck|recovery|recovering|tree-log replay)\>'</pre> 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 using <pre>sudo journalctl -b > journal.log</pre> If the grep output does not show clearly that the output is related to a disk mount/unmount problem, open the {{filename|journal.log}} file, find the relevant lines and verify whether this is an error related to disk mounting or an unrelated message. | #* If there was some output from the grep command, save the full journal log using <pre>sudo journalctl -b > journal.log</pre> If the {{command|grep}} output does not show clearly that the output is related to a disk mount/unmount problem, open the {{filename|journal.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 {{pkg|kernel}} is most likely the correct package to file the report against) and attach the {{filename|journal.log}} file to the bug report. | #* If the output is related to disk mounting, please file a bug report (the {{pkg|kernel}} is most likely the correct package to file the report against) and attach the {{filename|journal.log}} file to the bug report. Please also include the output from the {{command|grep}} output as well. | ||
# Restart the system. | # 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). | # 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). |
Revision as of 15:23, 31 August 2020
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 using
sudo 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 grep command, save the full journal log using
- 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.