/home folder suddenly became read-only

 garuda-inxi
System:
  Kernel: 6.9.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=a613e82f-ac23-44cf-bcab-a64bc638556e rw rootflags=subvol=@
    quiet loglevel=3 ibt=off
  Desktop: KDE Plasma v: 6.0.5 tk: Qt v: N/A info: frameworks v: 6.3.0
    wm: kwin_wayland tools: xscreensaver,xscreensaver-systemd avail: xautolock
    vt: 8 dm: 1: LightDM v: 1.32.0 2: SDDM note: stopped Distro: Garuda
    base: Arch Linux
Machine:
  Type: Desktop System: Micro-Star product: MS-7C56 v: 2.0
    serial: <superuser required>
  Mobo: Micro-Star model: B550-A PRO (MS-7C56) v: 2.0
    serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: A.E0 date: 07/03/2023
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard K540e
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 2 microcode: 0xA20120A
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 3755 high: 4567 min/max: 2200/4650 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 3891 2: 3655
    3: 3675 4: 3827 5: 3632 6: 3610 7: 3751 8: 3602 9: 3662 10: 3598 11: 4567
    12: 3597 bogomips: 88802
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
    vendor: Tul / PowerColor driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: DP-1 empty: DP-2, DP-3, HDMI-A-1, Writeback-1
    bus-ID: 2d:00.0 chip-ID: 1002:73df class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: 0
  Monitor-1: DP-1 res: 1920x1080 size: N/A modes: N/A
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi wayland: drv: radeonsi x11:
    drv: radeonsi inactive: gbm
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.1-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6700 XT (radeonsi
    navi22 LLVM 17.0.6 DRM 3.57 6.9.4-zen1-1-zen) device-ID: 1002:73df
    memory: 11.72 GiB unified: no display-ID: :0.0
  API: Vulkan v: 1.3.279 layers: 11 device: 0 type: discrete-gpu
    name: AMD Radeon RX 6700 XT driver: amd v: 2024.Q2.1 (LLPC)
    device-ID: 1002:73df surfaces: xcb,xlib,wayland
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 2d:00.1 chip-ID: 1002:ab28
    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: 2f:00.4 chip-ID: 1022:1487 class-ID: 0403
  API: ALSA v: k6.9.4-zen1-1-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 2a:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp42s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd
Drives:
  Local Storage: total: 78.4 TiB used: 52.16 TiB (66.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Silicon Power
    model: SPCC M.2 PCIe SSD size: 1.86 TiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: VC2S038E temp: 42.9 C
  ID-2: /dev/sda maj-min: 8:0 vendor: Toshiba model: HDWE150 size: 4.55 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s tech: HDD
    rpm: 7200 serial: <filter> fw-rev: FP2A scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: KLEVV model: NEO N610 SSD 1TB
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 7D scheme: MBR
  ID-4: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST8000DM004-2U9188
    size: 7.28 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 5400 serial: <filter> fw-rev: 0001 scheme: GPT
  ID-5: /dev/sdd maj-min: 8:48 vendor: Kingston model: SA400M8120G
    size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 61E1 scheme: MBR
  ID-6: /dev/sde maj-min: 8:64 vendor: Seagate model: Backup+ Hub BK
    size: 9.1 TiB block-size: physical: 4096 B logical: 512 B type: USB rev: 3.1
    spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: D781
  ID-7: /dev/sdf maj-min: 8:80 vendor: Seagate model: Backup+ Hub BK
    size: 9.1 TiB block-size: physical: 4096 B logical: 512 B type: USB rev: 3.1
    spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: D781 scheme: GPT
  ID-8: /dev/sdg maj-min: 8:96 vendor: Utania model: OOS12000G
    size: 10.91 TiB block-size: physical: 4096 B logical: 512 B type: USB
    rev: 3.1 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: HDD rpm: 7200
    serial: <filter> scheme: GPT
  ID-9: /dev/sdh maj-min: 8:112 vendor: Seagate model: Backup+ Hub BK
    size: 9.1 TiB block-size: physical: 4096 B logical: 512 B type: USB rev: 3.1
    spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: D781 scheme: GPT
  ID-10: /dev/sdi maj-min: 8:128 vendor: Hitachi model: HUH721010ALE601
    size: 9.1 TiB block-size: physical: 4096 B logical: 4096 B type: USB
    rev: 3.0 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: HDD rpm: 7200
    serial: <filter> fw-rev: 0209 scheme: GPT
  ID-11: /dev/sdj maj-min: 8:144 vendor: Seagate model: Backup+ Hub BK
    size: 7.28 TiB block-size: physical: 4096 B logical: 512 B type: USB
    rev: 3.1 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: D785 scheme: GPT
  ID-12: /dev/sdk maj-min: 8:160 vendor: Western Digital
    model: WD50NMZW-59BCBS0 size: 4.55 TiB 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: HDD rpm: 4800 serial: <filter> fw-rev: 4004 scheme: GPT
  ID-13: /dev/sdl maj-min: 8:176 vendor: Western Digital
    model: WD50NDZW-11A8JS0 size: 4.55 TiB 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: HDD rpm: 5400 serial: <filter> fw-rev: 1034 scheme: GPT
Partition:
  ID-1: / raw-size: 109.71 GiB size: 109.71 GiB (100.00%)
    used: 74.94 GiB (68.3%) fs: btrfs dev: /dev/sdd2 maj-min: 8:50
  ID-2: /boot/efi raw-size: 300.4 MiB size: 299.8 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/sdd1 maj-min: 8:49
  ID-3: /home raw-size: 7.28 TiB size: 7.28 TiB (100.00%)
    used: 2.07 TiB (28.5%) fs: btrfs block-size: 4096 B dev: /dev/sdc1
    maj-min: 8:33
  ID-4: /var/log raw-size: 109.71 GiB size: 109.71 GiB (100.00%)
    used: 74.94 GiB (68.3%) fs: btrfs dev: /dev/sdd2 maj-min: 8:50
  ID-5: /var/tmp raw-size: 109.71 GiB size: 109.71 GiB (100.00%)
    used: 74.94 GiB (68.3%) fs: btrfs dev: /dev/sdd2 maj-min: 8:50
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 62.72 GiB used: 2.03 GiB (3.2%)
    priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 57.6 C mobo: N/A gpu: amdgpu temp: 54.0 C
    mem: 52.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Memory: total: 64 GiB note: est. available: 62.72 GiB used: 8.47 GiB (13.5%)
  Processes: 442 Power: uptime: 2d 17h 45m states: freeze,mem,disk
    suspend: deep avail: s2idle wakeups: 0 hibernate: platform avail: shutdown,
    reboot, suspend, test_resume image: 25.06 GiB
    services: org_kde_powerdevil,upowerd Init: systemd v: 255
    default: graphical tool: systemctl
  Packages: 2380 pm: pacman pkgs: 2375 libs: 590 tools: octopi,paru,yay
    pm: flatpak pkgs: 5 Compilers: clang: 17.0.6 gcc: 14.1.1 Shell: garuda-inxi
    default: Bash v: 5.2.26 running-in: konsole inxi: 3.3.34
Garuda (2.6.26-1):
  System install date:     2023-09-08
  Last full system update: 2024-06-16 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            

I have tried chown and chmod, and they don’t work because the whole folder is read-only. The /home drive is /dev/sdc1.

Help!

List all root files in /home

find $HOME ! -user $USER -type f

Remove with

cd ~/
sudo chown -R $USER: $HOME
1 Like

Last time this happened to me all I had to do was restart.
Maybe you too?

1 Like

I tried and got “read-only file system” at the end of every line.

Did you

before?
Mayby ~/ need also chown to $USER before?

Can you post log from

?
Or just install gnome-disk-utility and check /edit owner status.

Also post

lsblk -f

I am out of ideas :frowning:

Looks like this is not the first time this has happened to you:

Check the smart status of the drive. When they are about to fail they sometimes go to pseudo locked down read only mode. So you could in theory get the data before it dies
Had it happen to me with a WD drive

You also need to check if the “immutable” flag is set on your home directory. Even the root account cannot make changes until the “immutable” flag is unset if it is enabled.

Rebooted and the problem went away!

I still recommend testing that boot drive to see if its failing

I think you should perform the long memory test as well. Faulty RAM can create file system errors and apparently this isn’t your first time around with this happening.

1 Like

Good idea.

1 Like

you should probably also run a sudo btrfs check /dev/sdc1 --force just in case. I’ve had this problem more than once and each time btrfs had once again corrupted.

1 Like
sudo btrfs check /dev/sdc1 --force
[sudo] password for oldrocker99:     
btrfs check: exactly 1 argument expected, 2 given

I’ll boot into a live session and do the check that way.

Checked in a live session, and it passed.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.