Re: BTRFS error in __btrfs_inc_extent_ref:1935: Object already exists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 01, 2013 at 02:12:07AM -0600, Roman Mamedov wrote:
> On Mon, 1 Apr 2013 04:36:05 +0600
> Roman Mamedov <rm@xxxxxxxxxx> wrote:
> 
> > Hello,
> > 
> > After a reboot the filesystem now does not mount at all, with similar messages.
> 
> So thinking this was an isolated incident, I foolishly continued setting up
> scheduled balance on other systems with btrfs that I have.
> 
> And got into exactly the same situation on another machine!!
> 
> Trying to balance this with -dusage=5, on kernel 3.8.5:
> 
> Data: total=215.01GB, used=141.76GB
> System, DUP: total=32.00MB, used=32.00KB
> System: total=4.00MB, used=0.00
> Metadata, DUP: total=9.38GB, used=1.09GB
> 
> Same messages, "Object already exists".
> 
> While I currently left the previously mentioned 2TB FS in an unmounted broken
> state, still waiting for any response from you on how to properly recover from
> this problem, in this new case I needed to restore the machine as soon as
> possible.
> 
> I tried btrfsck --repair, it corrected a lot of errors, but in the end gave up
> with a message saying that it can't repair the filesystem; then I did
> btrfs-zero-log. After this the FS started mounting successfully again.
> 
> Not sure if I got any data corruption as a result, but this is the root FS
> and /home, and the machine successfully booted up with no data lost in any of
> the apps that were active just before the crash (e.g browser, IM and IRC
> clients), so probably not.
> 

Can you capture an image of these broken file systems the next time it happens?
You'll need to clone the progs here

git://github.com/josefbacik/btrfs-progs.git

and build and then run

btrfs-image -w /dev/whatever blah.img

and then upload blah.img up somewhere I can pull it down.  You can use the -t
and -c options too, but the -w is the most important since you have extent tree
corruption.  Thanks,

Josef
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux