Cannot mount ext4 fs with orphan_file as read-only
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I'm using Ubuntu 23.04 with lvm. I have a backup script where it takes a snapshot of the file system, mounts the snapshot as read-only, then backs up from the mounted snapshot.
I recently upgraded my hard disk and created a new ext4 file system on the new disk with the orphan_file feature before transferring my files. (I booted into SystemRescue 10.01 from a USB drive to do this.)
Now my backup script fails because it cannot mount the snapshot as read-only. When I try to mount the snapshot manually I get this error message:
mount: /media/backup: mount(2) system call failed: Structure needs cleaning.
dmesg(1) may have more information after failed mount system call.
Checking dmesg, I see this:
[ 149.810442] EXT4-fs (dm-6): write access unavailable, skipping orphan cleanup
[ 149.810463] EXT4-fs (dm-6): recovery complete
[ 149.810472] EXT4-fs error (device dm-6): ext4_mark_
[ 149.811785] EXT4-fs (dm-6): mount failed
I have booted into SystemRescue to run e2fsck on my file system but the error persists.
---
ProblemType: Bug
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/seq: jeff 3009 F.... pipewire
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 23.04
HibernationDevice: RESUME=
InstallationDate: Installed on 2010-10-17 (4616 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: LENOVO 3626PL2
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 20230323.
Tags: lunar
Uname: Linux 6.2.0-20-generic x86_64
UpgradeStatus: Upgraded to lunar on 2023-05-02 (36 days ago)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 10/11/2012
dmi.bios.release: 1.64
dmi.bios.vendor: LENOVO
dmi.bios.version: 6QET70WW (1.40 )
dmi.board.name: 3626PL2
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X201
dmi.product.name: 3626PL2
dmi.product.
dmi.sys.vendor: LENOVO
apport information