VOXL 2 /data mount error
-
Hi, using a brand new VOXL flashed with 1.7.1 I'm having issues with the data.mount service failing with the following error which is preventing other applications which use it as a dependency from running:
voxl2:/$ systemctl status data.mount ā data.mount - /data Loaded: loaded (/lib/systemd/system/data.mount; static; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2023-03-02 12:58:04 UTC; 4min 44s ago Where: /data What: /dev/disk/by-partlabel/userdata Process: 1155 ExecMount=/bin/mount /dev/disk/by-partlabel/userdata /data -t ext4 -o noatime,nosuid,nodev,barrier=1,data=ordered,noaut Mar 02 12:58:04 m0054 systemd[1]: Mounting /data... Mar 02 12:58:04 m0054 mount[1155]: mount: /data: wrong fs type, bad option, bad superblock on /dev/sda8, missing codepage or helper pro Mar 02 12:58:04 m0054 systemd[1]: data.mount: Mount process exited, code=exited status=32 Mar 02 12:58:04 m0054 systemd[1]: data.mount: Failed with result 'exit-code'. Mar 02 12:58:04 m0054 systemd[1]: Failed to mount /data.
Additionally dmesg says the following:
EXT4-fs (sda8): VFS: Can't find ext4 filesystem
Running the mount command manually:
voxl2:/$ /bin/mount /dev/disk/by-partlabel/userdata /data -t ext4 -o noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,discard,x-systemd.automount,x-systemd.growfs,rootcontext=system_u:object_r:data_t:s0 mount: /data: wrong fs type, bad option, bad superblock on /dev/sda8, missing codepage or helper program, or other error.
/data is actually mounted and I am able to write to it, this is the first time I have encountered this problem. How can it be fixed?
-
@czarsimon Are you having this issue on every reboot?
-
@tom said in VOXL 2 /data mount error:
@czarsimon Are you having this issue on every reboot?
Yes, I tried re-flashing as well as completely wiping it using the qdl tool, same issue.
-
@czarsimon Have you tried flashing the latest SDK using the full "wipe all partitions option"?
./install.sh -w
-
@tom I just tried it, got stuck at the following step even after hard rebooting the device:
... Flashing: modalai_cal | m0054-cal-fs.ext4 [------------------------------------------------------------ ]( 94%) Done Flashing [----------------------------------------------------------------](100%) < waiting for any device > ./flash-system-image.sh: line 624: 36563 Killed: 9 fastboot reboot [INFO] Waiting for ADB, if this takes more than 1 minute power cycle VOXL
Nothing using
adb devices
-
@tom I tried restoring the superblock using
mke2fs -n /dev/sda8
to find backups and then trying all of them withe2fsck -b <backup_superblock> /dev/sda8
All of them failed to restore the filesystem. I'm seeing this on multiple VOXL 2s so it's not isolated just to this one. -
@czarsimon Interesting, I've never seen it get stuck during flashing like that. Can you try forcing it into fastboot with the button (https://docs.modalai.com/voxl2-voxl2-mini-system-image/#force-voxl-2-into-fastboot) and then using
./install.sh -w