From: Stefan Priebe <s.priebe@profihost.ag>
To: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs goes readonly + No space left on 4.3
Date: Fri, 29 Apr 2016 22:48:15 +0200 [thread overview]
Message-ID: <5723C88F.30903@profihost.ag> (raw)
In-Reply-To: <561B5AA6.7040704@profihost.ag>
just want to drop a note that all those ENOSPC msg are gone with v4.5
and space_cache=v2. Any plans to make space_cache=v2 default?
Greets,
Stefan
Am 12.10.2015 um 09:00 schrieb Stefan Priebe:
> Hi,
>
> while trying to write to my volume btrfs gets readonly:
>
> btrfs fi show /vmbackup/
> Label: none uuid: f4afaac2-c587-4ff7-87b1-19e6a483215f
> Total devices 1 FS bytes used 35.56TiB
> devid 1 size 50.93TiB used 35.72TiB path
> /dev/mapper/stripe0-vmbackup
>
> btrfs-progs v4.1.2
>
> btrfs fi df /vmbackup/
> Data, single: total=35.40TiB, used=35.40TiB
> System, DUP: total=8.00MiB, used=3.75MiB
> Metadata, DUP: total=162.00GiB, used=160.72GiB
> GlobalReserve, single: total=512.00MiB, used=0.00B
>
> This is 4.1.10 with all btrfs patches up to 4.3-rc3
>
> [ 6230.406369] ------------[ cut here ]------------
> [ 6230.411594] BTRFS warning (device dm-0):
> btrfs_finish_ordered_io:2840: Aborting unused transaction(No space left).
> [ 6230.463718] BTRFS warning (device dm-0):
> btrfs_finish_ordered_io:2840: Aborting unused transaction(No space left).
> [ 6230.466681] BTRFS warning (device dm-0):
> btrfs_finish_ordered_io:2840: Aborting unused transaction(No space left).
> [ 6230.475887] BTRFS warning (device dm-0):
> btrfs_finish_ordered_io:2840: Aborting unused transaction(No space left).
> [ 6230.505852] BTRFS warning (device dm-0):
> btrfs_finish_ordered_io:2840: Aborting unused transaction(No space left).
> [ 6230.525233] BTRFS warning (device dm-0):
> btrfs_finish_ordered_io:2840: Aborting unused transaction(No space left).
> [ 6230.851050] WARNING: CPU: 8 PID: 8230 at fs/btrfs/extent-tree.c:6356
> __btrfs_free_extent.isra.83+0x2cc/0xce0 [btrfs]()
> [ 6230.911727] BTRFS: Transaction aborted (error -28)
> [ 6230.911729] Modules linked in: netconsole ipt_REJECT nf_reject_ipv4
> xt_multiport iptable_filter ip_tables x_tables bonding ext2 coretemp
> loop usbhid ehci_pci ehci_hcd sb_edac i2c_i801 ipmi_si usbcore edac_core
> i2c_core shpchp usb_common ipmi_msghandler button btrfs lzo_compress
> dm_mod raid456 async_raid6_recov async_memcpy async_pq async_xor
> async_tx xor raid6_pq raid1 md_mod i40e(O) ixgbe vxlan ip6_udp_tunnel
> mdio udp_tunnel sg sd_mod ahci ptp aacraid libahci pps_core
> [ 6231.175922] CPU: 8 PID: 8230 Comm: btrfs-transacti Tainted: G O
> 4.1.10 #1
> [ 6231.243585] Hardware name: Supermicro X10DRH/X10DRH-IT, BIOS 1.0c
> 02/18/2015
> [ 6231.311584] ffffffffc0433895 ffff88085a8db9b8 ffffffff8a639186
> 0000000000000001
> [ 6231.380600] ffff88085a8dba08 ffff88085a8db9f8 ffffffff8a07fd57
> ffff880800000850
> [ 6231.449888] ffff880311fef2d0 00001fcbf2450000 0000000000000000
> 0000000000000000
> [ 6231.519402] Call Trace:
> [ 6231.586837] [<ffffffff8a639186>] dump_stack+0x45/0x57
> [ 6231.654260] [<ffffffff8a07fd57>] warn_slowpath_common+0x97/0xe0
> [ 6231.721958] [<ffffffff8a07fe56>] warn_slowpath_fmt+0x46/0x50
> [ 6231.789246] [<ffffffffc038fbdc>]
> __btrfs_free_extent.isra.83+0x2cc/0xce0 [btrfs]
> [ 6231.857732] [<ffffffffc038aa68>] ?
> block_group_cache_tree_search+0x98/0xf0 [btrfs]
> [ 6231.926972] [<ffffffffc03f7b8c>] ? find_ref_head+0x6c/0x90 [btrfs]
> [ 6231.995254] [<ffffffffc03946a0>]
> __btrfs_run_delayed_refs+0x730/0x11a0 [btrfs]
> [ 6232.062995] [<ffffffffc039a06f>] btrfs_run_delayed_refs+0x7f/0x290
> [btrfs]
> [ 6232.130929] [<ffffffffc039a383>]
> btrfs_write_dirty_block_groups+0x103/0x2a0 [btrfs]
> [ 6232.199577] [<ffffffffc04259c1>] commit_cowonly_roots+0x225/0x2cf
> [btrfs]
> [ 6232.268690] [<ffffffffc03ac498>]
> btrfs_commit_transaction+0x538/0xa90 [btrfs]
> [ 6232.338554] [<ffffffffc03a9b95>] transaction_kthread+0x1c5/0x240
> [btrfs]
> [ 6232.407982] [<ffffffffc03a99d0>] ? open_ctree+0x2390/0x2390 [btrfs]
> [ 6232.476521] [<ffffffff8a09e1e9>] kthread+0xc9/0xe0
> [ 6232.544430] [<ffffffff8a09e120>] ? kthread_create_on_node+0x1a0/0x1a0
> [ 6232.612249] [<ffffffff8a63fda2>] ret_from_fork+0x42/0x70
> [ 6232.680322] [<ffffffff8a09e120>] ? kthread_create_on_node+0x1a0/0x1a0
> [ 6232.748832] ---[ end trace 4977add5c48cdc47 ]---
> [ 6232.816367] BTRFS: error (device dm-0) in __btrfs_free_extent:6356:
> errno=-28 No space left
> [ 6232.885109] BTRFS info (device dm-0): forced readonly
> [ 6232.953994] BTRFS: error (device dm-0) in
> btrfs_run_delayed_refs:2854: errno=-28 No space left
> [ 6233.027127] BTRFS warning (device dm-0): Skipping commit of aborted
> transaction.
> [ 6233.098974] BTRFS: error (device dm-0) in cleanup_transaction:1726:
> errno=-28 No space left
>
> Stefan
next prev parent reply other threads:[~2016-04-29 20:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-12 7:00 btrfs goes readonly + No space left on 4.3 Stefan Priebe
2016-04-29 20:48 ` Stefan Priebe [this message]
2016-05-02 22:05 ` Omar Sandoval
2016-05-03 4:06 ` Paul Jones
2016-05-03 18:03 ` Omar Sandoval
2016-05-09 12:59 ` Stefan Priebe - Profihost AG
2016-05-09 18:19 ` Duncan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5723C88F.30903@profihost.ag \
--to=s.priebe@profihost.ag \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).