Personal computing discussed

Moderators: renee, morphine, Steel

 
Glorious
Gerbilus Supremus
Topic Author
Posts: 12343
Joined: Tue Aug 27, 2002 6:35 pm

BTRFS is indeed -still- experimental!

Wed Jan 18, 2017 9:30 am

[  366.857814] kernel BUG at /build/linux-EO9xOi/linux-4.4.0/fs/btrfs/extent_io.c:2125!
[  366.857875] invalid opcode: 0000 [#1] SMP

...

[  366.860066] Call Trace:
[  366.860125]  [<ffffffffc052d37d>] clean_io_failure+0x1ad/0x1c0 [btrfs]
[  366.860208]  [<ffffffffc052dc1a>] end_bio_extent_readpage+0x2fa/0x5b0 [btrfs]
[  366.860268]  [<ffffffff813c079f>] bio_endio+0x3f/0x60
[  366.860338]  [<ffffffffc05033bc>] end_workqueue_fn+0x3c/0x40 [btrfs]
[  366.860422]  [<ffffffffc053eeba>] btrfs_scrubparity_helper+0xca/0x2f0 [btrfs]
[  366.860509]  [<ffffffffc053f1ce>] btrfs_endio_helper+0xe/0x10 [btrfs]
[  366.860564]  [<ffffffff8109a575>] process_one_work+0x165/0x480
[  366.860613]  [<ffffffff8109a8db>] worker_thread+0x4b/0x4c0
[  366.862906]  [<ffffffff8109a890>] ? process_one_work+0x480/0x480
[  366.865187]  [<ffffffff810a0c08>] kthread+0xd8/0xf0
[  366.867465]  [<ffffffff810a0b30>] ? kthread_create_on_node+0x1e0/0x1e0
[  366.869747]  [<ffffffff8183888f>] ret_from_fork+0x3f/0x70
[  366.872019]  [<ffffffff810a0b30>] ? kthread_create_on_node+0x1e0/0x1e0
[  366.874272] Code: ff 48 8b 45 a0 48 8b 50 40 eb d3 0f 0b 41 bd fb ff ff ff e9 7c fe ff ff 4c 89 e7 41 $
[  366.879344] RIP  [<ffffffffc052d0c7>] repair_io_failure+0x217/0x240 [btrfs]
[  366.881850]  RSP <ffff880858e63bf0>
[  366.884346] ---[ end trace 1b1807870d32b53f ]---


RAID1 volume with nothing fancy. Disk 2 is failing, badly. Added a new disk 3. Started deleting failing disk 2.

DON'T TOUCH THE FILE SYSTEM. The above might happen!

Should I have replaced instead of add/delete? Perhaps, maybe even with -r.

But just crash? If I can't write to it, why did it even let me mount as write? I'm not even sure if that was the problem, could have just been the reads. But I figure it was the writes.

I didn't hot-swap anything, I rebooted to add the new disk. The filesystem came up fine with the failing disk. No problem adding the new disk to the array. I even rebooted again, to remove the failing disk and put it into a USB 3 enclosure. That way, when everything was done rebuilding overnight, I wouldn't have to open the system again to chunk the defective disk.

Anyway, all data is fine, everything is rebuilt and failing drive is successfully deleted from array (I just mounted the volume on some other random path during the rebuild to make sure I wouldn't overlook some random thing that might touch it overnight and crash everything again).

But still, what on earth?
 
Duct Tape Dude
Gerbil Elite
Posts: 721
Joined: Thu May 02, 2013 12:37 pm

Re: BTRFS is indeed -still- experimental!

Wed Jan 18, 2017 10:12 am

:(
I keep checking in on btrfs every six months or so, but the cautions about instability never seem to go away. Glad to hear you didn't lose any data this time.
 
chuckula
Minister of Gerbil Affairs
Posts: 2109
Joined: Wed Jan 23, 2008 9:18 pm
Location: Probably where I don't belong.

Re: BTRFS is indeed -still- experimental!

Wed Jan 18, 2017 10:20 am

I would strongly recommend against BTRFS unless you *really* know what you are doing or are just messing around and don't care if data get lost.
EXT4 is boring and lacks the whizbang features -- however, when you set it up with LVM, it works reliably for any small to medium sized storage system and you won't have those oh-$!%# moments that you can get with BTRFS.

If you need the whiz-bang features or you are dealing with a heavy-duty storage system that goes beyond what EXT4 will handle, there's always ZFS.
4770K @ 4.7 GHz; 32GB DDR3-2133; Officially RX-560... that's right AMD you shills!; 512GB 840 Pro (2x); Fractal Define XL-R2; NZXT Kraken-X60
--Many thanks to the TR Forum for advice in getting it built.
 
Glorious
Gerbilus Supremus
Topic Author
Posts: 12343
Joined: Tue Aug 27, 2002 6:35 pm

Re: BTRFS is indeed -still- experimental!

Wed Jan 18, 2017 10:38 am

chuckula wrote:
I would strongly recommend against BTRFS unless you *really* know what you are doing or are just messing around and don't care if data get lost.


I have backups, sneaker-net redundancy, etc... I'm just shocked because I see people saying not to worry about the experimental bit too much. My experience is now utterly contrary to that.

I sorta know what I am doing (maybe?), but this is now the second bizarre BTRFS situation I've experienced: viewtopic.php?f=7&t=118488&p=1322157#p1321993

And I'm not doing anything crazy, I am using BTRFS on the most basic level: RAID1, no sub volumes, no snapshots, no anything.

Hence the public service notification to other enthusiasts.

chuckula wrote:
If you need the whiz-bang features or you are dealing with a heavy-duty storage system that goes beyond what EXT4 will handle, there's always ZFS.


I have a 6 volume RAIDZ2 on the same system. I recommend it.

I'm sort of hedging my bets by familiarizing myself with the tools and circumstances of both. Or something like that, maybe just random tinkering.
 
just brew it!
Administrator
Posts: 54500
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: BTRFS is indeed -still- experimental!

Wed Jan 18, 2017 11:03 am

Every time I read something like this it makes me glad that I did not jump on Btrfs a couple of years ago, back when everyone was saying, "Hey, SUSE is adopting it as their default file system -- it must be mature now!"

I'll stick with MD/LVM + ext4, TYVM.

If I have some free time I'll experiment with ZFS.
Nostalgia isn't what it used to be.
 
Waco
Maximum Gerbil
Posts: 4850
Joined: Tue Jan 20, 2009 4:14 pm
Location: Los Alamos, NM

Re: BTRFS is indeed -still- experimental!

Wed Jan 18, 2017 5:22 pm

I haven't messed with BTRFS in the past few years, but I've seen nothing to give me confidence in its worthiness for production use (or even personal storage use).

When I used it 5-6 years ago when playing with various next-gen filesystems, I managed to lose data on a totally healthy system with no failing disks. That did not inspire confidence.
Victory requires no explanation. Defeat allows none.

Who is online

Users browsing this forum: No registered users and 1 guest
GZIP: On