From: Austin S Hemmelgarn <ahferroin7@gmail.com>
To: Roy Sigurd Karlsbakk <roy@karlsbakk.net>, Duncan <1i5t5.duncan@cox.net>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Btrfs and integration with GNU ++
Date: Mon, 18 May 2015 07:58:15 -0400 [thread overview]
Message-ID: <5559D3D7.4020405@gmail.com> (raw)
In-Reply-To: <1042503921.46602.1431940928643.JavaMail.zimbra@karlsbakk.net>
[-- Attachment #1: Type: text/plain, Size: 2787 bytes --]
On 2015-05-18 05:22, Roy Sigurd Karlsbakk wrote:
>>> For btrfs to be accepted as a primary filesystem in major distros, I'd
>>> think it should integrate with existing tools.
>>
>> Well, fortunately or unfortunately, btrfs is already being accepted as a
>> primary fs in major distros.
>
> Interesting - which ones is it that's doing this?
>
While I don't know of any that use it by _default_ yet, I do know that
it is an easy to use option on most of the big non-comercial distros
already (Debian, Fedora, Ubuntu, etc.), and a couple (Gentoo, Arch, and
possibly Slackware) have had the option to use it since it went mainline
(although that is just a side effect of the installation procedures, not
any kind of active attempt at support).
>>> Currently, df seems to show good data, while du doesn't.
>>
>> There has been some work put into what df returns to make it so, while
>> similar work to du has not yet been released, and in fact only quite
>> recently (within the last month) has been proposed on the list.
>>
>> Maturity of the filesystem, again...
>
> hehe
>
>>> Lastly - I just did a small test on a 6 drive RAID-6, turned on
>>> compression and started cat /proc/zero > testfile - let this run until
>>> the filesize was 500GB and stopped it. Made some other test files and a
>>> copy of these with --reflink=auto just for kicks. rm test* and waited.
>>> While waiting, did a 'echo b > /proc/sysrq-trigger' and fsck started on
>>> bootup and took a minute or so to complete. Since the filesystem is
>>> rather small (6x8GB VDEVs on top of ZFS with SSD caching, kvm as
>>> hypervisor), I wonder how long this fsck job would take if it were on a
>>> system with, say, 6 4TB drives. RHEL/CentOS7 just moved to XFS to allow
>>> for system crashes without this hour-long fsck job, and I somewhat doubt
>>> that btrfs will be the chosen one if it requires the same amount of time
>>> as of ext4.
>>
>> As Qu mentions, on-mount fsck is not needed on btrfs, as assuming no bugs
>> (filesystem maturity, again), due to btrfs' COW nature, commits are
>> atomic and the filesystem is self-consistent at every commit. Commits
>> occur every 30 seconds by default (it's a mount option), and there's only
>> a very limited journal of fsynced transactions kept since the last
>> commit, to be sure they are recoverable even when the filesystem crashes
>> between commits, that automatically replays on mount. So no on-mount fsck
>> needed.
>
> I didn't run it. Some part of the Jessie startup did, and 1 minute for just 6x8GB (not TB) seems a lot…
>
To me, this sounds like some sort of systemd issue, I have heard of it
having issues occasionally with long delays when handling btrfs
filesystems with more than 4 devices.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 2967 bytes --]
next prev parent reply other threads:[~2015-05-18 11:58 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-17 19:33 Btrfs and integration with GNU ++ Roy Sigurd Karlsbakk
2015-05-18 1:32 ` Qu Wenruo
2015-05-18 6:41 ` Duncan
2015-05-18 8:57 ` Duncan
2015-05-18 9:22 ` Roy Sigurd Karlsbakk
2015-05-18 11:58 ` Austin S Hemmelgarn [this message]
2015-05-18 14:31 ` Chris Murphy
2015-05-19 17:09 ` Roy Sigurd Karlsbakk
2015-05-19 18:05 ` Chris Murphy
2015-05-19 18:09 ` Chris Murphy
2015-05-19 19:41 ` Eric Sandeen
2015-05-19 20:04 ` Chris Murphy
2015-05-20 6:45 ` Duncan
2015-05-18 14:24 ` Chris Murphy
2015-05-19 7:24 ` Russell Coker
2015-05-19 11:56 ` Austin S Hemmelgarn
2015-05-19 18:02 ` Chris Murphy
2015-05-20 18:04 ` Zygo Blaxell
2015-05-20 18:02 ` David Sterba
2015-05-18 15:14 ` Eric Sandeen
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=5559D3D7.4020405@gmail.com \
--to=ahferroin7@gmail.com \
--cc=1i5t5.duncan@cox.net \
--cc=linux-btrfs@vger.kernel.org \
--cc=roy@karlsbakk.net \
/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.