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

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 file

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.

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

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 fhol...@gmail.com 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

Re: How to fix/remove csum failed ino error

2013-11-07 Thread Anatol Pomozov
--repair /dev/sda3 On Thu, Nov 7, 2013 at 8:07 PM, Anatol Pomozov anatol.pomo...@gmail.com wrote: Hi, Frank Thanks for your answer. On Thu, Nov 7, 2013 at 8:41 AM, Frank Holton fhol...@gmail.com wrote: Hey Anatol, I just checked and on my filesystem inode number 362 corresponds to part

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 filesystem. Until recently it worked completely fine

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 posted on Fri, 04 Oct 2013 21:03:11 -0700 as excerpted: Hi, I

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