Update ended in readonly filesystem

I checked my mirrors before upgrading, and then attempted pamac update. The update failed with these errors (I apologize for the screenshot, but the failed update has now prevented me from being able to open my web browsers)

Because it seems my system is now unstable, what should I do next?

Your problem seems to be different to the one above. It says read-only file system → your hard drive or SSD has errors that by coincidence popped up with you updating.
→ Your device locked up so you can fix it before it gets worse.

You need to fix these errors first before you can install the update. Do you have a USB stick to boot a livesystem at hand?

I’m creating one now!

FYI - My storage device is a newish NVME drive. Gonna be tremendously bummed if it’s gone bad already.

I’m on a EFI system, and I use LUKS encryption. I’m backing up some file first in the event I have to rebuild everything.

Btrfs or Ext4?

BRTFS is the file system.

Be aware:
Maybe your update has run partially. So the kernel and / or modules may be missing. You may not be able to boot without these.


You need to provide additional info (like inxi …). This can be done from your tty.

Welcome to Manjaro! :smiling_face_with_three_hearts:

  1. Please read the information behind this link. It will help you to post necessary information.
  1. Please press the three dots below your post and then press the :pencil2:
  • If you give us information about your system, we can see what we’re talking about and make better suggestions.
  • You can do this by using inxi in a terminal or in console.
sudo inxi --admin --verbosity=7 --filter --no-host --width
  • Personally identifiable information such as serial numbers and MAC addresses are filtered out by this command
  • Presenting the information in this way allows everyone to be familiar with the format and quickly find the items they need without missing anything.
  1. Copy the output from inxi (including the command) and paste it into your post.
  • To make it more readable, add 3 backticks ``` on an extra line before and after the pasted text.

Have you already :mag: for your problem in the forum ? (Wisdom lies in asking → listening → reading :wink: )

You can also use maxi -eg

to collect information about the boot process. This works,

  • when you are in your running system (with CTRL+ALT+F2).
  • And also in a live environment

inxi will run but I’m posting from a different machine becuase I can no longer open a browser on my manjaro box.

Try transporting the result of inxi via USB.

sudo inxi --admin --verbosity=7 --filter --no-host --width > inxi.txt

Otherwise, you may end up with a thread with around 100 posts and have to answer many questions by hand. It is your decision.

The file system is read only, so that file will not be written. How do I get it to the USB in that case?

Can you mount a USB ? The filesystem of the USB will be writeable.

cd into your mounted USB. There execute inxi and write directly to a file on your USB

I’m a bit flustered and cannot for the life of me figure out how to cd into the USB. Sigh. Sorry.\

Wait a minute. I figured it out.

1 Like

lsblk will tell you the NAME

lsblk                                                                                            INT ✘ 
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 931,5G  0 disk 
├─sda1        8:1    0   953M  0 part /boot/efi
├─sda2        8:2    0   900G  0 part /var/nosnap/.snapshots
│                                     /var/spool
│                                     /var/cache
│                                     /home/.snapshots
│                                     /var/nosnap
│                                     /home
│                                     /.snapshots
│                                     /
└─sda3        8:3    0  28,1G  0 part 
sdb           8:16   0 476,9G  0 disk 
├─sdb1        8:17   0   512M  0 part 
└─sdb2        8:18   0 476,4G  0 part 
sdc           8:32   0   4,5T  0 disk 
├─sdc1        8:33   0     1G  0 part 
├─sdc2        8:34   0    10G  0 part 
├─sdc3        8:35   0   2,9T  0 part 
├─sdc6        8:38   0  1000G  0 part 
└─sdc7        8:39   0 646,5G  0 part 
sr0          11:0    1  1024M  0 rom  
nvme0n1     259:0    0   1,9T  0 disk 
├─nvme0n1p1 259:1    0     1G  0 part 
├─nvme0n1p2 259:2    0     1M  0 part 
├─nvme0n1p3 259:3    0   900G  0 part 
├─nvme0n1p4 259:4    0 942,7G  0 part 
└─nvme0n1p5 259:5    0    64G  0 part [SWAP]

You can mount it using /dev/NAME (from above) to /mnt

sudo mount /dev/NAME /mnt 

You can find where it is mounted with

mount

Then inxi can write to /mnt/inxi.txt

sudo inxi --admin --verbosity=7 --filter --no-host --width > /mnt/inxi.txt

Something to read for later on:

Switch from Windows - how to use GNU/Linux:

1 Like

Got it.

  Kernel: 6.6.8-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.6-x86_64
    root=UUID=4e77bd49-b817-4ee0-a88d-ecc2af32ac71 rw rootflags=subvol=@ quiet
    cryptdevice=UUID=e117a149-a0c5-401b-8032-d03580a55c9b:luks-e117a149-a0c5-401b-8032-d03580a55c9b
    root=/dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b splash
    apparmor=1 security=apparmor udev.log_priority=3
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
    v: 4.18.0 dm: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: MPG X570 GAMING EDGE WIFI (MS-7C37)
    v: 1.0 serial: <filter> UEFI: American Megatrends LLC. v: 1.N0
    date: 10/13/2023
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 64 GiB available: 62.72 GiB used: 11.11 GiB (17.7%)
  Array-1: capacity: 128 GiB slots: 4 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: DIMM 0 type: no module installed
  Device-2: DIMM 1 type: DDR4 detail: synchronous unbuffered (unregistered)
    size: 32 GiB speed: 2667 MT/s volts: curr: 1.2 min: 1.2 max: 1.2
    width (bits): data: 64 total: 64 manufacturer: N/A
    part-no: CL18-22-22 D4-3600 serial: N/A
  Device-3: DIMM 0 type: no module installed
  Device-4: DIMM 1 type: DDR4 detail: synchronous unbuffered (unregistered)
    size: 32 GiB speed: 2667 MT/s volts: curr: 1.2 min: 1.2 max: 1.2
    width (bits): data: 64 total: 64 manufacturer: N/A
    part-no: CL18-22-22 D4-3600 serial: N/A
CPU:
  Info: model: AMD Ryzen 9 3900X socket: AM4 bits: 64 type: MT MCP arch: Zen 2
    gen: 3 level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
    family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701030
  Topology: cpus: 1x cores: 12 tpc: 2 threads: 24 smt: enabled cache:
    L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 6 MiB desc: 12x512 KiB
    L3: 64 MiB desc: 4x16 MiB
  Speed (MHz): avg: 2600 high: 3800 min/max: 2200/4672 boost: enabled
    base/boost: 3800/4650 scaling: driver: acpi-cpufreq governor: schedutil
    volts: 1.1 V ext-clock: 100 MHz cores: 1: 2200 2: 2200 3: 2200 4: 3800
    5: 3800 6: 3800 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200 13: 2200
    14: 2200 15: 2200 16: 2200 17: 2200 18: 3800 19: 3800 20: 2200 21: 2200
    22: 2200 23: 3800 24: 2200 bogomips: 182487
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sev sev_es sha_ni skinit smap smca smep ssbd sse sse2
    sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext
    tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme vmmcall
    wbnoinvd wdt x2apic xgetbv1 xsave xsavec xsaveerptr xsaveopt
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
    vendor: Sapphire NITRO+ driver: amdgpu v: kernel arch: RDNA-1 code: Navi-1x
    process: TSMC n7 (7nm) built: 2019-20 pcie: gen: 4 speed: 16 GT/s lanes: 16
    ports: active: DP-1 empty: DP-2,HDMI-A-1,HDMI-A-2 bus-ID: 2f:00.0
    chip-ID: 1002:731f class-ID: 0300
  Device-2: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-2:3
    chip-ID: 046d:082d class-ID: 0102 serial: <filter>
  Display: x11 server: X.org v: 1.21.1.10 compositor: xfwm v: 4.18.0 driver:
    X: loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa
    dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-size: <missing: xdpyinfo>
  Monitor-1: DP-1 mapped: DisplayPort-0 model: LG (GoldStar) HDR 4K
    serial: <filter> built: 2020 res: 3840x2160 hz: 60 dpi: 163 gamma: 1.2
    size: 600x340mm (23.62x13.39") diag: 690mm (27.2") ratio: 16:9 modes:
    max: 3840x2160 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.1.9-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 5700 XT (navi10 LLVM
    16.0.6 DRM 3.54 6.6.8-2-MANJARO) device-ID: 1002:731f memory: 7.81 GiB
    unified: no
Audio:
  Device-1: AMD Navi 10 HDMI Audio driver: snd_hda_intel v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 2f:00.1 chip-ID: 1002:ab38 class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 31:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-2:3
    chip-ID: 046d:082d class-ID: 0102 serial: <filter>
  Device-4: Medeli USB Audio Device driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-3:3
    chip-ID: 0a67:11c0 class-ID: 0300 serial: <filter>
  API: ALSA v: k6.6.8-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.0 status: n/a (root, process) tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active (root, process)
    with: pulseaudio-alsa type: plugin tools: pacat,pactl,pavucontrol
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI X570-A PRO driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 27:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp39s0 state: down mac: <filter>
  Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 29:00.0
    chip-ID: 8086:24fb class-ID: 0280
  IF: wlp41s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 3168 Bluetooth driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:4 chip-ID: 8087:0aa7
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
  Device-1: luks-af1815ee-0155-4906-a12c-7ba8ccbe3154 maj-min: 254:1
    type: LUKS dm: dm-1 size: 931.21 GiB
  Components:
  p-1: sdd2 maj-min: 8:50 size: 931.22 GiB
  Device-2: luks-e117a149-a0c5-401b-8032-d03580a55c9b maj-min: 254:0
    type: LUKS dm: dm-0 size: 931.21 GiB
  Components:
  p-1: nvme0n1p2 maj-min: 259:2 size: 931.22 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.93 TiB used: 1.16 TiB (60.2%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Smart Modular Tech.
    model: SHPP41-1000GM size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 51060A20 temp: 42.9 C scheme: GPT
  SMART: yes health: PASSED on: 56d 20h cycles: 248
    read-units: 6,624,837 [3.39 TB] written-units: 20,906,080 [10.7 TB]
  ID-2: /dev/sda maj-min: 8:0 vendor: Unigen model: UGREEN MassStorageClass
    size: 117.75 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 3.0 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  ID-3: /dev/sdd maj-min: 8:48 vendor: Sabrent model: External
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B type: USB
    rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    drive serial: <filter> fw-rev: 0204 drive-rev: RKT30Q.1 temp: 27 Celsius C
    scheme: GPT
  SMART: yes health: PASSED on: 1y 221d 10h cycles: 3,378
    read-units: 27,773,391 [14.2 TB] written-units: 33,506,332 [17.1 TB]
  Optical-1: /dev/sr0 vendor: TSSTcorp model: CDDVDW SE-S084D rev: TS02
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 931.21 GiB size: 931.21 GiB (100.00%)
    used: 608.24 GiB (65.3%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 254:0 mapped: luks-e117a149-a0c5-401b-8032-d03580a55c9b label: N/A
    uuid: 4e77bd49-b817-4ee0-a88d-ecc2af32ac71
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 724 KiB (0.2%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1 label: N/A uuid: 1BDE-6EAC
  ID-3: /home raw-size: 931.21 GiB size: 931.21 GiB (100.00%)
    used: 608.24 GiB (65.3%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 254:0 mapped: luks-e117a149-a0c5-401b-8032-d03580a55c9b label: N/A
    uuid: 4e77bd49-b817-4ee0-a88d-ecc2af32ac71
  ID-4: /run/media/cddrew/DCF6-456A raw-size: 117.75 GiB
    size: 117.72 GiB (99.98%) used: 64 KiB (0.0%) fs: vfat block-size: 512 B
    dev: /dev/sda1 maj-min: 8:1 label: N/A uuid: DCF6-456A
  ID-5: /run/media/cddrew/e089be59-4e8f-40f8-82ac-15c7b828dfc6
    raw-size: 931.21 GiB size: 915.52 GiB (98.32%) used: 584.21 GiB (63.8%)
    fs: ext4 block-size: 4096 B dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-af1815ee-0155-4906-a12c-7ba8ccbe3154 label: N/A
    uuid: e089be59-4e8f-40f8-82ac-15c7b828dfc6
  ID-6: /var/cache raw-size: 931.21 GiB size: 931.21 GiB (100.00%)
    used: 608.24 GiB (65.3%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 254:0 mapped: luks-e117a149-a0c5-401b-8032-d03580a55c9b label: N/A
    uuid: 4e77bd49-b817-4ee0-a88d-ecc2af32ac71
  ID-7: /var/log raw-size: 931.21 GiB size: 931.21 GiB (100.00%)
    used: 608.24 GiB (65.3%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 254:0 mapped: luks-e117a149-a0c5-401b-8032-d03580a55c9b label: N/A
    uuid: 4e77bd49-b817-4ee0-a88d-ecc2af32ac71
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sdd1 maj-min: 8:49 size: 300 MiB fs: vfat label: N/A
    uuid: 75D9-9D09
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 6 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-1:2 info: SINO WEALTH Gaming KB type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 500mA chip-ID: 258a:002a class-ID: 0300
  Device-2: 1-2:3 info: Logitech HD Pro Webcam C920 type: video,audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 046d:082d class-ID: 0102 serial: <filter>
  Device-3: 1-4:4 info: Intel Wireless-AC 3168 Bluetooth type: bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 8087:0aa7 class-ID: e001
  Hub-2: 2-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 6 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 3-6:2 info: Genesys Logic Hub ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 05e3:0608 class-ID: 0900
  Hub-5: 4-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Device-1: 4-2:8 info: Norelsys USB3.0 Card Reader type: mass storage
    driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s (596.0 MiB/s)
    lanes: 1 mode: 3.2 gen-1x1 power: 152mA chip-ID: 2537:1081 class-ID: 0806
    serial: <filter>
  Hub-6: 5-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 5-1:2 info: MediaTek Samsung SE-S084 Super WriteMaster Slim
    External DVD writer type: mass storage driver: usb-storage interfaces: 1
    rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 0e8d:1836 class-ID: 0802 serial: <filter>
  Device-2: 5-3:3 info: Medeli USB Audio Device type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 0a67:11c0 class-ID: 0300 serial: <filter>
  Device-3: 5-4:4 info: Primax 0Y357C PMX-MMOCZUL (B) [Dell Laser Mouse]
    type: mouse driver: hid-generic,usbhid interfaces: 1 rev: 2.0
    speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 100mA
    chip-ID: 0461:4d51 class-ID: 0301
  Hub-7: 6-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Device-1: 6-1:5 info: JMicron / USA JMS583Gen 2 to PCIe Gen3x2 Bridge
    type: mass storage driver: uas interfaces: 1 rev: 3.2
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 power: 896mA
    chip-ID: 152d:0583 class-ID: 0806 serial: <filter>
Sensors:
  System Temperatures: cpu: 46.1 C mobo: N/A gpu: amdgpu temp: 44.0 C
    mem: 42.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Processes: 502 Uptime: 2h 40m wakeups: 0 Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: 1506 pm: pacman pkgs: 1476 libs: 477 tools: pamac pm: rpm pkgs: 0
  pm: flatpak pkgs: 30 Shell: Sudo (sudo) v: 1.9.15p4 default: Bash v: 5.2.21
  running-in: xfce4-terminal inxi: 3.3.31
1 Like

Some notes:

  1. This is an encrypted system
  2. This is seems to be an RAID (software or hardware)
  3. Your btrfs-filesystem is not full
  4. Your efi-filesystem is not full

Some conclusions:

  1. I have no experience with encrypted systems. (so I’m out) :man_shrugging:
  2. You should explain the type of RAID you are using to the person who will help you (just so nothing goes wrong)
  3. If btrfs is readonly, there is an associated error message in the log files. That would certainly be helpful in finding the cause.
  4. If only the EFI file system was readonly, this would be a minor problem.
  • Because of the encryption, I wouldn’t reboot until you have fixed the error.
  • And I wouldn’t try to fix the error if you don’t have a backup of your data.

You find good Information about Btrfs in the wiki

and in

I don’t get that part now…
Well as suggested, if you can do your backup now then do it. Tell us when you’re done.
I had fixed my own btrfs system that got corrupted probably due to hourly snaps that interfered with something. I can get you to the error messages you want. Fixing it will need support of the btrfs chat channel I suppose, so save that URL for later: Kiwi IRC

https://web.libera.chat/#btrfs

Are you using snapshots?

Yes, I am using snapshots.

Can you share the log with us?

$ journalctl --no-pager -p 6 --dmesg | grep BTRFS > /tmp/btrfs.log

Then copy this file /tmp/btrfs.log to the USB.

1 Like

Here you go. The log begins with these errors:

Jan 02 08:07:09 Orangekarat kernel: BTRFS info (device dm-0): first mount of filesystem 4e77bd49-b817-4ee0-a88d-ecc2af32ac71
Jan 02 08:07:09 Orangekarat kernel: BTRFS info (device dm-0): using crc32c (crc32c-intel) checksum algorithm
Jan 02 08:07:09 Orangekarat kernel: BTRFS info (device dm-0): using free space tree
Jan 02 08:07:09 Orangekarat kernel: BTRFS info (device dm-0): bdev /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b errs: wr 0, rd 0, flush 0, corrupt 789627, gen 0
Jan 02 08:07:09 Orangekarat kernel: BTRFS info (device dm-0): enabling ssd optimizations
Jan 02 08:07:09 Orangekarat kernel: BTRFS info (device dm-0: state M): turning on async discard
Jan 02 08:07:09 Orangekarat kernel: BTRFS info: devid 1 device path /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b changed to /dev/dm-0 scanned by (udev-worker) (572)
Jan 02 08:07:09 Orangekarat kernel: BTRFS info: devid 1 device path /dev/dm-0 changed to /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b scanned by (udev-worker) (572)
Jan 02 08:07:42 Orangekarat kernel: BTRFS warning (device dm-0): csum failed root 257 ino 3037134 off 253952 csum 0xc341dc86 expected csum 0xc341fc86 mirror 1
Jan 02 08:07:42 Orangekarat kernel: BTRFS error (device dm-0): bdev /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b errs: wr 0, rd 0, flush 0, corrupt 789628, gen 0
Jan 02 08:07:42 Orangekarat kernel: BTRFS warning (device dm-0): csum failed root 257 ino 3037134 off 253952 csum 0xc341dc86 expected csum 0xc341fc86 mirror 1
Jan 02 08:07:42 Orangekarat kernel: BTRFS error (device dm-0): bdev /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b errs: wr 0, rd 0, flush 0, corrupt 789629, gen 0
Jan 02 08:07:42 Orangekarat kernel: BTRFS warning (device dm-0): csum failed root 257 ino 3037134 off 253952 csum 0xc341dc86 expected csum 0xc341fc86 mirror 1
Jan 02 08:07:42 Orangekarat kernel: BTRFS error (device dm-0): bdev /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b errs: wr 0, rd 0, flush 0, corrupt 789630, gen 0
Jan 02 08:07:42 Orangekarat kernel: BTRFS warning (device dm-0): csum failed root 257 ino 3037134 off 253952 csum 0xc341dc86 expected csum 0xc341fc86 mirror 1
Jan 02 08:07:42 Orangekarat kernel: BTRFS error (device dm-0): bdev /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b errs: wr 0, rd 0, flush 0, corrupt 789631, gen 0
Jan 02 08:07:42 Orangekarat kernel: BTRFS warning (device dm-0): csum failed root 257 ino 3037134 off 253952 csum 0xc341dc86 expected csum 0xc341fc86 mirror 1
Jan 02 08:07:42 Orangekarat kernel: BTRFS error (device dm-0): bdev /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b errs: wr 0, rd 0, flush 0, corrupt 789632, gen 0
Jan 02 08:07:42 Orangekarat kernel: BTRFS warning (device dm-0): csum failed root 257 ino 3037134 off 253952 csum 0xc341dc86 expected csum 0xc341fc86 mirror 1
Jan 02 08:07:42 Orangekarat kernel: BTRFS error (device dm-0): bdev /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b errs: wr 0, rd 0, flush 0, corrupt 789633, gen 0
Jan 02 08:07:42 Orangekarat kernel: BTRFS warning (device dm-0): csum failed root 257 ino 3037134 off 253952 csum 0xc341dc86 expected csum 0xc341fc86 mirror 1
Jan 02 08:07:42 Orangekarat kernel: BTRFS error (device dm-0): bdev /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b errs: wr 0, rd 0, flush 0, corrupt 789634, gen 0
Jan 02 08:07:42 Orangekarat kernel: BTRFS warning (device dm-0): csum failed root 257 ino 3037134 off 253952 csum 0xc341dc86 expected csum 0xc341fc86 mirror 1
Jan 02 08:07:42 Orangekarat kernel: BTRFS error (device dm-0): bdev /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b errs: wr 0, rd 0, flush 0, corrupt 789635, gen 0
Jan 02 08:07:42 Orangekarat kernel: BTRFS warning (device dm-0): csum failed root 257 ino 3037134 off 253952 csum 0xc341dc86 expected csum 0xc341fc86 mirror 1
Jan 02 08:07:42 Orangekarat kernel: BTRFS error (device dm-0): bdev /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b errs: wr 0, rd 0, flush 0, corrupt 789636, gen 0
Jan 02 08:07:42 Orangekarat kernel: BTRFS warning (device dm-0): csum failed root 257 ino 3037134 off 253952 csum 0xc341dc86 expected csum 0xc341fc86 mirror 1
Jan 02 08:07:42 Orangekarat kernel: BTRFS error (device dm-0): bdev /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b errs: wr 0, rd 0, flush 0, corrupt 789637, gen 0
Jan 02 08:07:50 Orangekarat kernel: BTRFS warning (device dm-0): csum failed root 257 ino 3037134 off 253952 csum 0xc341dc86 expected csum 0xc341fc86 mirror 1
Jan 02 08:07:50 Orangekarat kernel: BTRFS error (device dm-0): bdev /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b errs: wr 0, rd 0, flush 0, corrupt 789751, gen 0
Jan 02 08:07:50 Orangekarat kernel: BTRFS warning (device dm-0): csum failed root 257 ino 3037134 off 253952 csum 0xc341dc86 expected csum 0xc341fc86 mirror 1
Jan 02 08:07:50 Orangekarat kernel: BTRFS error (device dm-0): bdev /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b errs: wr 0, rd 0, flush 0, corrupt 789752, gen 0
Jan 02 08:07:50 Orangekarat kernel: BTRFS warning (device dm-0): csum failed root 257 ino 3037134 off 253952 csum 0xc341dc86 expected csum 0xc341fc86 mirror 1
Jan 02 08:07:50 Orangekarat kernel: BTRFS error (device dm-0): bdev /dev/mapper/luks-e117a149-a0c5-401b-8032-d03580a55c9b errs: wr 0, rd 0, flush 0, corrupt 789753, gen 0
Jan 02 08:07:50 Orangekarat kernel: BTRFS warning (device dm-0): csum failed root 257 ino 3037134 off 253952 csum 0xc341dc86 expected csum 0xc341fc86 mirror 1

[I truncated this because it’s too big for the forum.]

And then it ends with this:

Jan 02 08:52:42 Orangekarat kernel: BTRFS warning (device dm-0): checksum verify failed on logical 180469760 mirror 1 wanted 0x31c6926e found 0xe6623c0e level 0
Jan 02 08:52:42 Orangekarat kernel: BTRFS warning (device dm-0): checksum verify failed on logical 180469760 mirror 1 wanted 0x31c6926e found 0xe6623c0e level 0
Jan 02 08:52:42 Orangekarat kernel: BTRFS warning (device dm-0): checksum verify failed on logical 180469760 mirror 2 wanted 0x31c6926e found 0x1bbec240 level 0
Jan 02 08:52:42 Orangekarat kernel: BTRFS error (device dm-0: state A): Transaction aborted (error -5)
Jan 02 08:52:42 Orangekarat kernel: BTRFS: error (device dm-0: state A) in btrfs_drop_snapshot:5732: errno=-5 IO failure```
1 Like

It looks like your hardware is the problem.

How to identify which file is corrupted:

For example:

Copy logical id “180469760”

Try to run

$ sudo btrfs inspect logical-resolve 180469760 /

Edit://

Copy inode id “3037134”

Run the command line to find out which file is corrupt

$ sudo btrfs inspect inode-resolve 3037134 /

The first command threw the error

ERROR: logical ino ioctl: No such file or directory

The second command threw the error

Error: ino paths ioctl: no such file or directory