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 -E 'dirty bit|data may be corrupt|recovery|unmounted|recovering'
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 the grep 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.
- 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. - Requesting reboot should cause an orderly shutdown and restart of the system.