FSCK on RPi5 running HAOS

Hello, I am new to HAOS running on a RPi5 16GB with M.2 HAT and 250GB M.2 SSD. I am running into an error “Faild to write entry to /var/log/journal…”.

I troubleshooted some stuff already and could rule out stuff like a weak power supply or hardware issues (except the SSD itself), so I wanted to check the Filesystem next.

I am not new to Linux, I am running an UNRAID Server and had to do that a few times already so, but by god, I am not able to figure out how to do that on HAOS on a RPi.

I obviosly installed Terminal/SSH and if I type the command “fdisk --help” it shows all the options, but if I want to list all the disks with “fdisk -l” it just does nothing. Same with any “fsck” commands.

I don’t know if I am just dumb or does HAOS just works differently to other Linux based systems?

If someone can tell me how to check the filesystem that would be really great. Thank you very much!

Is that connected via USB? Perhaps if it is add it to a seperate powered USB Hub to rule out power drain thru the USB cable.

The RPi itself is connected to a 45W USB power supply, according to my research that is more than enough. The M.2 HAT is connected via the PCIe expansion slot.

This is the normal behavior if you are using HA’s Terminal function. fdisk is not part of the Supervisor shell.

Use ‘help’ to get a list of known commands.