You are not logged in.

#1 2022-01-14 07:12:05

89c51
Member
Registered: 2012-06-05
Posts: 741

BtrFS errors on shutdown

I use BtrFS as my root partition and i have setup my uses with systemd-homed. When i shutdown on reboot the machine i get no space left errors.

The dm-0 that is mentioned in the errors is my home partition which had quite a lot of space in it

sudo dmsetup info /dev/dm-0
Name:              home-toliz
State:             ACTIVE (DEFERRED REMOVE)
Read Ahead:        256

The error in the journal:

Ιαν 14 08:15:02 mainland kernel: BTRFS info (device dm-0): relocating block group 2177892352 flags data
Ιαν 14 08:15:02 mainland kernel: BTRFS info (device dm-0): relocating block group 1104150528 flags data
Ιαν 14 08:15:04 mainland systemd-homework[652]: Failed to resize file system: Read-only file system
Ιαν 14 08:15:04 mainland kernel: BTRFS info (device dm-0): relocating block group 30408704 flags metadata|dup
Ιαν 14 08:15:04 mainland kernel: ------------[ cut here ]------------
Ιαν 14 08:15:04 mainland kernel: BTRFS: Transaction aborted (error -28)
Ιαν 14 08:15:04 mainland kernel: WARNING: CPU: 0 PID: 652 at fs/btrfs/extent-tree.c:3066 __btrfs_free_extent+0x59c/0x950 [btrfs]
Ιαν 14 08:15:04 mainland kernel: Modules linked in: dm_crypt cbc encrypted_keys trusted asn1_encoder tee tpm rng_core dm_mod loop cmac algif_hash algif_skcipher af>
Ιαν 14 08:15:04 mainland kernel:  crct10dif_pclmul hid_multitouch iTCO_vendor_support snd_hda_intel crc32_pclmul ghash_clmulni_intel vfat mei_pxp snd_intel_dspcfg >
Ιαν 14 08:15:04 mainland kernel:  acpi_thermal_rel acpi_tad ipmi_devintf ipmi_msghandler crypto_user fuse ip_tables x_tables rtsx_usb_sdmmc mmc_core rtsx_usb btrfs>
Ιαν 14 08:15:04 mainland kernel: CPU: 0 PID: 652 Comm: systemd-homewor Not tainted 5.16.0-arch1-1 #1 06f1bf38b4a7de1d455b9405e9130eb32320269d
Ιαν 14 08:15:04 mainland kernel: Hardware name: SAMSUNG ELECTRONICS CO., LTD. 930XDB/931XDB/930XDY/NP930XDB-KF1IT, BIOS P03RFX.055.210415.SP 04/15/2021
Ιαν 14 08:15:04 mainland kernel: RIP: 0010:__btrfs_free_extent+0x59c/0x950 [btrfs]
Ιαν 14 08:15:04 mainland kernel: Code: 24 14 ba 7e 0c 00 00 48 c7 c6 40 84 ac c0 4c 89 ef e8 44 25 0c 00 e9 99 fe ff ff 44 89 e6 48 c7 c7 a0 45 ad c0 e8 24 bc 58 c>
Ιαν 14 08:15:04 mainland kernel: RSP: 0018:ffffc4390069f7d0 EFLAGS: 00010246
Ιαν 14 08:15:04 mainland kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
Ιαν 14 08:15:04 mainland kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
Ιαν 14 08:15:04 mainland kernel: RBP: 0000000000d80000 R08: 0000000000000000 R09: 0000000000000000
Ιαν 14 08:15:04 mainland kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 00000000ffffffe4
Ιαν 14 08:15:04 mainland kernel: R13: ffffa0fa0c820270 R14: ffffa0fa1f8ec620 R15: fffffffffffffff7
Ιαν 14 08:15:04 mainland kernel: FS:  00007fd3b02ada80(0000) GS:ffffa0fb83600000(0000) knlGS:0000000000000000
Ιαν 14 08:15:04 mainland kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Ιαν 14 08:15:04 mainland kernel: CR2: 00005611a42aaef8 CR3: 000000010c48a006 CR4: 0000000000770ef0
Ιαν 14 08:15:04 mainland kernel: PKRU: 55555554
Ιαν 14 08:15:04 mainland kernel: Call Trace:
Ιαν 14 08:15:04 mainland kernel:  <TASK>
Ιαν 14 08:15:04 mainland kernel:  __btrfs_run_delayed_refs+0x25c/0x10d0 [btrfs 3b6c59cbdeb9b672377173c0d4e6ba43f4427e98]
Ιαν 14 08:15:04 mainland kernel:  btrfs_run_delayed_refs+0x73/0x200 [btrfs 3b6c59cbdeb9b672377173c0d4e6ba43f4427e98]
Ιαν 14 08:15:04 mainland kernel:  ? __reserve_bytes+0x164/0x7d0 [btrfs 3b6c59cbdeb9b672377173c0d4e6ba43f4427e98]
Ιαν 14 08:15:04 mainland kernel:  btrfs_commit_transaction+0xf6/0xb20 [btrfs 3b6c59cbdeb9b672377173c0d4e6ba43f4427e98]
Ιαν 14 08:15:04 mainland kernel:  relocate_block_group+0x6e/0x5a0 [btrfs 3b6c59cbdeb9b672377173c0d4e6ba43f4427e98]
Ιαν 14 08:15:04 mainland kernel:  btrfs_relocate_block_group+0x18b/0x340 [btrfs 3b6c59cbdeb9b672377173c0d4e6ba43f4427e98]
Ιαν 14 08:15:04 mainland kernel:  btrfs_relocate_chunk+0x27/0x100 [btrfs 3b6c59cbdeb9b672377173c0d4e6ba43f4427e98]
Ιαν 14 08:15:04 mainland kernel:  btrfs_shrink_device+0x277/0x5a0 [btrfs 3b6c59cbdeb9b672377173c0d4e6ba43f4427e98]
Ιαν 14 08:15:04 mainland kernel:  btrfs_ioctl_resize+0x449/0x470 [btrfs 3b6c59cbdeb9b672377173c0d4e6ba43f4427e98]
Ιαν 14 08:15:04 mainland kernel:  btrfs_ioctl+0x1fa8/0x2fc0 [btrfs 3b6c59cbdeb9b672377173c0d4e6ba43f4427e98]
Ιαν 14 08:15:04 mainland kernel:  ? btrfs_statfs+0x418/0x570 [btrfs 3b6c59cbdeb9b672377173c0d4e6ba43f4427e98]
Ιαν 14 08:15:04 mainland kernel:  ? _copy_to_user+0x1c/0x50
Ιαν 14 08:15:04 mainland kernel:  ? do_statfs_native+0xaf/0xe0
Ιαν 14 08:15:04 mainland kernel:  ? __seccomp_filter+0x39e/0x570
Ιαν 14 08:15:04 mainland kernel:  ? __x64_sys_ioctl+0x8b/0xd0
Ιαν 14 08:15:04 mainland kernel:  __x64_sys_ioctl+0x8b/0xd0
Ιαν 14 08:15:04 mainland kernel:  do_syscall_64+0x59/0x90
Ιαν 14 08:15:04 mainland kernel:  ? syscall_exit_to_user_mode+0x23/0x50
Ιαν 14 08:15:04 mainland kernel:  ? do_syscall_64+0x69/0x90
Ιαν 14 08:15:04 mainland kernel:  ? handle_mm_fault+0xb2/0x290
Ιαν 14 08:15:04 mainland kernel:  ? do_user_addr_fault+0x1d7/0x6a0
Ιαν 14 08:15:04 mainland kernel:  ? exit_to_user_mode_prepare+0x12d/0x180
Ιαν 14 08:15:04 mainland kernel:  ? exc_page_fault+0x72/0x180
Ιαν 14 08:15:04 mainland kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xae
Ιαν 14 08:15:04 mainland kernel: RIP: 0033:0x7fd3b08da59b
Ιαν 14 08:15:04 mainland kernel: Code: ff ff ff 85 c0 79 9b 49 c7 c4 ff ff ff ff 5b 5d 4c 89 e0 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa b8 10 00 00 00 0f 0>
Ιαν 14 08:15:04 mainland kernel: RSP: 002b:00007ffe362c9e98 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Ιαν 14 08:15:04 mainland kernel: RAX: ffffffffffffffda RBX: 0000000071c80000 RCX: 00007fd3b08da59b
Ιαν 14 08:15:04 mainland kernel: RDX: 00007ffe362c9f30 RSI: 0000000050009403 RDI: 0000000000000004
Ιαν 14 08:15:04 mainland kernel: RBP: 0000000000000004 R08: 0000000000000000 R09: 00007ffe362c9d30
Ιαν 14 08:15:04 mainland kernel: R10: 0000000071c80000 R11: 0000000000000246 R12: 00007ffe362c9f30
Ιαν 14 08:15:04 mainland kernel: R13: 0000000000000000 R14: 000055a3d3a79cc0 R15: 00007ffe362cb2e0
Ιαν 14 08:15:04 mainland kernel:  </TASK>
Ιαν 14 08:15:04 mainland kernel: ---[ end trace 0deba51e8e6c718b ]---
Ιαν 14 08:15:04 mainland kernel: BTRFS: error (device dm-0) in __btrfs_free_extent:3066: errno=-28 No space left
Ιαν 14 08:15:04 mainland kernel: BTRFS info (device dm-0): forced readonly
Ιαν 14 08:15:04 mainland kernel: BTRFS: error (device dm-0) in btrfs_run_delayed_refs:2149: errno=-28 No space left

Other than the errors it doesn't seem to cause any issues. Is this something that can/needs to be fixed or its something harmless?

Offline

Board footer

Powered by FluxBB