Hello what is the command line for run fsck on Ha OS 6.2?
or just how to check filesystem and storage for errors … Very good question.
I don’t run Home Assistant OS myself, so I just tested it in a VM.
ha > prompt (that you should get when you attach a monitor), type
login to get to a root shell.
fsck --help printed out the standard help message, so I think it should work.
So how to check it?
Do not work at all
Google has led me here as the 1st result. I haven’t found an answer here but here is what I can share.
fsckindeed works in HAAS OS if you
ha >prompt (that you should get when you attach a monitor), type
loginto get to a root shell.”
- The execution looks like this
# fsck -AVCM
fsck from util-linux 2.37.4
Checking all file systems
- Means the tool is working but all the file systems are mounted and therefore can’t be checked by the tool. I have confirmed that with running
fsck /dev/sda7which has returned a message that it is mounted.
From here I have to assume that running this took at the point of time when the OS is up and running is not possible. The only hope I have is that it is being executed on every startup in order to fix issues if any