Hello what is the command line for run fsck on Ha OS 6.2?
1 Like
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.
At the 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?
fsck -A
Do not work at all
1 Like
Google has led me here as the 1st result. I haven’t found an answer here but here is what I can share.
- the
fsck
indeed works in HAAS OS if you
“At theha >
prompt (that you should get when you attach a monitor), typelogin
to 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/sda7
which 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