Cannot Mount EXT4 partition

  • I recently switched from OMV2 to 3.X (3.0.63) on my Odroid XU4 when I tried to mount my external hard drives in a USB3 hub I get this error:



    The hard drives where created in OMV2 but it would make sense for them to work with OMV3.X. What tool do I need to install on the system in order to mount the drives in the system?

  • Code
    /dev/mmcblk1p1: UUID="60597915-b45e-4b0b-999a-4ffa677c1502" TYPE="ext4" PARTUUID="4b89e55e-01"
    /dev/sdb1: LABEL="1TBEle" UUID="a60a9994-da91-4532-98f2-674ed61088b5" TYPE="ext4" PARTUUID="788099a4-4527-4636-a95b-78ff6d756318"
    /dev/sdc1: LABEL="1TBTosh" UUID="80ac7af1-9e37-4024-9d9f-48b99337d54f" TYPE="ext4" PARTUUID="71cb0c18-f917-427d-aebe-cf96555bc369"
    /dev/sdd1: LABEL="1TBWD" UUID="40a37467-383d-4b51-949b-7ce08ea6de7c" TYPE="ext4" PARTUUID="66b6daa8-4f7c-4e9f-b55e-93fb2e7aff9b"
    /dev/sda1: LABEL="3TBSea" UUID="d377b796-bea7-4c01-a8aa-af7e21d52a62" TYPE="ext4" PARTUUID="25bc1a7f-fd39-438b-8d5b-522711e4c20d"
    /dev/mmcblk1: PTUUID="4b89e55e" PTTYPE="dos"
    • Offizieller Beitrag

    Seen this quite a bit lately on arm devices with USB drives even on freshly formatted drives from OMV web interface.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Looks ok. I suggest to check the file system.

    Is there a analyzer or command that I could run to do that?




    Seen this quite a bit lately on arm devices with USB drives even on freshly formatted drives from OMV web interface.

    Is it possibly a kernel issue? I built the system using the Armbian source with mainline kernel and then used a customization script to create the OMV at the same time. I could make the image without OMV baked in and then follow the Jessie installation guide thats pinned.

    • Offizieller Beitrag

    Is there a analyzer or command that I could run to do that?

    fsck.ext4 -f /dev/sda1


    Is it possibly a kernel issue?

    I don't think so. It is happening on the RPi as well - different kernels.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I just wanted to mention that I figured out the problem with a bit of digging.


    Looking into the errors caused by trying to mount the drive using the OMV web interface, I saw that it was trying to enable disk quotas. Despite this, disabling quotas in the ways referred to on this site and elsewhere did absolutely nothing to change things.


    Then I remembered someone mentioning on the Armbian forum that they needed disk quotas for OMV, and Armbian specifically didn't include them. Thanks to Armbian's amazingly simple toolchain, I compiled a new kernel with disk quotas enabled, and as though by magic, the OMV mounts succeeded without complaint!


    So, in essence, it's a bug, or maybe an oversight. Mount will toss you an error if you try to enable disk quotas without a kernel that supports them, even if quotas are disabled. And OMV's web interface will always attempt to mount with disk quotas, again, even if they're disabled. If quotas are enabled in the kernel, but disabled in configuration, mount won't complain and you'll mount just fine.


    It seems like quotas are a huge source of trouble in OMV, from the searching I did to figure this problem out. Obviously, you can't just outright disable them in a NAS distro, but it seems like there should be a way to prevent this mounting bug, at least on SBC-oriented distros. I use Armbian, but I assume most RPi-oriented distros also remove disk quotas, as they're useless for almost every use case, even a simple home NAS.


    I hope this helps! OMV has been a great piece of software for me, despite its quirks, and it just purrs on an Orange Pi PC running Armbian. I'm glad I could report a bug that so many users and devs have been baffled by.

    • Offizieller Beitrag

    The major issue with armbian is that it isn't Debian Wheezy or Jessie. Yes, it is close but not exactly the same. It has different versions of some packages that cause issues.


    As for the quota issue, you could probably set the filesystem defaults in /etc/default/openmediavault and remove the quota options. If you already have the filesystems mounted, you could edit the mntent entry in /etc/openmediavault/config.xml to remove the quota stuff and then omv-mkconf fstab.


    OMV_FSTAB_MNTOPS_EXT4 defaults to defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0
    I would change it to: defaults,nofail,user_xattr,noexec if your kernel doesn't support quotas.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I...don't have any remaining issues. I couldn't get it mounted without quota support in the kernel. I haven't had any Armbian-related issues other than the kernel, which I fixed by compiling a new one, so I have no idea why you think it's still an issue. Maybe I could've reconfigured the one particular setting if I knew about it, but it took me a while and disabling quotas didn't solve it.


    I was just reporting this because I thought it might be a hint as to why things weren't working on RPi boards. The fix is somewhat obscure and the error is unintuitive, so it'd be best to investigate further why the mount fails without kernel quota support rather than gracefully ignoring quota-related mount options. Again, from what I can tell, quota support seemingly causes lots of problems, and you yourself say you disable it by default. And come to think of it, it's supposed to be disabled on install already, so I really don't know what's happening.


    It's also possible RPis suffer from a different bug, but this solves it for Armbian, at least.

    • Offizieller Beitrag

    so I have no idea why you think it's still an issue.

    I wasn't saying you did something wrong or that you should fix it differently. I was just suggesting a possible alternative solution to other people who might be having the same solution but are afraid to compile their own kernel.


    I haven't had any Armbian-related issues other than the kernel

    Most of the issues I have seen are due to media libraries and/or mono being the wrong version or compiled with newer libraries.


    I was just reporting this because I thought it might be a hint as to why things weren't working on RPi boards.

    I think it is always good to report issues. quotas typically cause slow boot issues and I do disable them.


    And come to think of it, it's supposed to be disabled on install already, so I really don't know what's happening.

    The quota service is disabled by default but the quota mount options are still in fstab. Maybe that should be changed.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!