uOn Wed, Sep 09, 2015 at 10:30:33AM -0500, Jon Keane wrote: > I recently had a power failure, and ever since I have been unable to > mount one of my btrfs drives (data is the one that is failing to > mount, store is fine). I’m running: > > jkeane@bet:~$ uname -a > > Linux bet 3.8.0-33-generic #48-Ubuntu SMP Wed Oct 23 09:16:58 UTC 2013 > x86_64 x86_64 x86_64 GNU/Linux
This is almost certainly why you're having the problem in the first place. This is an old kernel (2 years old, even by the compilation date -- the code base is probably even older), and back then, btrfs didn't really cope with power loss or unclean reboots very well. [snip] > Sep 9 10:12:06 bet kernel: [ 1515.314122] [<ffffffffa0143efb>] > replay_one_buffer+0x2ab/0x350 [btrfs] > > Sep 9 10:12:06 bet kernel: [ 1515.314161] [<ffffffffa0129ff7>] ? > alloc_extent_buffer+0x97/0x400 [btrfs] > > Sep 9 10:12:06 bet kernel: [ 1515.314200] [<ffffffffa0124d8c>] ? > check_buffer_tree_ref+0x3c/0x50 [btrfs] > > Sep 9 10:12:06 bet kernel: [ 1515.314239] [<ffffffffa013f962>] > walk_down_log_tree+0x212/0x400 [btrfs] > > Sep 9 10:12:06 bet kernel: [ 1515.314277] [<ffffffffa013fbed>] > walk_log_tree+0x9d/0x1f0 [btrfs] > > Sep 9 10:12:06 bet kernel: [ 1515.314313] [<ffffffffa0108093>] ? > btrfs_read_fs_root_no_name+0x1d3/0x310 [btrfs] > > Sep 9 10:12:06 bet kernel: [ 1515.314352] [<ffffffffa0145d85>] > btrfs_recover_log_trees+0x215/0x390 [btrfs] [snip] -- > > > Many of these look similar to the ones described at > https://btrfs.wiki.kernel.org/index.php/Btrfs-zero-log I have not yet > tried zeroing the log, because I’m not seeing all of the messages that > are specific on the FAQ. I suspect that is what I need to do, but I > wanted to check here first. Yes, zeroing the log here will probably help. > Please let me know if there is any more information I can provide to > help track this down. Thanks! The bug you've hit is almost certainly fixed in more recent kernels. I can't recommend stongly enough that you upgrade it (or contact your vendor's support department to find out how they will support your use of btrfs on a kernel that old). 3.19 is about the earliest kernel I'd feel happy about using at this point. Hugo. -- Hugo Mills | UNIX: Japanese brand of food containers hugo@... carfax.org.uk | http://carfax.org.uk/ | PGP: E2AB1DE4 |
signature.asc
Description: Digital signature