I've just hit this on a backup server. I suspect something would have
been trying to remove/create a snapshot at the time.
I'll ignorantly assume it's similar to the last one I posted (
https://www.spinics.net/lists/linux-btrfs/msg82636.html ) although the
trace is different.
David.
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 3 PID: 996 at fs/btrfs/extent-tree.c:6953
__btrfs_free_extent.isra.67+0x3ec/0xd60
Modules linked in: ipt_MASQUERADE iptable_nat nf_conntrack_ipv4
nf_defrag_ipv4 nf_nat_ipv4 nf_nat_ftp nf_conntrack_ftp nf_nat
nf_conntrack ipt_REJECT nf_reject_ipv4 nfsv3 xt_multiport iptable_filter
ip_tables x_tables autofs4 nfsd auth_rpcgss nfs_acl nfs lockd grace
fscache sunrpc intel_rapl crct10dif_pclmul crc32_pclmul crc32c_intel
ghash_clmulni_intel pcbc evdev snd_pcsp snd_pcm aesni_intel snd_timer
snd aes_x86_64 crypto_simd soundcore cryptd glue_helper xen_netfront
xen_blkfront
CPU: 3 PID: 996 Comm: btrfs-transacti Not tainted 4.18.11-psi-dg1 #1
RIP: e030:__btrfs_free_extent.isra.67+0x3ec/0xd60
Code: 8b 04 24 48 8b 40 50 f0 48 0f ba a8 08 17 00 00 02 72 19 83 fd fb
0f 84 15 03 00 00 89 ee 48 c7 c7 38 70 da 81 e8 b4 eb d4 ff <0f> 0b 48
8b 3c 24 89 e9 ba 29 1b 00 00 48 c7 c6 00 7b c3 81 e8 77
RSP: e02b:ffffc90041e03c78 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 000001f656680000 RCX: 0000000000000006
RDX: 0000000000000007 RSI: 0000000000000001 RDI: ffff88039a996650
RBP: 00000000ffffffe4 R08: 0000000000000001 R09: 0000000000000319
R10: 0000000000000001 R11: 0000000000000319 R12: ffff880395744000
R13: ffff88024d93b7e0 R14: 0000000000000000 R15: 0000000000000002
FS: 0000000000000000(0000) GS:ffff88039a980000(0000) knlGS:0000000000000000
CS: e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f75a076f000 CR3: 000000038ae34000 CR4: 0000000000000660
Call Trace:
? btrfs_merge_delayed_refs+0xa7/0x360
__btrfs_run_delayed_refs+0x32f/0x1140
btrfs_run_delayed_refs+0xfb/0x1b0
btrfs_commit_transaction+0x343/0x880
? wait_woken+0x80/0x80
transaction_kthread+0x157/0x180
kthread+0xf8/0x130
? btrfs_cleanup_transaction+0x570/0x570
? kthread_create_worker_on_cpu+0x70/0x70
ret_from_fork+0x35/0x40
---[ end trace 415fa2ecbacc2881 ]---
BTRFS: error (device xvdh) in __btrfs_free_extent:6953: errno=-28 No
space left
BTRFS: error (device xvdh) in btrfs_drop_snapshot:9250: errno=-28 No
space left
BTRFS info (device xvdh): forced readonly
BTRFS: error (device xvdh) in btrfs_run_delayed_refs:3057: errno=-28 No
space left
BTRFS warning (device xvdh): Skipping commit of aborted transaction.
BTRFS: error (device xvdh) in cleanup_transaction:1847: errno=-28 No
space left
% btrfs fi us /backups/
Overall:
Device size: 4.00TiB
Device allocated: 2.40TiB
Device unallocated: 1.60TiB
Device missing: 0.00B
Used: 2.39TiB
Free (estimated): 1.61TiB (min: 1.61TiB)
Data ratio: 1.00
Metadata ratio: 1.00
Global reserve: 512.00MiB (used: 510.00MiB)
Data,single: Size:2.29TiB, Used:2.29TiB
/dev/xvdh 1.73TiB
/dev/xvdj 574.00GiB
Metadata,single: Size:112.01GiB, Used:106.19GiB
/dev/xvdh 48.01GiB
/dev/xvdj 64.00GiB
System,single: Size:32.00MiB, Used:288.00KiB
/dev/xvdj 32.00MiB
Unallocated:
/dev/xvdh 231.98GiB
/dev/xvdj 1.38TiB