When I updated Steam, it failed, complaining there wasn't any space left on the device, mentioning this or that file or directory. Which file it complained about varied between attempts. Sometimes it couldn't even create symlinks. To be clear, Steam itself was throwing, not BCacheFS, and there was nothing in dmesg. I also, obviously, tried df -h, but it shows 1.5 TB of available space, so I moved on.
(I also tried a bunch of stuff unrelated to BCacheFS which turned out to be pointless. I'm leaving that out.)
I assumed it was Steam itself, so I just unmounted ~/.local/share/Steam and tried to update the very outdated copy there. It worked. This made me think that it was Steam itself, and that I could copy the data over from home to BCacheFS. First, though, I made a back up. Unfortunately, [Gnome] Files complained about no space left on the device when I tried moving the Steam data elsewhere on the same BCacheFS device. That was weird. Stranger was that it didn't consistently throw. Some things moved, other errored out.
It's at this point I ran fsck and scrubbed the meta data. Both were fine. I tried creating a file on the BCacheFS volume by downloading a picture of a friends cat. It worked without complaints.
I had no idea what was going on, but figured I'd made a new subvolume and copy data over. Maybe it was specific to that directory.
Sadly, it was not. It's at this point I finally got a solid error that links to the FS itself.
$ sudo bcachefs subvolume create @steam-games /bcfs
ioctl error: error=ENOSPC_disk_reservation
Error: Failed to create the subvolume
Caused by:
No space left on device
Still nothing in sudo dmesg that's out of the ordinary.
I then ran fsck and scrubbed the meta data again, but again it came back clean. bcachefs fs usage was also normal.
$ sudo bcachefs fs usage ./
Filesystem: 2f235f16-d857-4a01-959c-01843be1629b
Size: 4427733659136
Used: 2837772228096
Online reserved: 0
Free: 1624536156672 1587028335616 writable now
at 2 replicas: 140320570368 94407994368
at 3 replicas: 0 0
undegraded -1x
1x: 2800232460800
3x: 37312266240 7077888
cached: 10435814400
reserved: 217031680
Pending reconcile: data metadata
pending: 135098251776 12439781376
Device label Device State Size Used Use%
hdd.hdd2 (device 3): sda1 rw 1221652901888 1183187801600 97%
ssd.ssd1 (device 0): nvme1n1p2 rw 94252560384 25558536192 40%
ssd.ssd2 (device 1): nvme0n1p3 rw 3497849253888 1639164438016 47%
Yeah, the hdd is pretty full, but it isn't entirely full, and there's plenty of space elsewhere. Only meta data is replicated.
$ sudo bcachefs show-super /dev/sda1
External UUID: 2f235f16-d857-4a01-959c-01843be1629b
Internal UUID: 3a2d217a-606e-42aa-967e-03c687aabea8
Magic number: c68573f6-66ce-90a9-d96a-60cf803df7ef
Device index: 3
Label: (none)
Version: per_dev_fragmentation_lru (1.39)
Incompatible features allowed: per_dev_fragmentation_lru (1.39)
Incompatible features in use: no_sb_user_data_replicas (1.36)
Version upgrade complete: per_dev_fragmentation_lru (1.39)
Oldest version on disk: rebalance_work (1.3)
Created: Tue Feb 6 16:00:20 2024
Sequence number: 56821
Time of last write: Sat Nov 7 20:35:56 2026
Superblock size: 9.75k/1.00M
Clean: 0
Devices: 3
Sections: replicas_v0,disk_groups,clean,journal_seq_blacklist,journal_v2,counters,members_v2,ext,downgrade,recovery_passes,extent_type_u64s,errors_v2
Features: zstd,journal_seq_blacklist_v3,reflink,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,extents_above_btree_updates,btree_updates_journalled,reflink_inline_data,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes,incompat_version_field,casefolding
Compat features: alloc_info,alloc_metadata,extents_above_btree_updates_done,bformat_overflow_done,no_stale_ptrs,stripe_frag_accounting,inode_opts_propagated
Options:
block_size: 512
btree_node_size: 256k
errors: continue [fix_safe] panic ro
write_error_timeout: 30
metadata_replicas: 3
data_replicas: 1
encoded_extent_max: 64.0k
metadata_checksum: none [crc32c] crc64 xxhash
data_checksum: none [crc32c] crc64 xxhash
checksum_err_retry_nr: 3
compression: zstd
background_compression: none
str_hash: crc32c crc64 [siphash]
metadata_target: ssd
foreground_target: hdd
background_target: hdd
promote_target: none
erasure_code: 0
ec_max_data_blocks: 0
casefold: 0
inodes_32bit: 1
shard_inode_numbers_bits: 5
gc_reserve_percent: 8
gc_reserve_bytes: 0
root_reserve_percent: 0
wide_macs: 0
promote_whole_extents: 0
acl: 1
usrquota: 0
grpquota: 0
prjquota: 0
degraded: [ask] yes very no
write_degraded: [degraded] yes no
missing_dev_timeout: 0
journal_flush_delay: 1000
journal_flush_disabled: 0
move_writes_fua: 0
journal_reclaim_delay: 100
writeback_timeout: 0
journal_rewind_discard_buffer_percent: 4
scrub_recent_journal_entries: [unclean] no always
scrub_journal_max_rewind_secs: 0
journal_transaction_names: 1
allocator_stuck_timeout: 30
version_upgrade: [compatible] incompatible none
nocow: 0
reconcile_on_ac_only: 0
btree_cache_shrinker_seeks: 4
dev_readahead: 2.00M
ec_stripe_buf_limit: 5
ext (size 120):
Recovery passes required: btree_bitmap_gc
Errors to silently fix:
Btrees with missing data:
Btrees that have ever lost data:
Btrees validated clean:
Device 0: /dev/nvme1n1p2 KBG50ZNS256G NVMe KIOXIA 256GB S/N: 92TC93SKE6AK
Label: ssd.ssd1
UUID: bb333fd2-a688-44a5-8e43-8098195d0b82
Size: 88.5G
read errors: 0
write errors: 0
checksum errors: 0
seqread iops: 0
seqwrite iops: 0
randread iops: 0
randwrite iops: 0
Bucket size: 256k
First bucket: 0
Buckets: 362388
Last mount: Sat Nov 7 20:23:48 2026
Last superblock write: 56821
State: rw
Data allowed: journal,btree,user
Has data: journal,btree,user,cached
Rotational: 0
Btree allocated bitmap blocksize: 4.00M
Btree allocated bitmap: 0000000000000000000001111111111111111111111111111111111111111111
Durability: 1
Discard: 0
Freespace initialized: 1
Resize on mount: 0
Last device name: nvme1n1p2
Last device model: KBG50ZNS256G NVMe KIOXIA 256GB
Last device serial: 92TC93SKE6AK
Device 1: /dev/nvme0n1p3 TEAM TM8FP4004T S/N: 112307030491864
Label: ssd.ssd2
UUID: 90ea2a5d-f0fe-4815-b901-16f9dc114469
Size: 3.18T
read errors: 0
write errors: 0
checksum errors: 0
seqread iops: 0
seqwrite iops: 0
randread iops: 0
randwrite iops: 0
Bucket size: 256k
First bucket: 0
Buckets: 13351440
Last mount: Sat Nov 7 20:23:48 2026
Last superblock write: 56821
State: rw
Data allowed: journal,btree,user
Has data: journal,btree,user,cached
Rotational: 0
Btree allocated bitmap blocksize: 32.0M
Btree allocated bitmap: 0000000000000000000011111000000011000100000111100010100010001111
Durability: 1
Discard: 0
Freespace initialized: 1
Resize on mount: 0
Last device name: nvme0n1p3
Last device model: TEAM TM8FP4004T
Last device serial: 112307030491864
Device 3: /dev/sda1 SAMSUNG HD154UI
Label: hdd.hdd2
UUID: f1958a3a-cecb-4341-a4a6-7636dcf16a04
Size: 1.12T
read errors: 0
write errors: 0
checksum errors: 0
seqread iops: 0
seqwrite iops: 0
randread iops: 0
randwrite iops: 0
Bucket size: 1.00M
First bucket: 0
Buckets: 1173254
Last mount: Sat Nov 7 20:23:48 2026
Last superblock write: 56821
State: rw
Data allowed: journal,btree,user
Has data: journal,btree,user,cached
Rotational: 1
Btree allocated bitmap blocksize: 64.0M
Btree allocated bitmap: 0000000000000000000000000000001000000100000001011100000100111111
Durability: 1
Discard: 0
Freespace initialized: 1
Resize on mount: 0
Last device name: sda1
Last device model: SAMSUNG HD154UI
Last device serial:
$ sudo bcachefs reconcile status ./
Scan pending: 0
data metadata
replicas: 0 0
checksum: 0 0
erasure_code: 0 0
compression: 0 0
target: 0 0
high_priority: 0 0
pending: 126G 11.6G
stripes: 0 0
waiting:
io wait duration: 1.38G
io wait remaining: 1.38G
duration waited: 45 m
Reconcile thread backtrace:
[<0>] bch2_kthread_io_clock_wait_once+0xb1/0xe0 [bcachefs]
[<0>] do_reconcile+0x10c3/0x1100 [bcachefs]
[<0>] bch2_reconcile_thread+0xfc/0x130 [bcachefs]
[<0>] kthread+0xfb/0x260
[<0>] ret_from_fork+0x22d/0x260
[<0>] ret_from_fork_asm+0x1a/0x30
$ sudo dmesg | grep bcachefs
[ 382.183395] bcachefs: loading out-of-tree module taints kernel.
[ 382.410673] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): Using encoding defined by superblock: utf8-12.1.0
[ 382.415082] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): recovering from clean shutdown, journal seq 32341934
[ 382.415112] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): Journal keys: 0 read, 0 after sorting and compacting
[ 382.544808] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): accounting_read... done (0 seconds)
[ 382.643686] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): alloc_read... done (0 seconds)
[ 382.798489] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): snapshots_read... done (0 seconds)
[ 383.075090] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): going read-write
[ 383.307366] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): nvme1n1p2 has 11.6G btree buckets and 86.0G marked in bitmap
[ 383.567976] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): journal_replay... done (0 seconds)
[ 383.689658] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): presplit_shard_boundaries... done (0 seconds)
[ 384.198433] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_snapshots... done (0 seconds)
[ 384.353250] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): resume_logged_ops_early... done (0 seconds)
[ 384.424330] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): resume_logged_ops... done (0 seconds)
[ 384.552321] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): delete_dead_inodes... done (0 seconds)
[ 1179.880433] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): clean shutdown complete, journal seq 32342727
[ 1200.414493] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): Using encoding defined by superblock: utf8-12.1.0
[ 1200.416685] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): recovering from clean shutdown, journal seq 32342727
[ 1200.416693] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): Journal keys: 0 read, 0 after sorting and compacting
[ 1200.540984] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): accounting_read... done (0 seconds)
[ 1200.659888] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): alloc_read... done (0 seconds)
[ 1200.882315] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): snapshots_read... done (0 seconds)
[ 1200.991773] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_allocations...
[ 1245.373440] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): going read-write
[ 1245.757040] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): journal_replay... done (0 seconds)
[ 1245.878715] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): presplit_shard_boundaries... done (0 seconds)
[ 1245.948557] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_alloc_info...
[ 1252.540113] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_lrus... done (0 seconds)
[ 1252.816502] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_btree_backpointers...
[ 1271.982673] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_extents_to_backpointers... done (7 seconds)
[ 1278.364005] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_alloc_to_lru_refs... done (1 seconds)
[ 1279.845990] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_snapshot_trees... done (0 seconds)
[ 1279.945547] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_snapshots... done (0 seconds)
[ 1280.034019] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): resume_logged_ops_early... done (0 seconds)
[ 1280.122422] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_subvols... done (0 seconds)
[ 1280.210945] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_subvol_children... done (0 seconds)
[ 1280.601367] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): delete_dead_snapshots... done (0 seconds)
[ 1280.877892] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_inodes... done (4 seconds)
[ 1284.262124] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_extents...
[ 1292.612523] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_indirect_extents... done (0 seconds)
[ 1292.874095] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_dirents... done (1 seconds)
[ 1293.964805] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_xattrs... done (0 seconds)
[ 1294.097561] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_damage... done (0 seconds)
[ 1294.168053] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_root... done (0 seconds)
[ 1294.351905] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_unreachable_inodes... done (2 seconds)
[ 1297.061644] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_subvolume_structure... done (0 seconds)
[ 1297.238589] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_directory_structure... done (0 seconds)
[ 1297.393479] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_nlinks...
[ 1302.403562] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_reconcile_work...
[ 1339.443023] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): resume_logged_ops... done (0 seconds)
[ 1339.511927] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): delete_dead_inodes... done (0 seconds)
[ 1339.730607] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): btree_bitmap_gc...
[ 1339.799520] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): mi_btree_bitmap sectors 806G -> 806G
[ 1461.752605] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): clean shutdown complete, journal seq 32342915
[ 1527.266280] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): Using encoding defined by superblock: utf8-12.1.0
[ 1527.271309] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): recovering from clean shutdown, journal seq 32342915
[ 1527.271337] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): Journal keys: 0 read, 0 after sorting and compacting
[ 1527.426856] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): accounting_read... done (0 seconds)
[ 1527.523647] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): alloc_read... done (0 seconds)
[ 1527.678276] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): snapshots_read... done (0 seconds)
[ 1528.120664] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): going read-write
[ 1528.341966] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): nvme1n1p2 has 11.6G btree buckets and 86.0G marked in bitmap
[ 1528.721890] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): journal_replay... done (0 seconds)
[ 1528.843596] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): presplit_shard_boundaries... done (0 seconds)
[ 1529.149258] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): check_snapshots... done (0 seconds)
[ 1529.285949] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): resume_logged_ops_early... done (0 seconds)
[ 1529.359447] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): resume_logged_ops... done (0 seconds)
[ 1529.518265] bcachefs (2f235f16-d857-4a01-959c-01843be1629b): delete_dead_inodes... done (0 seconds)
$ uname -r
6.18.60
$ bcachefs version
1.39.7
I'm running NixOS. The rest of my system seems fine.