SSD connected over USB won't mount

  • Hi, I have a Pine64 rock64 board that I am running LibreELEC 12.2.1 on.
    I have an SSD formatted as EXT4 that I am attempting to mount over USB. The SSD drive is in a USB enclosure with external power.

    Unfortunately, it doesn't seem to mount, and I can't make sense of the logs...
    Is someone able to help?
    Thanks :)

    https://paste.libreelec.tv/prime-bison.log


    Output from dmesg after a reboot with the drive attached is here:
    paste.libreelec.tv/sterling-dinosaur.log

    Edited once, last by wolf7250 (January 11, 2026 at 8:20 AM).

  • Looking through the debug logfile, these lines seem relevant... though not sure what they mean.

    Bash
    Jan 11 13:36:04.363184 MobileKodi udevil[541]: mount: /var/media/sda1-ata-Samsung_SSD_860_: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.
    Jan 11 13:36:04.363184 MobileKodi udevil[541]:        dmesg(1) may have more information after failed mount system call.
    Jan 11 13:36:04.371122 MobileKodi kernel: EXT4-fs (sda1): The kernel was not built with CONFIG_QUOTA and CONFIG_QFMT_V2

    One of the lines above seems to prompt to check the dmesg output.... again looking at those, I see a repetition of "kernel not built with CONFIG_QUOTA and CONFIG_QFMT_V2"...

    Code
    [   14.531981] EXT4-fs (sda1): The kernel was not built with CONFIG_QUOTA and CONFIG_QFMT_V2

    Again, I don't know what this means or why it's happening....

    EDIT: Googling this, I suspect it is because I created the EXT4 filesystem on OpenMediaVault which has support for quota metadata.... am I going down the right track with my understanding? And what are my options?

  • Thanks chewitt, I'm interested in having a go at creating my own image with those options compiled into the kernel.
    I'll try to go through the link you sent me in detail soon. If I have some questions, would it be OK to ask you back here in this thread?

  • Googling this, I suspect it is because I created the EXT4 filesystem on OpenMediaVault which has support for quota metadata.... am I going down the right track with my understanding? And what are my options?

    Hi, it's two ways to resolve this:

    You build your own LE version with quota support. But that means any times you will want to update it, you will need to build a new modified LE image. If you have experience in linux could be done without "complications".

    Backup the data on your SSD and change the partition to be compatible with the LE images. That you need to do once, and you will be able to update the LE directly from LE server.

  • I'll try to go through the link you sent me in detail soon. If I have some questions, would it be OK to ask you back here in this thread?

    Sure. In high-level detail: Create a default image first, then all you need to do is modify the kernel defconfig enabling the missing kernel options then re-run the same build command. The buildsystem will run through the image build process again but only rebuild the kernel package. Once complete, push the image .tar or .img.gz file to /storage/.update and reboot to update using the custom image.