[PATCH] btrfs: relocation: Enhance kernel error output for relocation

2017-02-12 Thread Qu Wenruo
When balance(relocation) fails, btrfs-progs will report like: ERROR: error during balancing '/mnt/scratch': Input/output error There may be more info in syslog - try dmesg | tail However in some case, for example debugging btrfs/125 with small file size, kernel only have some recoverable csum

Re: btrfs btree_ctree_super fault

2017-02-12 Thread Sam McLeod
On 11/17/2016 12:39 AM, Chris Cui wrote: We have just encountered the same bug on 4.9.0-rc2. Any solution now? kernel BUG at fs/btrfs/ctree.c:3172! invalid opcode: [#1] PREEMPT SMP DEBUG_PAGEALLOC CPU: 0 PID: 22702 Comm: trinity-c40 Not tainted 4.9.0-rc4-think+ #1 task: 8804ffde37c0

Re: FS gives kernel UPS on attempt to create snapshot and after running balance it's unmountable.

2017-02-12 Thread Qu Wenruo
At 02/12/2017 09:17 AM, Tomasz Kusmierz wrote: Hi all, So my main storage filesystem got some sort of veird corruption (that I can gather). Everything seems to work OK, but when I try to create a snapshot or run balance (no filters) it will get remounted read only. Kernel version please.

Re: proper syslinux settings for ext4 boot, dm-crypt + btrfs subvol root?

2017-02-12 Thread John Hendy
On Sun, Feb 12, 2017 at 5:11 PM, Chris Murphy wrote: > On Fri, Feb 10, 2017 at 5:05 PM, John Hendy wrote: >> On Fri, Feb 10, 2017 at 5:49 PM, Hugo Mills wrote: >>> On Fri, Feb 10, 2017 at 11:40:41AM -0600, John Hendy wrote:

Re: proper syslinux settings for ext4 boot, dm-crypt + btrfs subvol root?

2017-02-12 Thread John Hendy
On Sun, Feb 12, 2017 at 5:07 PM, Chris Murphy wrote: > On Fri, Feb 10, 2017 at 4:34 PM, John Hendy wrote: > >> >> I did a couple of things after I sent this. For one, I ditched >> arch/root. Now I just have arch. That let me get away from the call to

Re: proper syslinux settings for ext4 boot, dm-crypt + btrfs subvol root?

2017-02-12 Thread Chris Murphy
On Fri, Feb 10, 2017 at 5:05 PM, John Hendy wrote: > On Fri, Feb 10, 2017 at 5:49 PM, Hugo Mills wrote: >> On Fri, Feb 10, 2017 at 11:40:41AM -0600, John Hendy wrote: >>> Greetings, > > >>Just as an aside -- it doesn't affect you here, but you might

Re: proper syslinux settings for ext4 boot, dm-crypt + btrfs subvol root?

2017-02-12 Thread Chris Murphy
On Fri, Feb 10, 2017 at 4:34 PM, John Hendy wrote: > > I did a couple of things after I sent this. For one, I ditched > arch/root. Now I just have arch. That let me get away from the call to > a nested subvol. > > That on it's own didn't work, but I started playing with the >