All of lore.kernel.org
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: Btrfs progs release 4.1
Date: Wed, 9 Sep 2015 11:25:11 +0000 (UTC)	[thread overview]
Message-ID: <pan$13b5d$e35e55fd$97aa970a$5853fbee@cox.net> (raw)
In-Reply-To: CAO5K3Oemuice_3RMxsdQVOxWv+izVAFNN0p_shcbD=ONdrWGOg@mail.gmail.com

Vytautas D posted on Wed, 09 Sep 2015 11:35:50 +0100 as excerpted:

> sorry for side question - but does this mean that btrfs-convert issues
> others were having on kernel 4.0+ on this mailing list is now addressed
> ?

AFAIK they've not yet been entirely fixed, no.  There's still active 
(within the day) discussion on further patches.  Based on that discussion 
(I'm not a dev) the root problem is that ext* doesn't cleanly separate 
data and metadata (tho ext4 does better than ext2/3) like btrfs does, and 
both can end up in the same chunk on btrfs.  That would require btrfs 
mixed-bg mode (which is otherwise for small filesystems, the default at 1 
GiB or smaller but often useful to say 32 GiB), but there were various 
problems with that (possibly including chunks of the wrong size for mixed-
bg) and currently, convert apparently tries to do separate data and 
metadata chunks.  But because they're so mixed on ext*, that many small 
chunks instead of the fewer large chunks btrfs would normally have.  So 
they're still debating mixed-bg or not.

So currently, the best recommendation is to simply create a brand new 
btrfs, and copy to it from the existing ext*.  That also has the benefit 
of keeping the ext* as a backup of what is presumably the btrfs working 
copy, and of course, as any good sysadmin has already integrated but 
unfortunately we keep getting reports of people figuring out the hard 
way, if it's not backed up, by definition of your lack of backup action, 
you don't care about it, any post-loss claims to the contrary not 
withstanding.  So encouraging people to have at least the backup made as 
a result of copying the old ext* to the new btrfs, instead of trying to 
convert in place and finding out the hard way that lack of a backup means 
the lost data wasn't of value, can be seen as a good thing. =:^)

Actually, even in the absence of known convert bugs I'd recommend a clean 
mkfs, simply because that way you /know/ you start out with a clean 
filesystem, and you end up with better btrfs defaults that way too.  I 
know that's the reason I steered clear of convert here.  I simply don't 
trust it, and wanted to start clean in any case.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


  reply	other threads:[~2015-09-09 11:25 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-22 15:00 Btrfs progs release 4.1 David Sterba
2015-06-22 16:18 ` Goffredo Baroncelli
2015-06-22 18:01   ` David Sterba
2015-06-22 18:18 ` qgroup limit clearing, was " Christian Robottom Reis
2015-06-22 18:18 ` Christian Robottom Reis
2015-06-22 23:55   ` Tsutomu Itoh
2015-06-23  1:55     ` Qu Wenruo
2015-06-23 12:42     ` David Sterba
2015-06-22 20:45 ` Martin Steigerwald
2015-06-23 12:53   ` David Sterba
2015-06-23  9:03 ` Sjoerd
2015-06-23  9:18   ` Qu Wenruo
2015-06-23 14:45   ` David Sterba
2015-06-24 20:26     ` Sjoerd
2015-06-25 13:03       ` David Sterba
2015-09-09  1:34 ` Qu Wenruo
2015-09-09  3:24   ` Qu Wenruo
2015-09-09 10:35     ` Vytautas D
2015-09-09 11:25       ` Duncan [this message]
2015-09-09 13:26       ` David Sterba
2015-09-09 13:25     ` David Sterba
2015-09-09 14:01       ` Austin S Hemmelgarn
2015-09-10  0:50       ` Qu Wenruo
2015-09-09 13:19   ` David Sterba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='pan$13b5d$e35e55fd$97aa970a$5853fbee@cox.net' \
    --to=1i5t5.duncan@cox.net \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.