fs got readonly after "btrfs_run_delayed_refs:2783: errno=-5 IO failure"

2015-07-29 Thread Anatol Pomozov
Hi At my home machine I use btrfs from the latest Linux kernel (Linux Arch). A few days ago I started rebalance but unfortunately the machine got rebooted. It looks like rebalance operation is not interrupt-tolerant and now my filesystem got corrupted. I see a lot of checksum errors, but as I us

Re: How to fix/remove "csum failed ino" error

2013-11-16 Thread Anatol Pomozov
Hi Follow-up for the issue. I stuck with this "invalid csum for free space extent" error. Could anyone explain what does it mean? If this is not data and just a free space, why do we care about its checksum? And if we do really care then btrfs should have a way to fix this error. I can "fix" a fil

Re: How to fix/remove "csum failed ino" error

2013-11-08 Thread Anatol Pomozov
Hi, Frank, thanks for your help again. Continuing my saga with filesystem recovering. btrfsck $DEVICE fails and says some files are corrupted. That is because of my recent disk crash. I found all these files and indeed - reading it produces an error. I removed those files and ran btrfsck again.

Re: How to fix/remove "csum failed ino" error

2013-11-07 Thread Anatol Pomozov
umped) btrfsck --repair /dev/sda3 On Thu, Nov 7, 2013 at 8:07 PM, Anatol Pomozov wrote: > Hi, Frank > > Thanks for your answer. > > On Thu, Nov 7, 2013 at 8:41 AM, Frank Holton wrote: >> Hey Anatol, >> >> I just checked and on my filesystem inode number 362 corresp

Re: How to fix/remove "csum failed ino" error

2013-11-07 Thread Anatol Pomozov
Hi, Frank Thanks for your answer. On Thu, Nov 7, 2013 at 8:41 AM, Frank Holton wrote: > Hey Anatol, > > I just checked and on my filesystem inode number 362 corresponds to > part of the free space cache. You can check this yourself by running > (as root) > > btrfs-debug-tree /dev/sdb | grep "(36

How to fix/remove "csum failed ino" error

2013-11-07 Thread Anatol Pomozov
Hi I use Linux Arch, kernel 3.11.6. Recently I had a disk crash and number of my files got corrupted. To avoid this situation again I added more disks I trying to convert the data to raid1: # btrfs balance start -dconvert=raid1 -mconvert=raid1 / But unfortunately it fails with IO erro. In dmesg

Re: Linux Arch: kernel BUG at fs/btrfs/inode.c:873!

2013-10-11 Thread Anatol Pomozov
Hi, Kernel 3.12-rc built from HEAD has the same issue as 3.10 and 3.11 Ok, I was able to "fix" my problem by booting from an old kernel (3.8.7) and it allowed me to mount the fs. Then I removed /var/log/journal directory. After that I was able to boot with 3.11. So I believe 3.9/3.10 has a regres

Re: Linux Arch: kernel BUG at fs/btrfs/inode.c:873!

2013-10-07 Thread Anatol Pomozov
Hi, Btrfs developers On Fri, Oct 4, 2013 at 9:03 PM, Anatol Pomozov wrote: > Hi, > > I have a home server on Linux Arch (kernel 3.11.2) that uses > multi-device btrfs on root filesystem. > > Until recently it worked completely fine. And yesterday I rebooted it > and the ma

Re: Linux Arch: kernel BUG at fs/btrfs/inode.c:873!

2013-10-05 Thread Anatol Pomozov
Hi On Sat, Oct 5, 2013 at 7:44 AM, Duncan <1i5t5.dun...@cox.net> wrote: > Anatol Pomozov posted on Sat, 05 Oct 2013 04:51:52 -0700 as excerpted: > >> Hi >> >> On Fri, Oct 4, 2013 at 9:42 PM, Duncan <1i5t5.dun...@cox.net> wrote: >>> Anatol Pomozov

Re: Linux Arch: kernel BUG at fs/btrfs/inode.c:873!

2013-10-05 Thread Anatol Pomozov
Hi On Fri, Oct 4, 2013 at 9:42 PM, Duncan <1i5t5.dun...@cox.net> wrote: > Anatol Pomozov posted on Fri, 04 Oct 2013 21:03:11 -0700 as excerpted: > >> Hi, >> >> I have a home server on Linux Arch (kernel 3.11.2) that uses >> multi-device btrfs on root filesy

Linux Arch: kernel BUG at fs/btrfs/inode.c:873!

2013-10-04 Thread Anatol Pomozov
Hi, I have a home server on Linux Arch (kernel 3.11.2) that uses multi-device btrfs on root filesystem. Until recently it worked completely fine. And yesterday I rebooted it and the machine did not wake up. I booted from a USB (kernel 3.10) and tried to mount the filesystem. Here is OOPs I see