search for: btrfsck

Displaying 20 results from an estimated 134 matches for "btrfsck".

2010 May 27
3
btrfsck: doesn't correct errors
Heyho! (This is using btrfs from Debian''s 2.6.32 2.6.32-3-kirkwood kernel (-9 package; btrfs tools is v0.19-16-g075587c) A few observations about btrfsck: a btrfsck run on a 2T volume (4 disks) on a QNAP appliance (512M ram) got killed by Mr. OOM Killer. Initially, I was quite surprised. I''m only moderately surprised now since it might well be that I forgot to enable swap. A btrfsck run (on a remote machine this time, with nbd) showe...
2009 Jan 13
0
[btrfs-progs 3/4] Add man/btrfsck.8.in and Makefile for man pages
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@gmail.com> --- man/Makefile | 27 +++++++++++++++++++++++++++ man/btrfsck.8.in | 17 +++++++++++++++++ 2 files changed, 44 insertions(+), 0 deletions(-) create mode 100644 man/Makefile create mode 100644 man/btrfsck.8.in diff --git a/man/Makefile b/man/Makefile new file mode 100644 index 0000000..2665dd1 --- /dev/null +++ b/man/Makefile @@ -0,0 +1,27 @@ +GZIP=gzip +...
2010 Dec 01
12
Fsck, parent transid verify failed
Hi folks! Been using btrfs for quite a while now, worked great until now. Got power-loss on my machine and now i have the "parent transid verify failed on X wanted X found X" problem. So I can''t get it to mount. My btrfs is spread over sda (2tb), sdc(2tb), sdd(1tb). Is this something that an offline fsck could fix ? If so is the fsck-util being developed ? Is there a way to
2013 Mar 16
6
multiple btrfsck runs
Is it expected that running btrfsck more than once will keep reporting errors? Below is the end of a btrfsck output when run the second time. backpointer mismatch on [111942471680 32768] owner ref check failed [111942471680 32768] ref mismatch on [111942504448 40960] extent item 1, found 0 Incorrect local backref count on 111942504...
2010 Jun 10
0
missing include from btrfsck.c?
i''m not a C developer, but i like to think i know enough to be dangerous (pragmatic) :-D building from git master failed with: .......... .......... gcc -Wp,-MMD,./.btrfsck.o.d,-MT,btrfsck.o -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -g -Werror -Os -c btrfsck.c cc1: warnings being treated as errors btrfsck.c: In function ‘maybe_free_inode_rec’: btrfsck.c:323:2: error: implicit declaration of function ‘S_ISDIR’ btrfsck.c:328:2: error: implicit declaration of func...
2013 Apr 15
8
[PATCH] btrfs-progs: No-op when called as fsck.btrfsck
Hi, I thought that I would attempt a quick little patch that will make btrfsck into a No-op when called as fsck.btrfsck. The reasoning is that the FAQ states that it is recommended and safe to do so, and the current 12.04 version of Ubuntu just symlinks fsck.btrfsck to btrfsck instead of /bin/true. PS - Apologies if I mess this git send-email up! Dan McGrath (1): btrfs...
2009 Jun 11
6
cleanup after a small data loss on incorrect shutdown.
Hello. I am continuing my tests of BtrFS under a practical workload. Recently an incorrect poweroff (or maybe a small bug in BtrFS) caused a small data loss. The actual damage was non-existent. I used old branch, so maybe the relevant code is already improved. 1. Why btrfsck says "bad block" on that partition? What does it mean? My fist reaction was to use badblocks. It found no badblocks in its own sense, so I assume btrfsck means something else. It would be nice to explain that to user. Maybe "damaged FS data block" ? 2. I found a file which is...
2011 May 30
5
Damaged super block / fs root
I have accidently damaged the first block(s) of a btrfs partition and can''t mount it anymore. I can see that my data is still intact by running a command like: cat /dev/sda5 | hexdump -C | more Do any (experimental) tools exist which would allow me to recover the files? Thank you -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a
2012 Apr 09
0
[PATCH] Btrfs-progs: make btrfsck aware of free space inodes
The new xfstests will run fsck against the volume to make sure we didn''t introduce any inconsistencies, which is nice except we will error out immediately if we mount with inode_cache. We need to make btrfsck skip the special free space cache items and then just assume that we have a link for the free space cache inode item. This makes btrfsck pass with success on a fs with inode cache items. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com> --- btrfsck.c | 7 +++++++ 1 files changed, 7...
2010 Dec 15
0
btrfsck says snapshots have errors
btrfs 0.19 Ubuntu 10.10 Linux linux 2.6.35-23-generic #41-Ubuntu SMP Wed Nov 24 11:55:36 UTC 2010 x86_64 GNU/Linux I create a new btrfs on a 200GB disk with one partition. I mount the partition. I create a snapshot of that partition. I unmount the partition. I run btrfsck and it says I have an "unresolved ref" error. If I create two snaps, I get three errors. If I create three snaps, I get six errors. If I create four snaps, I get ten errors. If I create five snaps, I get 15 errors. Etc. Deleting the snapshots makes btrfsck happy again; no errors. Who i...
2011 Jun 06
2
Re: New btrfsck status
Chris Mason on 10 Feb 13:17: > Excerpts from Ben Gamari''s message of 2011-02-09 21:52:20 -0500: > > Over the last several months there have been many claims regarding > > the release of the rewritten btrfsck. Unfortunately, despite > > numerous claims that it will be released Real Soon Now(c), I have > > yet to see even a repository with preliminary code. Did I miss an > > announcement? There is something to be said for "release early, > > release often." Is there a ti...
2010 Jan 23
0
btrfsck failed
I tried an (offline) btrfsck and got the following error message: > btrfsck /dev/sdb3 btrfsck: btrfsck.c:584: splice_shared_node: Assertion `!(src == &src_node->root_cache)'' failed. Aborted I use kernel version 2.6.32.2 with builtin btrfs-drivers. Greetings, Michael -- To unsubscribe from this list: send...
2010 Feb 01
0
[PATCH] btrfsck: Remove superfluous WARN_ON
Signed-off-by: Yan Zheng <zheng.yan@oracle.com> --- diff -urp btrfs-progs-unstable/btrfsck.c btrfs-progs-2/btrfsck.c --- btrfs-progs-unstable/btrfsck.c 2009-09-28 15:54:55.980479398 +0800 +++ btrfs-progs-2/btrfsck.c 2010-01-31 09:46:24.645485459 +0800 @@ -581,7 +581,6 @@ again: } ret = insert_existing_cache_extent(dst, &ins->cache); if (ret == -EEXIST) { - WARN_ON(src =...
2013 Dec 14
0
Assertion failure in btrfsck
Hi, I''m having a filesystem that''s been a bit mangled by external causes, so I thought I''d see how much I could salvage (it''s not critical, though). Thus, I pulled btrfsck from git and ran: pannekake:~/btrfs-progs# ./btrfsck --repair /dev/mapper/pannekake-backup-btrfs It spit out a ton of warnings like these (I can get the whole log if you''re interested): parent transid verify failed on 7007735808 wanted 8322 found 8856 Ignoring transid failure pa...
2013 Jan 03
4
btrfsck: extent-tree.c:2549: btrfs_reserve_extent: Assertion `!(ret)' failed.
Hi All, I''m trying to repair a broken fs using btrfsck and am hitting a failed assertion. I''d appreciate any suggestions for what to do next. Is there any thing I can do to help fix this bug? Any other information from my FS which would help? If the FS could be salvaged that would be a bonus, but I''m more interested in providing a use...
2013 Jan 29
8
[RFC] Move btrfsck in to the btrfs command
NOTE: in order to apply this patch you should: git mv btrfsck.c cmd-fsck.c This patch moves btrfsck in to "btrfs fsck". It also adds support for symlinks to the btrfs binary to retain compablity, =) I think something should be done to the help description but i''m not sure what... Anyway, feedback is welcome. -- To unsubscribe from this...
2012 Jul 17
1
Unmountable btrfs filesystem
...hs old daughter. Here''s the output from dmesg: [ 299.699543] parent transid verify failed on 528952573952 wanted 22726 found 22728 [ 299.700947] btrfs read error corrected: ino 1 off 528952573952 (dev /dev/sdb6 sector 585319392) [ 299.701224] btrfs: open_ctree failed I then run "btrfsck /dev/sdb6" with not much more success at all. The output is as follows: Ignoring transid failure leaf parent key incorrect 528969142272 parent transid verify failed on 528969142272 wanted 22728 found 22726 Ignoring transid failure leaf parent key incorrect 528969142272 btrfsck: bt...
2012 May 17
0
btrfsck failures on old backup volumes
..." only shows 74% used, etc. Recently, with some newer kernels (currently 3.4-rc6), we have some cases where we can no longer write to some volumes -- they report out of space even when trying to rm, or hang forever. Most volumes are 3TB carved from some LVM''d attached storage. Since btrfsck seems to exist now in git btrfs-progs, and this data is already elsewhere, I figured it''d be worthwhile to try. On this one FS, btrfsck in check mode reported thousands of errors. The --repair mode did as well, and then exited with "failed to repair damaged filesystem, aborting"....
2012 Nov 08
0
question about btrfsck/mount behavior on corrupted fs
...#39;'s simulate usual mistake here: downsize the partition with btrfs filesystem w/o proper btrfs resize command. In fact I moved the beginning of the sda2 partition into middle of former sda1. so now it looks like: 2-1000 sda1, 1001-2000 sda2. - remount the fs I was surprised both commands btrfsck and mount were successful w/o any error report even in syslog. Does it work as intended? Do you plan to support some sort of checks during mount/btrfsck? Possibly a new feature in btrfsck utility to warn the user something ugly happened to his fs? Is there any way to fix broken fs like this (su...
2013 Mar 26
15
Kernel bug on mismatching generation_v2 in inode.c:835
...revious thread at http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg23333.html there was a space_cache kernel bug/panic on kernel 3.8. I could successfully "fix" that with rebuilding the cache. But some files were missing/corrupted. So I booted a rescue CD with kernel 3.7 and ran btrfsck --repair, which repaired quite a few things. After a reboot I got the following message: [ 469.457386] btrfs: disk space caching is enabled [ 469.503612] btrfs: mismatching generation and generation_v2 found in root item. This root was probably mounted with an older kernel. Resetting all new fie...