I am having trouble mounting this luks-encrypted ext4 HDD
I couldn’t find any relevant documentation or forums threads. I read threads from other people who had similar-ish problems on other systems (like this) and found the suggested solutions are:
- upgrade software (mount or some related program, or the linux kernel) — can’t do this in coreELEC AFAIK
- use tune2FS to disable the feature indicated by “unsupported optional features (10000)” (10000 is a reference but I can’t find out what it means) — I don’t want to do this without a better understanding of the issue to avoid creating more problems
- reformat the drive to avoid using the optional features — not doable right now
I would like to know if it is expected to be able to mount a drive in this situation? If not I will stop hitting my head against the wall!
ssh -p 22 root@myDevice.lan
##############################################
# CoreELEC #
# https://coreelec.org #
##############################################
CoreELEC (official): 21.3-Omega (Amlogic-ne.aarch64)
Machine model: Amlogic
CoreELEC dt-id: sc2_s905x4_4g_1gbit
Linux version: 5.4.210 (portisch@ubuntu) #1 Tue Nov 4 19:31:24 CET 2025
Kodi compiled: 2025-11-04 19:35:54 +0000
myDevice:~ # dmesg -c > /dev/null
myDevice:~ # cryptsetup open --type luks "/dev/sda1" "SDA1"
WARNING: Locking directory /run/cryptsetup is missing!
Enter passphrase for /dev/sda1: [entered password]
myDevice:~ # blkid | grep SD
/dev/mapper/SDA1: LABEL="myHdd" UUID="6beba89c-8ec6-4ef4-ac05-874fc0a5c893" BLOCK_SIZE="4096" TYPE="ext4"
myDevice:~ # mkdir -p /storage/mnt/mountPoint/
myDevice:~ # mount -t ext4 /dev/mapper/SDA1 /storage/mnt/mountPoint
mount: /storage/mnt/mountPoint: wrong fs type, bad option, bad superblock on /dev/mapper/SDA1, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
mount /dev/mapper/SDA1 /storage/mnt/mountPoint
mount: /storage/mnt/mountPoint: wrong fs type, bad option, bad superblock on /dev/mapper/SDA1, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
myDevice:~ # mount /dev/mapper/SDA1 /media
mount: /var/media: wrong fs type, bad option, bad superblock on /dev/mapper/SDA1,missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
myDevice:~ # dmesg
[ 762.827293@1] EXT4-fs (dm-5): couldn't mount RDWR because of unsupported optional features (10000)
myDevice:~ # journalctl
Dec 27 09:12:55 myDevice kernel: EXT4-fs (dm-5): couldn't mount RDWR because of unsupported optional features (10000)
(I couldn’t find a line that included only relevant journalctl lines but there were not other entries for the time I was trying to get the drive to mount.)
TIA!