-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standard fsck isn't run on VM startup #979
Comments
Currently if one want to run fsck on /rw, it requires:
|
We should go with running standard fsck on VM startup. If it isn't desirable for some VM (which doesn't have /rw at all - DispVM), this could be addressed in .mount unit file with some condition. |
Alternatively you can run fsck on private.img from dom0 (if you trust fsck to not have security flaws, which is grantedly a risky assumption). Either way it's a required step for shrinking/compacting appvm filesystems to free up space. |
The agent really should detect if there is an error in the kernel ringbuffer or journald log, and submit that error for dom0 to display it in qubes-manager or with a notification. But this will not cover the case of a system entirely failing to boot. In that case, it's possible that monitoring the console log in dom0 can provide a mechanism that lets the user know (qubes-manager or notification) that the VM is not booting properly, MUCH, much faster than just waiting for a timeout and then just dying. |
Hello,
So, the automatic way has failed. I am not notified (unless I read journalctl after every boot) and I am not sure how to do it manually:
How has this happened? I guess this is related to having a full LVM thin provisioned pool in the past. |
This issue is being closed because:
If anyone believes that this issue should be reopened, please leave a comment saying so. |
/rw is not mounted in the standard way from /etc/fstab, because of for example DispVM, which does not have /rw mounted at all. This is also the reason why standard fsck isn't run on VM startup.
Possible solutions:
Add feature to
qubes-manager
to:2 .Check disk
3 .Repair disk
The text was updated successfully, but these errors were encountered: