|
|
Subscribe / Log in / New account

Fedora 16 to use Btrfs as its default filesystem

From:  Kevin Fenzi <kevin-AT-scrye.com>
To:  Development discussions related to Fedora <devel-AT-lists.fedoraproject.org>
Subject:  Summary/Minutes from today's FESCo meeting (2011-06-08)
Date:  Wed, 8 Jun 2011 12:49:24 -0600
Message-ID:  <20110608124924.2cd41e64@ohm.scrye.com>
Archive‑link:  Article

===================================
#fedora-meeting: FESCO (2011-06-08)
===================================

Meeting started by nirik at 17:30:03 UTC. The full logs are available at
http://meetbot.fedoraproject.org/fedora-meeting/2011-06-0...

Meeting summary
---------------
* init process  (nirik, 17:30:03)

* #563 suggested policy: all daemons must set RELRO and PIE flags
  (nirik, 17:32:50)
  * ACTION: defer until next week.  (nirik, 17:35:08)

* #594 F16Feature: F16 BTRFS default file system -
  http://fedoraproject.org/wiki/Features/F16BtrfsDefaultFs  (nirik,
  17:35:12)
  * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=689509 <- btrfs
    tracker bug  (gholms, 17:37:12)
  * LINK: https://fedoraproject.org/wiki/Talk:Features/F16BtrfsDefa...
    (mmaslano, 17:37:49)
  * AGREED: Feature is approved. Will add some base critera to the page
    to be met by feature freeze. This is just a swap of ext4 to btrfs
    for default, not change of lvm or other parts of default.  (nirik,
    17:59:26)

* #599 F16Feature: ConsoleKit Removal/Automatic Multi-Seat Support -
  https://fedoraproject.org/wiki/Features/ckremoval  (nirik, 18:01:33)
  * AGREED: defer to next week  (nirik, 18:18:09)

* #602 meeting topic: Live CD's and Install Media's arch inconsistent
  (nirik, 18:18:16)
  * LINK: http://fedoraproject.org/get-fedora doesn't seem to mention
    i386 or i686 anywhere  (mjg59, 18:22:29)
  * AGREED: will recommend to rel-eng that the live media change to be
    named 'i386' for the 32bit versions instead of i686.  (nirik,
    18:29:01)

* #603 F16Feature: Ada developer tools -
  https://fedoraproject.org/wiki/Features/Ada_developer_tools  (nirik,
  18:29:16)
  * AGREED: Feature approved.  (nirik, 18:31:37)

* #604 F16Feature: CloudFS -
  http://fedoraproject.org/wiki/Features/CloudFS  (nirik, 18:33:41)
  * AGREED: Feature approved.  (nirik, 18:37:04)

* #605 F16Feature: Xen Pvops Dom0 -
  http://fedoraproject.org/wiki/Features/XenPvopsDom0  (nirik, 18:37:09)
  * AGREED: Feature approved.  (nirik, 18:44:17)

* Open Floor  (nirik, 18:44:30)

Meeting ended at 18:48:48 UTC.




Action Items
------------
* defer until next week.




Action Items, by person
-----------------------
* **UNASSIGNED**
  * defer until next week.




People Present (lines said)
---------------------------
* nirik (118)
* mjg59 (63)
* notting (54)
* mmaslano (29)
* ajax (29)
* kylem (21)
* mclasen (16)
* jlk (14)
* zodbot (11)
* jreznik (5)
* landgraf (3)
* rbergeron (3)
* gholms (2)
* Rombobeorn (2)
* cwickert (2)
* jsmith (2)
* Southern_Gentlem (1)
* SMParrish (0)
--
17:30:03 <nirik> #startmeeting FESCO (2011-06-08)
17:30:03 <zodbot> Meeting started Wed Jun  8 17:30:03 2011 UTC.  The chair is nirik. Information
about MeetBot at http://wiki.debian.org/MeetBot.
17:30:03 <zodbot> Useful Commands: #action #agreed #halp #info #idea #link #topic.
17:30:03 <nirik> #meetingname fesco
17:30:03 <nirik> #chair mclasen notting nirik SMParrish kylem ajax cwickert mjg59 mmaslano
17:30:03 <nirik> #topic init process
17:30:03 <zodbot> The meeting name has been set to 'fesco'
17:30:03 <zodbot> Current chairs: SMParrish ajax cwickert kylem mclasen mjg59 mmaslano nirik
notting
17:31:11 <mjg59> Afternoon
17:31:16 <mmaslano> hello
17:31:24 <nirik> morning
17:32:01 <ajax> buenos dias
17:32:15 <kylem> yoyosup.
17:32:29 * cwickert is here but pretty busy
17:32:40 <nirik> I guess thats enough folks... lets go ahead and dive in.
17:32:50 <nirik> #topic #563 suggested policy: all daemons must set RELRO and PIE flags
17:32:50 <nirik> .fesco 563
17:32:51 <zodbot> nirik: #563 (suggested policy: all daemons must set RELRO and PIE flags) - FESCo
- Trac - https://fedorahosted.org/fesco/ticket/563
17:32:54 <nirik> ajax: any news on this one?
17:33:17 <kylem> nirik, i dropped the ball on this, and haven't followed up with the binutils
folks.
17:33:26 <kylem> sent a ping this morning though.
17:33:30 <nirik> ok, no worries.
17:33:41 <ajax> still not urgent, not like a mass rebuild is scheduled soon.
17:33:45 <nirik> so it was some package that broke in a weird way, right?
17:34:02 <ajax> it's a little more subtle.
17:34:15 <kylem> nirik, anything that uses symbol names which conflict with a library will have
some issues.
17:34:18 <ajax> short answer is "-fPIE implies -rdynamic and that seems unintentional"
17:34:26 <kylem> ^^ what ajax said. :)
17:34:34 * nirik nods. ok.
17:34:40 <nirik> ok, revisit next week...
17:34:50 <kylem> i'll try to drag one or two of them to the meeting next week, if possible.
17:34:59 <nirik> sounds good.
17:35:08 <nirik> #action defer until next week.
17:35:12 <nirik> #topic #594 F16Feature: F16 BTRFS default file system -
http://fedoraproject.org/wiki/Features/F16BtrfsDefaultFs
17:35:12 <nirik> .fesco 594
17:35:13 <zodbot> nirik: #594 (F16Feature: F16 BTRFS default file system -
http://fedoraproject.org/wiki/Features/F16BtrfsDefaultFs) - FESCo - Trac -
https://fedorahosted.org/fesco/ticket/594
17:35:25 <nirik> so, we got a bit more info from josef. He's unable to attend today.
17:35:37 <mmaslano> I've added some question on Talk page
17:35:51 <mmaslano> so, hopefully he'll be able to answer them
17:35:53 <nirik> so, do we need more info? we were going to look at adding criteria.
17:36:12 <nirik> ie, it must do this by feature freeze, etc.
17:37:12 <gholms> https://bugzilla.redhat.com/show_bug.cgi?id=689509 <- btrfs tracker bug
17:37:16 <mmaslano> imho all mentioned points are important for F-16
17:37:37 <mmaslano> gholms: I don't think there are all problems
17:37:49 <mmaslano> https://fedoraproject.org/wiki/Talk:Features/F16BtrfsDefa...
17:38:03 <gholms> Sure, I'm just throwing that out there.
17:39:13 <mjg59> mmaslano: The kernel.org wiki doesn't seem to be keen on talking to me at the
moment. What's the issue with dm-crypt?
17:40:24 <mmaslano> mjg59: there were some complaints about encryption with btrfs on dm-crypt
17:41:14 <mmaslano> mjg59: josef says that bug is in dm-crypt, but he didn't send any bug report
17:41:22 <mmaslano> or reproducer
17:41:27 <mjg59> Well, I think we'd expect dm-crypt to work
17:41:38 <mmaslano> I suppose dm-crypt is working
17:41:45 <mjg59> But otherwise the only thing that seems like a functional regression is quota
17:41:51 <mmaslano> withtout reproducer, hard to say
17:42:10 <mmaslano> whatabout fsck?
17:42:23 <nirik> so, I guess I'd like to see: a) some feedback from anaconda folks. Does this
switch seem reasonable given their other plans for f16, etc.... and b) we need a hard list of
criteria on the feature page that if they aren't all met we go to fallback.
17:42:23 <mjg59> We've got a commitment to fsck
17:42:32 <mjg59> If it doesn't arrive then we'd punt to F17
17:42:44 <nirik> yeah, so is quota something we punt for or not?
17:43:12 <mjg59> I'm leaning towards saying no?
17:43:19 <kylem> default surely doesn't mean 'only'
17:43:21 <nirik> what should be the hard critera list, I guess is what I am asking. ;)
17:43:29 <mjg59> In that anyone running a service where you need quota should probably not be using
btrfs just yet
17:43:30 <kylem> as long as it's well documented ahead of time.
17:43:43 <mjg59> I'd say hard criteria are:
17:43:46 <nirik> * robust fsck/handles power loss, etc.
17:43:46 <mmaslano> nirik: a/ I was speaking with few of anaconda guys today. They have only basic
setup, no fancy features
17:43:53 <ajax> yeah, i don't think i'd block on quota
17:43:55 <notting> flipping anaconda's default is pretty easy, as long as you're treating it as any
other FS
17:43:58 <mjg59> * Works on top of lvm/dm-crypt
17:44:04 <mjg59> * Has a working bootloader
17:44:05 * nirik nods.
17:44:14 <nirik> * works for live media ?
17:44:23 <mjg59> Mrm.
17:44:30 <kylem> notting, right.
17:44:32 <notting> * handles simple failure conditions (-ENOSPC, etc.)
17:44:43 <mjg59> Live media? I guess?
17:44:56 <kylem> notting, obviously that won't cut mustard if you're installing from live though.
17:45:06 <mjg59> I suppose it ought to Just Work, but in the worst case it ends up as ext4 again
and you get a different fs depending on install method
17:45:14 <nirik> also, /boot or not to /boot? ;)
17:45:15 <notting> handling live media implies handling grow/shrink
17:45:17 <mjg59> Which sucks, but then so does the set of differences you have depending on install
method anyway
17:45:18 <mmaslano> mclasen has some questions from destop perscpective
17:45:26 <notting> nirik: that's 'has a working bootloader'
17:45:28 <ajax> we already have /boot varying.
17:45:47 <nirik> ajax: we do?
17:45:55 <mjg59> I can't see anything especially awkward from a desktop perspective
17:46:08 <notting> nirik: encryption
17:46:10 <kylem> then again, users shouldn't be storying crap on / and /usr, so they could always
have those on btrfs and /home, /var/mail, etc. on ext4 if quota blocks them.
17:46:14 <nirik> notting: more a 'if we only need /boot for encrypted installs, do we force it for
everyone? or leave it off default with no encryption'?
17:46:26 <mmaslano> mclasen mentioned thsi link
http://lists.fedoraproject.org/pipermail/desktop/2011-Jun...
17:46:38 <ajax> at least, if you were using icantbelieveitsnotbtr in past releases, we were smart
enough to not try btrfs on /boot
17:46:44 <nirik> I guess it's easier to just leave it
17:46:48 <mjg59> nirik: Or let people who want encryption create an unencrypted /boot slice?
17:47:01 <mjg59> Doing that's presumably a matter of shuffling
17:47:05 <nirik> mjg59: it should be easily doable via installer... ;)
17:47:13 <ajax> mmaslano: those sound like features desktop might want to add, not issues that
would impede adoption
17:47:30 <mjg59> nirik: Yeah, so the only real reason to force a separate /boot for everyone would
be if otherwise it was difficult to move to encryption later
17:47:36 <mjg59> And that doesn't seem to be an issue here
17:47:38 <mmaslano> ajax: i didn't read it yet...
17:47:53 <mjg59> I suppose that if we create slices then we probably need palimpsest to be able to
deal with them, rather than just partitions
17:48:00 <nirik> mjg59: well, and confusion from a support perspective, but we are used to that. ;)
(did you install from live media? etc)
17:48:29 <notting> mjg59: but, the implication is that we aren't creating slices
17:48:35 <nirik> anyhow, would someone like to add the critera to the wiki page? then we could
either vote now, or ask josef to comment on our critera first?
17:49:28 <mmaslano> nirik: I suppose there were all marked with *
17:49:45 <mjg59> notting: Not by default, but if we want to drop /boot (except for people who
choose encryption beforehand) then they'd need to add one later if they want to transition
17:50:07 <mjg59> But I think we're bikeshedding somewhat here
17:50:11 <nirik> mjg59: I expect re-install would be easier than tooling for that.
17:50:11 <mjg59> That kind of thing's up to Anaconda
17:50:23 <mjg59> nirik: Short term, probably. Long term I'd hope we can do better.
17:50:27 <nirik> sure.
17:50:34 <notting> mjg59: and a lot of this depends on the upstream roadmap for btrfs slices, raid,
etc. which is all still somewhat up in the air
17:52:24 <nirik> so, are we assuming lvm still here?
17:52:30 <nirik> (by default0
17:52:34 <mjg59> nirik: I think so
17:52:55 <mjg59> If we have something better implemented by F16 then woo, but I don't think we'd
require it?
17:53:00 <notting> bleah, this seems like something that needs more design
17:53:10 <nirik> yeah.
17:53:17 <mjg59> Integration requires a lot of design
17:53:23 <mjg59> I think btrfs-by-default doesn't
17:53:25 * nirik was thinking no lvm, but not sure why.
17:53:53 <ajax> possibly because, in a just universe, btrfs would be a functional replacement for
lvm
17:54:00 <mjg59> The proposal here isn't that we transition overnight to an awesome new filesystem
universe
17:54:07 <nirik> ajax: +1
17:54:09 <notting> what good is btrfs by default without integration ? just testing thereof?
17:54:12 <mjg59> The proposal is that we swap out ext4 and basically everything else carries on as
is
17:54:20 <mjg59> notting: Yeah, and users can work on it
17:54:28 <notting> mjg59: then that just goes back to the simple criteria above
17:54:36 <mjg59> Right
17:54:39 <notting> ajax: alas, we do not live in a just universe
17:54:49 <ajax> notting: don't i know it
17:55:03 <nirik> if thats all we are doing, ok. add critera and +1. I was thinking we were moving
to a more radical change...
17:56:06 <mjg59> Hm.
17:56:14 <mjg59> The feature description does actually say remove LVM
17:56:16 <notting> i am +1 to the 5 criteria above, with the understanding that it's s/etx4/btrfs/
17:56:31 <mjg59> But I suspect that depends on more anaconda work than anything else
17:56:54 <mjg59> I'm +1 to btrfs by default, and if the engineering work to replace lvm gets done
then wonderful
17:56:56 <mmaslano> I suppose btrfs can't encrypt without lvm, but I might be wrong
17:57:02 <ajax> mmaslano: correct.
17:57:04 <mmaslano> +1 for criteria
17:57:04 <mjg59> But I'm sceptical about that happening
17:57:07 <notting> can't encrypt without device-mapper
17:57:10 <nirik> right, but in the non encrypt case it doesn't need it.
17:57:12 <notting> device-mapper isn't exactly lvm
17:57:18 <notting> (yeah yeah, semantics)
17:57:22 <nirik> yeah, that too.
17:57:35 <ajax> +1 for the simple default change
17:57:53 <nirik> thats +5 with the 5 critera added and just changing ext4 for btrfs.
17:58:05 <nirik> would someone be willing to add to the page the criteria?
17:58:16 <mjg59> Sure
17:58:22 <nirik> thanks
17:58:39 <nirik> we might also make clear that if the lvm replace/dropping happens we should
re-evaluate?
17:58:40 <kylem> +1
17:59:15 <mmaslano> I don't think they will be able to make it to freeze...
17:59:26 <nirik> #agreed Feature is approved. Will add some base critera to the page to be met by
feature freeze. This is just a swap of ext4 to btrfs for default, not change of lvm or other parts
of default.
17:59:50 <nirik> anything more on this? or shall we move on?
18:00:36 <mmaslano> for the record I was for list of criteria, not for btrfs ;-)
18:01:26 <notting> nirik: surely it's change the default status of LVM that would cause
re-evaluation.  we are not, and will not, replace/drop LVM support itself
18:01:33 <nirik> #topic #599 F16Feature: ConsoleKit Removal/Automatic Multi-Seat Support -
https://fedoraproject.org/wiki/Features/ckremoval
18:01:33 <nirik> .fesco 599
18:01:40 <zodbot> nirik: #599 (F16Feature: ConsoleKit Removal/Automatic Multi-Seat Support -
https://fedoraproject.org/wiki/Features/ckremoval) - FESCo - Trac -
https://fedorahosted.org/fesco/ticket/599
18:02:49 <nirik> any news here?
18:03:19 <ajax> what were we hoping for?
18:03:39 <mmaslano> KDE would like to know what does it mean for them if they want to support it
18:03:47 <mmaslano> more details will be appreciated
18:04:43 <notting> there's also a question of how this affects zaphod mode
18:04:47 <notting> which, wheee
18:05:03 <ajax> can i just delete zaphod mode already please
18:05:21 * mclasen apologizes - was in another meeting and had a networkmanager malfunction
18:05:35 <ajax> but no, zaphod mode is accounted for here
18:05:44 <ajax> if you want multiple GPUs on one seat, bind multiple GPUs to one seat.
18:06:25 <ajax> i _assume_ that's what's meant, since that's the case where currently you're forced
into zaphod mode if you want 3d.
18:06:25 <mclasen> lennart was travelling last week and on vacation this week, so no surprise
there's no updates...
18:06:44 * nirik got a phone call. just a sec.
18:06:49 <notting> mclasen: i'm assuming (hah) that if an older desktop still relies on CK, they
can still require it?
18:07:00 <mclasen> notting: thats my understanding, yes
18:08:15 <mclasen> so the feature may be a bit misnamed
18:08:20 <nirik> should we defer? also cwickert had some questions I think...
18:08:34 <mclasen> since it is not so much about removal as replacement by something better
18:08:36 <nirik> if ck is still around, then I would think it would be ok.
18:08:41 <mmaslano> probably othere desktops would like to know if it'll still be working with ck
18:09:18 <mmaslano> and if it won't be removed/changed after freeze like network manager
18:09:27 <mclasen> I'll ask lennart to answer questions on the feature page for next weeks meeting
18:09:41 <nirik> sounds reasonable.
18:09:50 <nirik> any objections?
18:09:58 <ajax> sounds good to me
18:10:08 <notting> from the plan:
18:10:10 <notting> Transition:
18:10:10 <notting> We will ensure CK and the new scheme can run side-by-side. Only the ACL
management of CK will be disabled when the new scheme is enabled
18:10:10 <notting> Phase-out similar to HAL's, leave things running side-by-side but port important
things over quickly. Should be much easier than HAL, since less code uses it
18:10:18 <notting> not sure it can be clearer than that.
18:10:41 <nirik> that sounds like it's being done in a way that shouldn't cause too much pain...
18:10:46 <cwickert> notting: so what does "Only the ACL management of CK will be disabled when the
new scheme is enabled" mean exactly?
18:10:48 <notting> note that the ACL management is an implementation detail between CK and udev
18:11:02 <notting> cwickert: right now udev reads CK's db to determine the active user to apply
ACLs
18:11:07 <mclasen> we can spell out some details, like 'the package will still be available', how
to ensure it is installed/running if you need it, etc
18:11:20 <nirik> so ck using desktops will continue to work as they have?
18:11:30 <nirik> or something will need to happen to get acls setup for them?
18:11:31 <notting> cwickert: this will move to the generic pam_... module on login that systemd
provides
18:11:55 <notting> cwickert: i.e., the implementation changes, but (AFAIK) the interface for users
& packagers remains the same
18:11:58 <mclasen> nirik: that is the kind of question that I'll try to get lennart to provide
details about, if you put it on the talk ppage
18:11:59 <jreznik> notting: another question - what we will have to do if we want to support new
system/replacement - cause of interoperability between desktops
18:12:08 <jreznik> we can try to implement it then...
18:12:46 <mclasen> jreznik: is that a question about fast-user-switching between a systemd-using
and a ck-using desktop ?
18:13:37 <nirik> so, lets add questions and revisit next week?
18:13:41 <nirik> unless there's a hurry?
18:13:42 <jreznik> mclasen: yeah, that's one issue
18:13:59 <jreznik> but I'd rather to have proper implementation - side by side hurts kitties :)
18:14:37 <notting> nirik: nothing should need to change for other desktops for ACLs
18:14:47 <nirik> notting: cool.
18:15:38 <nirik> so do folks just want to vote today? or ?
18:16:28 <mmaslano> more detail with mentioned questions?
18:16:34 <mjg59> Let's wait for Lennart
18:16:39 <kylem> i don't really feel confident enough about it to vote on it right now.
18:16:53 <ajax> yeah, wait
18:16:53 <notting> so, questions would be:
18:17:01 <notting> 1) clarify that existing CK desktops remain working without changes
18:17:08 <notting> 2) describe how to port to the new support
18:17:08 <notting> ?
18:17:14 * nirik nods.
18:18:00 <jreznik> notting: ok for me :) thanks!
18:18:09 <nirik> #agreed defer to next week
18:18:16 <nirik> #topic #602 meeting topic: Live CD's and Install Media's arch inconsistent
18:18:16 <nirik> .fesco 602
18:18:17 <zodbot> nirik: #602 (meeting topic: Live CD's and Install Media's arch inconsistent) -
FESCo - Trac - https://fedorahosted.org/fesco/ticket/602
18:18:45 <notting> blarg :)
18:18:49 <nirik> Here's a fun one. ;) This might be more rel-engy, but they have bumped around
trying to get this discussed/addressed.
18:19:08 <nirik> I don't suppose we could do:
18:19:23 <nirik> /x86/32bit/
18:19:28 <nirik> /x86/64bit/
18:19:49 <mjg59> I vote we ignore this ticket due to "Fedora needs to be consistent"
18:20:17 <mjg59> WHich, if accepted as a premise, would result in a lot of changes
18:20:25 <nirik> ha.
18:20:45 <nirik> I agree this is a source of confusion, but I'm not sure how to make it all that
clear.
18:20:58 <mclasen> mjg59: we could change the links without accepting the premise, I assume
18:21:04 <mjg59> If there's any confusion it's that the live media is called i686
18:21:21 <jlk> historically that was because we only included the i686 kernel on that media
18:21:22 <mjg59> I think i386 is pretty well established as the generic name for 32-bit x86
18:21:24 <notting> this is essentially uname -m vs. uname -p?
18:21:34 <jlk> whereas the DVD had i586 and i686 kernels
18:21:43 <mjg59> notting: Yeah
18:21:44 <jlk> also, I think this is "blame jeremy" land
18:22:08 <notting> yeah, this dates back to when live actually was different
18:22:18 <ajax> this is so minor i wonder why we're looking at it.  pick something consistent and
do it.
18:22:23 <mjg59> Also, am I missing something?
18:22:29 <mjg59> http://fedoraproject.org/get-fedora doesn't seem to mention i386 or i686 anywhere
18:22:34 <jlk> mjg59: the iso names
18:22:41 <jlk> people are bitching about the iso names and iso labels
18:22:53 <notting> it is far far far far less kely to break things to rename the live image to i386
than to try and drive i686 everywhere
18:22:54 <jlk> (that much free time)
18:22:55 <mjg59> jlk: But we don't show those to the user
18:23:15 <jlk> mjg59: sortof.  They see it when they insert the disc
18:23:18 <mjg59> So honestly I don't care but if someone wants to rename the live image to i386 I'm
fine with that
18:23:24 <jlk> or when they go to burn it from the download directory
18:23:28 <nirik> notting: then peope will ask why it doesn't run on their 486? ;)
18:23:41 <jlk> IIRC the live is still "different" in that it doesn't have PAE right?
18:23:42 <notting> nirik: LA LA LA
18:23:44 <nirik> I don't actually see i386 anywhere there on the current pages.
18:23:45 <jlk> whereas the DVD still has the PAE option
18:23:48 <mjg59> jlk: They're only going to notice the discrepency if they download both
18:23:49 <nirik> it's all i686
18:23:58 <jlk> or are we finally down to single kernel on 32bit ?
18:24:00 <notting> jlk: doesn't change the supported hardware set
18:24:02 <notting> iirc
18:24:15 <mclasen> nirik: we could offer them to drop them off at the westford office for free
e-trash removal ? can't be that many...
18:24:16 <notting> jlk: just have least common denominator on live
18:24:18 <jlk> mjg59: these aren't normal people bitching.
18:24:22 <nirik> I guess with the dvd it is
18:24:47 * jlk is perfectly fine with having the iso and label changed to i386 to match the DVD.
18:24:56 <jlk> just so we're clear.  But I'm not releng anymore
18:25:05 <nirik> why not s/i386/i686/ ?
18:25:27 <mjg59> We don't work on all i686
18:25:35 <notting> nirik: that implies moving paths on the ftp/web servers, changing yum's
$basearch, and all sorts of other similar ways to break everything
18:25:38 <mjg59> So that's not meaningful either
18:25:55 <ajax> mjg59: which one are you thinking of?
18:26:19 <ajax> iirc we went out of our way to hit the subset of (pentium pro, geode gx/lx)
18:26:29 <nirik> notting: yeah, pain for sure.
18:26:54 <nirik> /Fedora/15/ppro-and-geode-gx-and-stuff/
18:27:01 <mjg59> ajax: cmov
18:27:08 <mjg59> So some VIAs
18:27:22 <notting> mjg59: <insert trolling about relevance of via> ?
18:27:29 <mjg59> Yeah I know right
18:27:42 <notting> proposal: refer to rel-eng with recommendation of renaming the live iso ?
18:27:45 * mclasen submits that it doesn't make any difference how the iso is named, lets move on
?
18:27:46 <mjg59> But 686 is a meaningless string in terms of telling you which hardware we work on
18:27:58 <mjg59> So there's no reason to prefer 686 over 386, so if we're going to be consistent do
it the way that's less work
18:27:58 <nirik> true I suppose.
18:28:02 <nirik> notting: +1
18:28:08 <mjg59> +1
18:28:12 <mclasen> +1
18:28:30 <notting> (the alternate propsal is "dontcare wontfix", i suppose
18:28:58 <kylem> really don't care one way or another: +1
18:29:01 <nirik> #agreed will recommend to rel-eng that the live media change to be named 'i386'
for the 32bit versions instead of i686.
18:29:16 <nirik> #topic #603 F16Feature: Ada developer tools -
https://fedoraproject.org/wiki/Features/Ada_developer_tools
18:29:16 <nirik> .fesco 603
18:29:18 <zodbot> nirik: #603 (F16Feature: Ada developer tools -
https://fedoraproject.org/wiki/Features/Ada_developer_tools) - FESCo - Trac -
https://fedorahosted.org/fesco/ticket/603
18:29:49 <landgraf> I'm here.
18:30:16 <mjg59> It's just a toolchain and bindings update?
18:30:17 <mjg59> +1
18:30:25 <notting> yeah, +1
18:30:27 <mmaslano> +1
18:30:28 <nirik> +1.
18:30:34 <kylem> +1.
18:30:36 <landgraf> mjg59: no, not only update
18:31:08 <Rombobeorn> landgraf: I take it you expect full Ada 2012 support in GCC before F16?
You're not bringing in GNAT GPL right?
18:31:37 <nirik> #agreed Feature approved.
18:32:08 <landgraf> Rombobeorn, I'm not sure that we can build GNAT GPL from scratch ... so only
gcc
18:32:56 <nirik> ok, anything further on this or shall we move on?
18:33:02 <nirik> landgraf: thanks for being available. :)
18:33:17 <Rombobeorn> Do move on.
18:33:41 <nirik> #topic #604 F16Feature: CloudFS - http://fedoraproject.org/wiki/Features/CloudFS
18:33:42 <nirik> .fesco 604
18:33:43 <zodbot> nirik: #604 (F16Feature: CloudFS -
http://fedoraproject.org/wiki/Features/CloudFS) - FESCo - Trac -
https://fedorahosted.org/fesco/ticket/604
18:34:47 <mjg59> +1
18:35:01 <notting> i'm failing to remember - why did we defer this from f15, and what's changed?
18:35:22 <nirik> I think they simply didn't have it working yet.
18:35:27 <kylem> some packages didn't get reviewed in time, or something, i believe/
18:35:30 <rbergeron> notting: he needed to get gluster to have some additional patches, etc.
18:35:35 <rbergeron> before he could do other things.
18:35:43 <rbergeron> And Time was just not there to do it well and right.
18:35:49 <nirik> +1 here
18:35:54 <notting> ok then. +1
18:36:25 <ajax> looks nicely documented from a quick look, +1
18:36:38 <kylem> sounds good, +1.
18:37:04 <nirik> #agreed Feature approved.
18:37:09 <nirik> #topic #605 F16Feature: Xen Pvops Dom0 -
http://fedoraproject.org/wiki/Features/XenPvopsDom0
18:37:09 <nirik> .fesco 605
18:37:10 <zodbot> nirik: #605 (F16Feature: Xen Pvops Dom0 -
http://fedoraproject.org/wiki/Features/XenPvopsDom0) - FESCo - Trac -
https://fedorahosted.org/fesco/ticket/605
18:37:14 <nirik> it's back! ;)
18:37:55 <jsmith> It's like deja-vu all over again
18:38:15 <kylem> fml.
18:38:18 <nirik> So, this is back to a kernel-xen package for dom0?
18:38:25 <nirik> subpackage rather
18:38:30 <nirik> or does the default work for this?
18:38:42 <notting> the point of pvops was that the default would work, right?
18:38:46 <mclasen> wasn't full xen support something that will appear in the 3.0 kernel ?
18:38:59 <notting> mclasen: still no hypervisor
18:39:05 <notting> so you'd have to still install that from elsewhere
18:39:11 <mclasen> oh, ok
18:39:15 <nirik> also, virt tools would be aware?
18:39:21 <kylem> i thought i already turned all that crap on tho.
18:39:24 <mjg59> Yeah, it's just turning on the config options in 3.0
18:39:40 <nirik> ah, it has a seperate initramfs
18:39:48 <ajax> libvirt has a pretty robust xen backend, yeah
18:40:30 <nirik> yeah, it notes that it should work...
18:41:09 <notting> i'm firmly in the "don'tcare" category here, but i'm fine with allowing people
to tilt at their own windmills. would like a way to describe this as "we support this, but we
recommend you do XYZ instead"?
18:41:51 <nirik> I'm not sure I like the seperate initramfs, but that also probibly increases the
barrier to anyone using it...
18:42:07 <ajax> nirik: that's kind of always been true though
18:42:30 <nirik> yeah. seperate kernel has a similar effect.
18:42:51 <nirik> anyhow, +1 here...
18:43:18 <mmaslano> +1
18:43:22 <ajax> +1
18:43:35 <kylem> +1.
18:43:49 <mclasen> +1 too
18:44:16 <notting> +1
18:44:17 <nirik> #agreed Feature approved.
18:44:30 <nirik> #topic Open Floor
18:44:37 <nirik> ok, anything for open floor from anyone?
18:44:53 <nirik> I'll note that elections are coming to a close... so we should have a new set of
fesco folks next meeting...
18:45:10 <nirik> If I'm not re-elected, it's been nice working with you all. ;)
18:45:18 <kylem> I'd like to take this opportunity to say thanks to you, nirik, for being the chair
of the meetings for this term (regardless of the outcome I think you mentioned you'd be stepping
aside.)
18:45:40 <Southern_Gentlem> kylem,  he is running
18:45:42 <nirik> yeah, I would kinda like to pass on the chair next session in any case... or move
to a rotating one or something...
18:46:35 <ajax> indeed, really not fair to force the job onto one person all the time, it's a lot
of work
18:46:40 <nirik> anyhow... anything for open floor? or should we call it a meeting?
18:46:44 <ajax> thanks for doing it though!
18:46:48 <nirik> yeah, it's not hard, but it takes time...
18:46:49 <ajax> nothing from me
18:46:55 <mmaslano> nirik: thank you
18:47:09 <mjg59> Well, thanks to everyone who's put in time
18:47:10 <jsmith> Thanks from the FPL as well!
18:47:28 <notting> do we want to have both new and old members at next meeting for transition?
18:47:56 <nirik> we could. That might be nice if folks can make it.
18:48:44 <nirik> ok, thanks for coming everyone!
18:48:48 <nirik> #endmeeting
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


to post comments

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 9, 2011 23:52 UTC (Thu) by RobertBrockway (guest, #48927) [Link] (40 responses)

I think switching to BTRFS as the default is a mistake at this point. It's going to bite the people most likely to accept a default - inexperienced users.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 0:47 UTC (Fri) by cry_regarder (subscriber, #50545) [Link] (5 responses)

In what way?

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 2:12 UTC (Fri) by RobertBrockway (guest, #48927) [Link] (4 responses)

Like it or not people use Fedora to get real work done (personally I'm a Debian man). I don't have sufficient confidence in btrfs to trust important data to it yet, hence I fear setting it as a default for inexperienced users.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 2:15 UTC (Fri) by mjg59 (subscriber, #23239) [Link] (3 responses)

If there's any indication that it's not reliable then it'll be reverted before release.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 7:26 UTC (Fri) by evad (subscriber, #60553) [Link] (2 responses)

"Note that Btrfs does not yet have a fsck tool that can fix errors. While Btrfs is stable on a stable machine, it is currently possible to corrupt a filesystem irrecoverably if your machine crashes or loses power on disks that don't handle flush requests correctly. This will be fixed when the fsck tool is ready."

(From the btrfs homepage)

That alone should mean the feature should be postponed; unless the Fedora developers know more than us and that (now quite delayed) tool will be released within the next six months?

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 7:32 UTC (Fri) by rahulsundaram (subscriber, #21946) [Link]

If you read the IRC meeting logs and earlier conversations in Fedora devel list you would already know the answer to this. Josef Basik, Red Hat Btrfs filesystem developer is actively working on this upstream and he claims this will be released shortly after extensive testing. If this doesn't hold true, Btrfs won't be retained as default for the final release of Fedora 16 as FESO has already stated clearly.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 15:13 UTC (Fri) by cmorgan (guest, #71980) [Link]

If your device isn't handling flush requests properly you should fix/replace the device. I also suspect that misbehaving devices are relatively rare after seeing that vendors like HP/Compaq/EMC specifically tested for that in their qualification tests for disk drives. The whole idea of those flush commands is to ensure that data has been written persistently.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 1:10 UTC (Fri) by Hausvib6 (guest, #70606) [Link] (6 responses)

They are the best test subject, we'll get to know what happens when something as "experimental" (as written on the Linux config) as btrfs is put into the hands of the inexperienced.

Will they survive the ordeal?

Fedora 16

Coming soon: Winter 2011
Will be available on the nearest mirrors and trackers.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 1:29 UTC (Fri) by rahulsundaram (subscriber, #21946) [Link]

Hmm. How about MeeGo? They are using Btrfs by default too.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 1:33 UTC (Fri) by csigler (subscriber, #1224) [Link]

"In a world where new, more sophisticated filesystems are developed over many years, one advanced filesystem was released to an unsuspecting public... ahead of its time....

"Now, upgrades are crashing left and right, and the consequences for the helpless are... unimaginable!"

Coming Winter, 2011. Rated PG-13.

(All jesting aside, I'm betting btrfs will be ready for semi-prime time deployment.)

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 19:09 UTC (Fri) by arjan (subscriber, #36785) [Link] (3 responses)

Red Hat (I worked as kernel maintainer at the time there) also switched to EXT3 while the KConfig called it "experimental"

reality is that the KConfig "experimental" tag means very very little.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 11, 2011 1:06 UTC (Sat) by rahvin (guest, #16953) [Link] (2 responses)

I wouldn't say it has no meaning. I would say it means something different than the casual assumption. I've always taken the kconfig tag to mean that the code isn't finished. I'd say people like you interpret "experimental" to mean dangerous when it means no such thing. In a world where commercial software is often released prematurely and full of bugs the "experimental" tag in kconfig goes against that grain but IMO their definition of experimental is much more appropriate than the one used in the commercial software world.

There have been a dozen items in the kconfig marked experimental long after the development was stable and mostly bug free, but it didn't lose the tag until the kernel dev's were confident the code was stable and bug free by their own definition. Frankly I like their approach much better than the typical bug riddled commercial software available these days.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 11, 2011 8:55 UTC (Sat) by Hausvib6 (guest, #70606) [Link] (1 responses)

Exactly, just like Gmail.

This is apt analogy :-)

Posted Jun 11, 2011 18:37 UTC (Sat) by khim (subscriber, #9252) [Link]

Gmail actually lost "BETA" suffix when it acquired proper backup solution. It always kept three copies of data (it uses GFS, after all) and inter-datacenter replication (this is done to balance load not only to make sure data survives catastrophic fire), but... all that sophisticated schemes will only save your mail in case of hardware troubles.

Software

bugs had the ability to destroy everything anyway.

Once they added last line of defense (I think it was tape backup) and tested this thoroughly they dropped suffix beta. I think btrfs will need at least fsck befome it'll be declared non-experimental.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 1:10 UTC (Fri) by Ed_L. (guest, #24287) [Link] (5 responses)

Indeed, in what way? And "at this point" isn't really material, as the point of F16's release is five or six months off. Lots of tide to ebb 'tween now and then. From the posted discussion, it sounds like FESCO isn't going to do this thing unless btrfs "just works" -- at least on the routine house-garden-and-kitchen level. Seems to be some question about quota functionality, but that's hardly routine.

I haven't used btrfs myself, so am not really qualified to judge. And I won't be until there's a robust fsck. But FESCO isn't signing off 'till there is one, either.

'Spect there's a checkbox in someone's mind that RHEL can't/shouldn't release an "official" btrfs driver until some time X after its a Fedora default, and enterprise users really want this so there's probably some subtle psycho-pressure from upstairs but then so what else is new? :-)

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 6:39 UTC (Fri) by tialaramex (subscriber, #21167) [Link] (4 responses)

and the pressure exists on the other side too of course, although that's less excusable because if people were paying attention they can _test_ btrfs it's just not the default.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 7:15 UTC (Fri) by Ed_L. (guest, #24287) [Link] (3 responses)

Well... testing is one thing. Actually using it without an fsck is another,

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 13:11 UTC (Fri) by tialaramex (subscriber, #21167) [Link] (2 responses)

People (not me, but actual people, even ones who've criticised Linux distributions as too experimental and demanding of their users) run operating systems with no file system check tool at all.

Maybe they just have really good backups, I honestly don't know.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 11, 2011 20:15 UTC (Sat) by cwillu (guest, #67268) [Link] (1 responses)

I generally treat fsck as an optimization. If it works, great, I'm happy to save the time; if it doesn't, that's why I have backups (hourly in the case of my btrfs systems :p).

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 12, 2011 20:23 UTC (Sun) by tzafrir (subscriber, #11501) [Link]

Right. But then some bits are flipped on the hard-disk and your BTRFS is in a mess. You can't read your hourly snapshots. A simple btrfsck would have fixed that, right?

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 10:31 UTC (Fri) by sgros (guest, #36440) [Link] (20 responses)

You got it wrong. The article is about Fedora, not Ubuntu, so no inexperienced users there. :)

Sorry, I'm trolling I know, but I couldn't resist not to post this comment... :))

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 11, 2011 9:02 UTC (Sat) by Hausvib6 (guest, #70606) [Link] (19 responses)

Yeah, you're right. Fedora users are peasants working as test subjects for their landlord, Red Hat, who sells the tested products to nobles (RHEL users). On average, there are no enterprise-grade/carrier-grade/mission-critical peasants, so they are expendable most of the time.

:)

With something as important as filesystem, it's better be rock-solid and stable when presented to RHEL users.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 12, 2011 3:08 UTC (Sun) by butlerm (subscriber, #13312) [Link] (18 responses)

That argument would be a lot more compelling if legally derivative distributions like CentOS and Scientific Linux weren't available.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 12, 2011 4:00 UTC (Sun) by rahulsundaram (subscriber, #21946) [Link] (17 responses)

Yes indeed but it goes a bit more than that. Btrfs has been a option in Fedora for a few releases and gets tested throughout the development cycle and if there are any fixes, it all goes upstream and benefits every Linux user. Sure, Fedora derivatives will inherit these fixes but so will everyone else. If it doesn't meet the release criteria (robust fsck, error handling etc), then it will be postponed just like systemd got postponed from being default for Fedora 14.

There is nothing to complain about, really. Everyone should have backups and if you don't want to use Btrfs as default, pick something else like Ext4 or XFS which are going to be supported options forever till you feel it is mature but it is not going to considered mature automatically without some distribution taking the first step. Fedora happens to be really good at that and it fits the distribution goals perfectly. Even if you don't use Fedora, what Fedora does, still benefits you. What more could one ask for.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 12, 2011 14:49 UTC (Sun) by MisterIO (guest, #36192) [Link] (16 responses)

I agree with everything you said except for "...Everyone should have backups...". I doubt that any normal user can afford to have them.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 12, 2011 16:23 UTC (Sun) by rahulsundaram (subscriber, #21946) [Link] (12 responses)

What is your definition of "normal user" exactly? Casual desktop users can and do retain good backups just fine. This is not just on Linux but Windows and Macs too. They all include personal backup systems which are popular. Storage is now more accessible than ever. If you can't afford to have good backups, maybe you can afford to lose all your data instead. Even if you can trust your filesystem 100%, hard disks can and do fail not to mention accidental deletion which is even more common.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 13, 2011 7:04 UTC (Mon) by elanthis (guest, #6227) [Link] (11 responses)

If you think that personal backup solutions are used by anyone outside of a shockingly tiny minority of people, you are entirely out of touch with what the average computer user is like, does with his computer, knows about computers, thinks about computers, or wants to know about computers.

This is _really_ hard for computer nerds to accept -- especially so for developer-focused FOSS types whose circle of friends is mostly other developers -- but the regular user doesn't know what a backup is at anything more than a vague conceptual level, and he doesn't care because his computer is just a tool to get stuff done and learning computer terminology or programs or shortcuts is boring as crap and a waste of his time. Just like most FOSS developers probably couldn't tell the difference between a carburetor and a fuel injector without Googling them, most "casual users" can't tell the difference between a program and a document. Not because they're stupid, but just because they flat out don't freaking care, and would much much much rather spend their time out with friends or family, or outside, or watching TV, or playing games, or hitting the bar, or getting laid (as JWZ famously put it in his Groupware Bad article).

This is part of the reason why the OSes and platforms that target _real_ casual users remove the need for backups in the first place, by relying on either automatic or forced synchronization to other devices as often as possible or by syncing all documents and settings to "the Cloud." In other words, the backup always happens and is so ingrained into the system's use model that the user doesn't even need to be aware that it's happening.

When we get back into the realm of the scary/annoying/complicated desktop OS systems (be it Windows, OS X, Linux, or anything else), the only thing that saves the user from his own low give-a-crap meter is the expectation that the system will not randomly lose all his data because the vendor couldn't be bothered to make it stable enough for casual use.

I mean, seriously, we live in a world where a great number of "casual users" pay Apple or Best Buy a not-inconsiderable chunk of money to transfer files to new computers or recover files from fubar'd OS installs because the very act of copying files from one disk to another is not in their repertoire of computer skills. Or to look at it another way, we live in a world where anti-virus is pre-installed on 99% of Windows PCs because an overwhelming number of "casual users" (many of them self-proclaimed tech experts due to their frequent reading of PC Magazine and pcworld.com) still think that clicking Yes when the dialog "Naked_Hot_Actress_Screensaver.exe is from an untrusted source, are you sure you want to run this application?" pops up is a good idea.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 13, 2011 7:51 UTC (Mon) by rahulsundaram (subscriber, #21946) [Link] (7 responses)

I don't about your experiences but as I already noted, I know many casual desktop users (not developers) who do regularly take backups because they have lost data in the past and they cannot afford to do so again. This has nothing to do with the stability of the filesystem but often just physical hardware failures, viruses, accidental deletion of data and so on.

My point remains, everyone should have backups for their important data. It seems you fully agree with that and you are talking about implementation details like whether it should be automated and where the data should be stored. Anything that makes backup easier is fine by me.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 13, 2011 9:54 UTC (Mon) by elanthis (guest, #6227) [Link] (6 responses)

Obviously they do need backups, but if they need backups _even more_ than they do elsewhere, something is horribly wrong.

Your friends and family and coworkers are not normal casual users, if for no other reason than because they know you. Your personal anecdotes are as utterly meaningless as mine or anyone else's. If you can't step back and look at the larger picture outside your personal bubble then you are going to continue being really out of touch with what regular computer users are like. You can't look at your Aunt Tillie and use that as a measure of what an average computer user is like; you have to look at someone else's Aunt Tillie who has no nephew who's a bad-ass programmer, and in fact no contact at all with anyone who's more knowledgeable about computers than a CompUSA salesman.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 13, 2011 10:24 UTC (Mon) by rahulsundaram (subscriber, #21946) [Link] (5 responses)

"Obviously they do need backups, but if they need backups _even more_ than they do elsewhere, something is horribly wrong."

So you agree that they need backups for all their important data. Since I never claimed that they need it more than anywhere else, we are in complete agreement.

Anyone who is using Btrfs as this point or in the near future is hardly likely to be a casual desktop user anyway. So I hardly see why we are so bothered about my single statement that everyone should have backups.

The following is a side point but you are assuming a lot. Nowhere did I claim nor imply that I am helping anyone setup backups. In fact, I do not and I played no part at all in them setting up backups. Maybe my experience is different but since I never said that this was the average end user experience, there is no need to argue about that or assume that. So far, I haven't seen any neutral data on how many average end users actually do backups. Your opinions don't count.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 14, 2011 21:12 UTC (Tue) by elanthis (guest, #6227) [Link] (4 responses)

When you spend 30 seconds googling, you easily find facts and studies. :)

Here's the very first link for "user backups study" which incidentally claims that 92% of users do not perform regular backups. The results page on Google has a number of other such papers and reports from other sources.

http://www.backblaze.com/press-June-is-Backup-Awareness-M...

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 15, 2011 8:40 UTC (Wed) by jezuch (subscriber, #52988) [Link] (2 responses)

> 92% of users do not perform regular backups

On the other hand it says that as many as 8% of users *do* perform regular backups. Isn't it kinda optimistic? ;)

software nags some into backing up

Posted Jun 17, 2011 22:02 UTC (Fri) by skierpage (guest, #70911) [Link]

8% performing regular backups sounds about right. System "security" software nags you to make backups. E.g. my family Thinkpad running Windows has Lenovo's ThinkVantage Rescue and Recovery software nagging to make backups, and also the Norton 360 anti-virus icon displays an angry red X if you don't make regular backups. Alas the two programs don't understand each other, the former wastes disk space unless you manage backup generations, and the latter is dog slow navigating files to restore and doesn't backup the right directories for email software like Thunderbird and SeaMonkey. But if users with such utilities on their system bother to make the checkmarks go green, they're doing some kind of backup.

(I don't trust either of them, I occasionally fiddle with Unison and rsync to synchronize key directories to a storage drive where I can see files.)

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 21, 2011 13:26 UTC (Tue) by ssam (guest, #46587) [Link]

backing up on macosx is very easy, so that might be a fairly big chunk of the 8%.

maybe the distro installers should be asking people to choose a backup device.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 15, 2011 8:42 UTC (Wed) by rahulsundaram (subscriber, #21946) [Link]

30 seconds googling is not enough to verify any facts. Just see some links. I honestly don't know what average users do and don't really care. My statement on backups should be read in context which has nothing to do with average users anyway but people who are trying btrfs now.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 17, 2011 15:37 UTC (Fri) by jeremiah (subscriber, #1221) [Link] (1 responses)

I think FOSS developers are a little more diversified than you might think. Last summer my son and I wrote an asteroids clone together. This summer were putting a super charger in a Mustang GT, and rebuilding the engine in our tractor. All the while debating the pros and cons of open core vs. open, and GPLv3 vs. GPLv3 Affero for our startup. And I don't think this is unusual or rare. I think OSS developers all tend to be more jack of all trades and fix it them self types. Given that we like to fix the code our it kinda implies that we like to fix the things in our wetware lives as well.

Sorry for the off topic, but was just trying to figure out what kind fuel injectors to get this morning so your post just struck me. :)

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 17, 2011 23:15 UTC (Fri) by elanthis (guest, #6227) [Link]

Analogies are like swiss cheese: full of holes and often smelly. (But now that means that they taste good on sandwiches and are good for catching mice.)

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 18, 2011 14:42 UTC (Sat) by lab (guest, #51153) [Link]

> If you think that personal backup solutions are used ..(snip)...

As "depressing" as it sounds, I would have to agree with you. In my experience through a couple of decades as the "home computer support guy", I would say, that the overwhelming majority of people consider (all forms of) computers as utilities that needs to just work automagically the way they want them to. I have (very slowly) resigned to the fact, that nothing I will ever say or do is going to change that. That is also why I think that ChromeOS (and the likes) should gain widespread usage - it's simply the only way forward.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 13, 2011 2:14 UTC (Mon) by cowsandmilk (guest, #55475) [Link]

Most normal users can afford backups more than they can afford to lose the stuff they are backing up.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 13, 2011 3:27 UTC (Mon) by Hausvib6 (guest, #70606) [Link] (1 responses)

They are just lazy, like me, or clueless. When the disaster strikes, they will running around screaming blaming the fs developers and/or everyone developing the stacks:
"ext4fs sucks"
"btrfs is still experimental, how dare you make it as my default fs!"
"linux ate my data"
etc.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 16, 2011 10:13 UTC (Thu) by Cato (guest, #7643) [Link]

Some corroboration of this is the huge demand for data recovery tools and services, which wouldn't be required at all if the average casual user did good backups.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 7:04 UTC (Fri) by nmav (guest, #34036) [Link] (1 responses)

That's a nice move. This would provide a big test base for BTRFS developers and an incentive to fix any remaining issues. I still remember people complaining at redhat for including glibc (at a time everyone complaining it was immature). If it wasn't for that glibc would still have been immature.

Maybe it's not a good move for every individual user, but it is a good move for all of us and open-source.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 11, 2011 17:56 UTC (Sat) by rvfh (guest, #31018) [Link]

Thanks for posting one of the only sensible comments.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 7:49 UTC (Fri) by zuzzurro (subscriber, #61118) [Link] (18 responses)

What I really would like to know is whether the concerns voiced by mr. Edward Shishkin (see this LWN article: http://lwn.net/Articles/393144/) were real or not.
I never actually saw him take them back even after the long discussions with the btrfs developers. So I would really like to hear his opinion and I would love to have LWN interview him about this.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 12:23 UTC (Fri) by MisterIO (guest, #36192) [Link]

I agree, I would like to see an article about this or an interview or something like that.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 13:14 UTC (Fri) by ricwheeler (subscriber, #4980) [Link] (9 responses)

Edward pointed out a bug that Chris and others discussed with him and resolved. Not a fundamental design issue or flaw in btrfs.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 13:26 UTC (Fri) by MisterIO (guest, #36192) [Link] (8 responses)

Not really. They found some bugs(based on that review) and solved them, but other fundamental design problems described on that review weren't really solved/aknowleged. I've seen a rebuttal by Mason, stating that many(all?) of the concerns were actually already solved in the code(describing in detail which function does what). I didn't see an answer from Shishkin to that. So either Shishkin was wrong(maybe because he didn't take a deep enough look at the code), or the problems aren't solved.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 15:26 UTC (Fri) by ricwheeler (subscriber, #4980) [Link] (7 responses)

Edward is not actively working on btrfs at the moment which might explain the lack of an update from him (and he and Josef both work in my group at Red Hat).

I would take Chris on his word - has he ever given you reason to doubt his skills at writing file systems :) ?

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 16:12 UTC (Fri) by MisterIO (guest, #36192) [Link] (6 responses)

I'm currently using btrfs on 10+ partitions on my desktop, against 3 with ext4 and one with ntfs, so that should show the level of my concern about this. As I've said somewhere else, the main problem of btrfs, currently, is the lack of a working btrfs. That said, faith is not for engineers. Even the best coders make mistakes. It's just that to me it seems like the explanation about why btrfs doesn't have any serious design problems hasn't really come out in a clear form, compared instead to the explanation of Shishkin doubts.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 17:59 UTC (Fri) by nix (subscriber, #2304) [Link] (5 responses)

the main problem of btrfs, currently, is the lack of a working btrfs.
That would tend to be problematic, yes.

(I think the latter btrfs should perhaps be 'btrfsck'?)

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 18:07 UTC (Fri) by MisterIO (guest, #36192) [Link] (4 responses)

yeah, I meant btrfsck.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 18:21 UTC (Fri) by rahulsundaram (subscriber, #21946) [Link] (3 responses)

Just in case, you missed it

https://lwn.net/Articles/446984/

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 18:27 UTC (Fri) by MisterIO (guest, #36192) [Link] (2 responses)

No, I didn't miss it. That's really good news, but currently the code is still missing, so the problem is still present.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 18:33 UTC (Fri) by rahulsundaram (subscriber, #21946) [Link] (1 responses)

It is not "missing". It is being tested upstream and when upstream developers are convinced that it is ready, it will be included.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 18:42 UTC (Fri) by MisterIO (guest, #36192) [Link]

AFAICT it can't be found in any public repository, so it _is_ still missing.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 19:49 UTC (Fri) by masoncl (subscriber, #47138) [Link] (6 responses)

Edward is a smart guy, and he did find a real bug in the btrfs balancing code (which we fixed).

He also had a lot of comments about the balancing code in general. Basically he didn't feel we were really balancing the btrees and had a long list of things he felt well were missing. I went through it and explained where in the Btrfs code each one was happening.

The part I don't think he ever agreed with is the way Btrfs stores inline file data. In reiser v3 (and I think v4), the inline file data for a single file can be split between btree leaves. This means they are exceptionally space efficient for packed small files.

But, it also leads to complexity in the balancing code, and in the code to read/write the inline file data. In Btrfs I chose to never split the file data that gets packed into btree leaves. It either fits in one item in one leaf, or it gets tossed into an extent outside of the btree.

This leads to more wasted space in the btree leaves, which is doubled because Btrfs duplicates metadata blocks by default (even on single device filesystems).

The percentage of wasted space increases as your inline file size approaches half the size of a single btree leaf (4k right now). If all your files are 2k, you'll end up with a lot of btree leaves 50% full. This is less of a problem if the btree leaf size is larger, which we do plan to support in the 3.1 kernel.

Complex systems are full of compromises, and Btrfs certainly has its fair share.

-chris

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 20:14 UTC (Fri) by MisterIO (guest, #36192) [Link] (5 responses)

yes, I remember that part. the way it is now, the space waste isn't limited, right? that is, it doesn't have an upper bound. wouldn't it be possible to say something like: if the space waste goes over a certain limit(a percentual of the total space), stop inlining file data, go back to using extents?

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 20:34 UTC (Fri) by masoncl (subscriber, #47138) [Link] (4 responses)

We have mount -o max_inline=, so the admin can control the max size that we choose to inline. The default is a little under 4KB, which works well most of the time. Usually we're able to get the inode, xattrs and file data all in the same block, so even for a 2KB file it works well.

The problem comes when they are all 2KB files, which is why we give the admin knobs.

For larger leaf sizes, we'll still have a limit of 4KB inlined in the btree, so the overall percentage will be a lot lower. With a 16KB leaf, 2KB inlined files won't be a problem.

-chris

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 21:14 UTC (Fri) by MisterIO (guest, #36192) [Link] (1 responses)

As I see it, inlining file data is an optimization for small files, right? Big files use extents by default, right? So the obvious solution to the problem would be to say: if the percentual of wasted space is too high, stop optimizing for small files, treat all files as big files and just put file data on extents. Now, being this so obvious, it just means that, being a noob on fs programming, I can't see the obvious problem with that solution(maybe extreme performance degradation? maybe fragmentation? maybe both?), or maybe that it wouldn't be a solution at all.
Anyway, I appreciate that you took the time to explain this here.
It would be useful if larger leaf sizes could be used even on old btrfs filesystems(that is, I hope it's not an option to be specified at fs creation time).

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 23:43 UTC (Fri) by masoncl (subscriber, #47138) [Link]

Part of the answer is just that maintaining an overall "how much space have we wasted number" is yet another metric to store and maintain, and it does tend to get tricky to count in the face of snapshots. So there's a real CPU cost involved.

But the main reason is that I prefer the filesystem be predictable. If your file size is less than a specific value, it goes into the btree. It's very simple to explain and isn't surprising ;)

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 21:36 UTC (Fri) by jengelh (guest, #33263) [Link] (1 responses)

What makes "a little under 4KB" better than xfs's choice of 256 bytes? (Which itself I generally bumped to 512 on fses where a 'significant' amount of files may carry ACLs.)

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 10, 2011 23:49 UTC (Fri) by masoncl (subscriber, #47138) [Link]

Better is a tricky word. 4KB is the smallest extent we'll allocate, so being able to allocate up to 4KB in the btree usually makes for less wasted space.

There are a lot of factors in play. No inline data means more inodes in a block, which means things that stat in bulk (or rm) tend to be faster.

But, inline data means that when we read the inode we have the data, so things like reading all the files in a directory tend to be faster.

-chris

LVM and rescuing systems

Posted Jun 10, 2011 13:00 UTC (Fri) by epa (subscriber, #39769) [Link] (14 responses)

Does this mean that LVM will no longer be set up by default - if not for this release then perhaps in future?

Perhaps my skills are rusty and obsolete, but I have found that the default LVM setup in Fedora makes disk management tricky. For example, replacing the hard disk in your computer by installing a new disk, copying things across and then removing the old. Under Slackware this was a simple matter of creating new partitions with fdisk and copying the files. With Fedora, I couldn't work out how to persuade the kernel and initrd to use the plain non-LVM partitions I had created. Similarly if you need to rescue a system, what used to be a simple matter of fdisk to print out the partitions and mount to mount them becomes much more complex - unless there is some user-friendly 'just show me the partitions on all disks' tool that I am unaware of.

So I would be pleased if LVM could be dropped from the default configuration for single-disk systems (while recognizing its undoubted usefulness for large enterprisey setups) and the stack thus simplified.

LVM and rescuing systems

Posted Jun 10, 2011 13:04 UTC (Fri) by rahulsundaram (subscriber, #21946) [Link]

Yes, that is the plan. LVM will likely stay default for Fedora 16 and won't be default for Fedora 17+

LVM and rescuing systems

Posted Jun 10, 2011 13:18 UTC (Fri) by ricwheeler (subscriber, #4980) [Link]

The upstream community (spanning fs, dm, md and lvm developers) has been looking actively at how to make using lvm easier and more intuitive. You can do many (if not all) of the same things with lvm+ext4 or lvm+xfs today that you can do with btrfs, but it is hard to do and it exposes too many knobs and details.

Short version is that we do hope to make it *so* easy to use that users will be able to do interesting things and not have to be a storage geek to get them done with LVM or btrfs :)

LVM and rescuing systems

Posted Jun 10, 2011 13:27 UTC (Fri) by tialaramex (subscriber, #21167) [Link] (11 responses)

Isn't the LVM approach to this "new hard disk" problem actually simpler, in the scenario you describe where both drives can be, at least temporarily, connected at once?

This is a job for 'pvmove'. By contrast to 'fdisk' and 'cp -a' it seems as though pvmove has many benefits.

• It's restartable (so after that surprise Linux graphics crash, you can continue where you left off with no damage done)

• It doesn't treat metadata specially, so you won't accidentally lose or corrupt anything

• It's error-free. You can't accidentally forget and not copy everything, the source PV won't be empty (and thus can't be removed from the VG) until you've successfully moved everything off.

Did I miss something? Other than the fact that volume management isn't a familiar activity to ordinary users whereas file copying is?

LVM and rescuing systems

Posted Jun 10, 2011 13:58 UTC (Fri) by ricwheeler (subscriber, #4980) [Link]

If you look at the commands that btrfs uses (or ZFS for that matter), the consensus seems to be that they are much more intuitive.

No need to take away or obsolete any existing CLI or API's, but we do need to get at least the easy things done in a consistent way.

LVM and rescuing systems

Posted Jun 10, 2011 14:01 UTC (Fri) by epa (subscriber, #39769) [Link] (9 responses)

I wasn't aware of the pvmove command - but then, I suppose a true newcomer wouldn't be aware of fdisk either.

So would you power down your machine, plug in the new disk, power up, run fdisk to create boot and data partitions on the new disk, (* insert pvmove command here *), do something with GRUB, power down, unplug the old disk and it all works?

(If the two disks are the same size then I suppose you could dd the entire raw disk image, partition table and all, from one to the other. But that won't work if upgrading to a larger disk.)

LVM and rescuing systems

Posted Jun 10, 2011 14:18 UTC (Fri) by tialaramex (subscriber, #21167) [Link]

Your description sounds roughly right. I don't do a lot of disk upgrades on my home PCs, and the improving financial prospects at work have meant we can afford an actual sysadmin - so it's possible we're missing a step.

From dim memory I recall "do something with GRUB" is the trickiest bit, but the last time I did this (and thus the sharpest in my mind) it was with RAID 1 plus I was simultaneously trying to switch a Fedora system from ordinary LVM to LUKS encrypted LVM by hand, which in hindsight was not a good idea although I'm using that system to post this so it clearly worked.

LVM and rescuing systems

Posted Jun 10, 2011 21:37 UTC (Fri) by niner (subscriber, #26151) [Link] (7 responses)

Actually nowadays with SATA you don't even have to power down your machine. Just plug in that new disk, create partitions, add them as physical volumes to your volume group and do a pvmove off the old disk. When it's finished, you can remove your old disk from the volume group and just unplug the disk. During the whole thing, you can use your computer as usual doing all the important stuff like playing music to make this work nicer :)

LVM and rescuing systems

Posted Jun 13, 2011 7:22 UTC (Mon) by epa (subscriber, #39769) [Link] (6 responses)

So a typical consumer-grade motherboard lets you plug in new SATA devices to its SATA sockets while things are running? I never dared to try.

Hotplug

Posted Jun 13, 2011 16:59 UTC (Mon) by tialaramex (subscriber, #21167) [Link] (2 responses)

The only scary bit of hotplug is the connector design, which I believe is correct for SATA as well as eSATA. The connector needs to be designed so that pins connect and disconnect in a well defined order. You can see this on a (standard) USB connector where a system ground (metal outer sheath) is connected first, then the USB power, then the shortest pins are data.

If that's done right then it rules out all the terrifying electrical mishaps that might otherwise be possible. Beyond that yes, a modern AHCI implementation should be capable of ensuring that a disk is quiescent, and cope with it subsequently vanishing, and then cope with a new device appearing and properly initialise it.

Early SATA hardware sometimes did not include the actual hotplug mechanism (ie waking up the driver and telling it a new device was added). But even then, as with IDE where hot plug wasn't intended to be possible at all, the operator could just prod the driver to take another look and see whether there isn't in fact a new device connected to a specific port. Not as user-friendly, but in the context of 'type pvmove' probably adequate.

Hotplug

Posted Jun 14, 2011 11:08 UTC (Tue) by nye (subscriber, #51576) [Link] (1 responses)

So if one were to try hotplugging a SATA drive, what would be the correct order of connecting/disconnecting the power and data cables?

Hotplug

Posted Jun 14, 2011 18:25 UTC (Tue) by bronson (subscriber, #4806) [Link]

Always ensure a good ground first. Ground is on the power cable.

Actually, for sata it shouldn't matter too much since the data cable has longer dedicated ground pins too. But, in general, power first.

LVM and rescuing systems

Posted Jun 13, 2011 23:34 UTC (Mon) by zuki (subscriber, #41808) [Link]

Yeah, it has worked fine for years. Some years ago the hotplug mechanism would work -- ie. the autodetection of new drives wouldn't work, hence the sata coldplug patches -- but nothing would break, but for a long time it has been working perfectly.

SATA and hot plugging

Posted Jun 16, 2011 10:21 UTC (Thu) by Cato (guest, #7643) [Link] (1 responses)

You do need to have AHCI enabled in the BIOS for eSATA hotplug to work - most modern motherboards support this, and Windows 7, but if you are dual booting with Windows XP you may have to revert to the non-AHCI mode.

SATA and hot plugging

Posted Jun 20, 2011 15:46 UTC (Mon) by nye (subscriber, #51576) [Link]

>You do need to have AHCI enabled in the BIOS for eSATA hotplug to work - most modern motherboards support this, and Windows 7, but if you are dual booting with Windows XP you may have to revert to the non-AHCI mode.

FWIW, if you had Windows XP pre-installed or if you managed to get the correct driver to the Windows installer[0] then you should have no problems with AHCI, but once it's installed Windows (XP at least) is very unhappy if you switch between AHCI and non-AHCI. Linux of course has handled the change transparently for years.

[0] Via learning how to make a slipstreamed install disc, or doing the "find an old floppy disk drive, install it to an existing machine, find 4 billion old floppy disks in the cellar/loft/garage, spend 6 hours finding one that still works reliably, save the driver to it, install the floppy disk drive in the new machine, install Windows and press F6 at the appropriate time" dance.

grub support?

Posted Jun 10, 2011 19:12 UTC (Fri) by cyperpunks (subscriber, #39406) [Link] (22 responses)

I hope btrfs support in grub (not grub2, which seems like huge mess) will be a hard requirement?

grub support?

Posted Jun 10, 2011 19:36 UTC (Fri) by mjg59 (subscriber, #23239) [Link]

We switched to ext4 by default without grub support for it.

grub support?

Posted Jun 10, 2011 20:30 UTC (Fri) by MisterIO (guest, #36192) [Link]

Is grub2 so bad? I admit I never took a look at its code, but it's been the default in debian since long ago, at least in unstable, and it never caused any real problem.

grub support?

Posted Jun 10, 2011 20:37 UTC (Fri) by aliguori (subscriber, #30636) [Link] (4 responses)

grub2 is a proposed feature for F16. See http://fedoraproject.org/wiki/Features/Grub2

grub support?

Posted Jun 11, 2011 13:59 UTC (Sat) by n1ho (guest, #55855) [Link] (3 responses)

I hope that Anaconda can be updated to cope with GRUB2 and GPT (GUID Partition Tables). I have been using a 1TB USB drive as my external Linux compendium for my Asus Aspire One netbook for nearly a year. I used Ubuntu to create the GPT and some partitions, as well as to install GRUB2, and can successfully boot Ubuntu, Mageia, and openSUSE 11.4, but Fedora 13, 14 and 15 failed to recognize the partition table and wouldn't even begin to try to install on that drive. So, perhaps the btrfs buzz will precipitate a slightly wider/harder look at filesystems, partition tables and booting in general that, IMNSHO, is long overdue. I realize that GRUB2 has had a lot of problems that Fedora, openSUSE, and other distributions weren't willing to tackle (which is understandable, given the resources that would be required), but I think that GRUB2 has evolved to the point where it would be worthwhile to try to get it included in Fedora (and the others), if only as an option. And, the same should hold true for GPT support as well.

grub support?

Posted Jun 11, 2011 14:27 UTC (Sat) by rahulsundaram (subscriber, #21946) [Link]

GRUB2 is already a option in the Fedora repo and has been for quite sometime. Fedora 16 likely will have it by default. GPT should be supported as well. If you run into problems, file bug reports

grub support?

Posted Jun 15, 2011 4:30 UTC (Wed) by zlynx (guest, #2285) [Link]

Fedora 15 successfully installed a GPT and EFI system on this notebook I am using. I think it works.

grub support?

Posted Jun 16, 2011 19:48 UTC (Thu) by mebrown (subscriber, #7960) [Link]

I wrote the anaconda patch for GPT support way back for, iirc, Red Hat 7.2. It has been pretty much required for Itanium support for a long time, so even though that stuff has been rewritten a couple times since, I'm sure it all works.

grub support?

Posted Jun 11, 2011 13:22 UTC (Sat) by HelloWorld (guest, #56129) [Link] (14 responses)

Do you have any arguments for calling grub2 a "huge mess", or are you just trolling?

grub support?

Posted Jun 12, 2011 8:54 UTC (Sun) by cyperpunks (subscriber, #39406) [Link] (5 responses)

Do you think grub2 is clean and simple after reading this document?

http://www.gnu.org/software/grub/manual/grub.html#Configu...

grub support?

Posted Jun 12, 2011 10:14 UTC (Sun) by HelloWorld (guest, #56129) [Link]

What's the problem with that document? Are you trying to show me that grub2 is not only capable, but also well-documented?

grub support?

Posted Jun 12, 2011 13:34 UTC (Sun) by mjg59 (subscriber, #23239) [Link] (3 responses)

I'm guessing you've never read the grub legacy source code?

grub support?

Posted Jun 12, 2011 21:44 UTC (Sun) by cyperpunks (subscriber, #39406) [Link] (2 responses)

grub leagcy about average open source code quality, however with "huge mess" I don't talk about source code quality, it's the config system.
legacy grub as *one* simple config. grub2 has such complicated config file that a script is needed to create it. That's a big step forward in the correct direction...


grub support?

Posted Jun 12, 2011 22:02 UTC (Sun) by mjg59 (subscriber, #23239) [Link]

grub leagcy about average open source code quality

Yeah, not really.

grub support?

Posted Jun 15, 2011 23:51 UTC (Wed) by HelloWorld (guest, #56129) [Link]

legacy grub as *one* simple config. grub2 has such complicated config file that a script is needed to create it. That's a big step forward in the correct direction...
The grub2 configuration file isn't complicated. A typical config for grub legacy may look like this:
timeout   5
default   0
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26.img
set timeout=5
set default=0
menuentry "Arch Linux" {
  set root=(hd0,1)
  linux /vmlinuz26 root=/dev/sda3 ro
  initrd /kernel26.img
}
(examples taken from the Arch Linux wiki). As you can see, the differences are trivial. The reason that the grub2 configuration is created by a script is that the configuration needs to be changed when your distro ships a new kernel. Of course, this applies to grub legacy as well, so distros like Debian shipped code that does just that: generate a configuration file for grub legacy. The only difference is that grub2 actually ships the code that the distributors used to write for grub legacy (update-grub on debian, grubby on Fedora etc.). So please, stop trolling already.

grub support?

Posted Jun 13, 2011 8:22 UTC (Mon) by cmccabe (guest, #60281) [Link] (7 responses)

Calling grub2 a "huge mess" is an exaggeration, for sure. I appreciate the work that everyone put in to clean up the code and add new functionality.

However... the grub->grub2 transition annoyed me in several ways. There were a lot of changes that just seemed gratuitous. Why did partitioning numbering change to start at 1 rather than 0?

With the old grub, I only had to edit one config file, /boot/grub/grub.conf. My changes took effect immediately after editing this file. That was touted as one of the big benefits of grub over lilo-- with lilo, you had to re-run lilo every time you edited the lilo.conf. But now, I have to re-run update-grub every time I edit the grub2 configuration files.

Also, the number of configuration files for grub2 seems excessive. I only need one file to configure sshd, but just passing control to the kernel is now so complex that it needs an entire directory worth of shell scripts-- some of which are generated by other shell scripts?

Recently I installed Slackware 13 on an old laptop. I was a little bit surprised to find out that it still uses LILO as its bootloader. But, it works just fine.

I'm curious if anyone reading this has found a use for the extra modularity and extensibility of grub2? I'm just honestly curious. I know distributions like to implement nice looking startup screens for their installers, but that happens in the initramfs, not in the bootloader. And lilo supports background images and themes, too. So what am I missing?

grub support?

Posted Jun 13, 2011 12:22 UTC (Mon) by HelloWorld (guest, #56129) [Link] (4 responses)

> However... the grub->grub2 transition annoyed me in several ways. There were a lot of changes that just seemed gratuitous. Why did partitioning numbering change to start at 1 rather than 0?
I understand that people dislike unnecessary changes, but you must admit that this is hardly a reason for calling grub2 a "total mess".

> With the old grub, I only had to edit one config file, /boot/grub/grub.conf. My changes took effect immediately after editing this file. That was touted as one of the big benefits of grub over lilo-- with lilo, you had to re-run lilo every time you edited the lilo.conf. But now, I have to re-run update-grub every time I edit the grub2 configuration files.
When your distro installs a new kernel, a new entry needs to be generated in the boot loader, which is usually done by generating a new configuration file from scratch, overwriting the old one. On Ubuntu at least, it works that way for both grub legacy and grub2, so there's really no difference in that respect.

Also, unlike grub legacy, grub2 offers a simple and clean mechanism to add custom entries: just put them in /boot/grub/custom.cfg. You don't need to run update-grub in order to pick up changes in that file.

> Also, the number of configuration files for grub2 seems excessive. I only need one file to configure sshd, but just passing control to the kernel is now so complex that it needs an entire directory worth of shell scripts-- some of which are generated by other shell scripts?
Shell scripts aren't configuration files but code, and besides that, all the scripts in /etc/grub.d are hand-written, not generated. That leaves only two configuration files, namely /etc/default/grub and /boot/grub/custom.cfg. That seems sensible to me: the first one controls the auto-generated grub entries, the second one contains the hand-written ones. And it's even easy to extend the code that auto-generates grub entries by dumping additional scripts in /etc/grub.d.

grub support?

Posted Jun 13, 2011 13:58 UTC (Mon) by tzafrir (subscriber, #11501) [Link]

With grub1 in Debian (and IIRC also Ubuntu), /boot/grub/menu.lst was both a configuration file and a generated file. A special section of it was re-generated by update-grub . Configuration for update-grub was in lines beginning with a single '#' mark.

Works well. But not really a standard way to handle configuration.

grub support?

Posted Jun 13, 2011 20:43 UTC (Mon) by cmccabe (guest, #60281) [Link] (2 responses)

> I understand that people dislike unnecessary changes, but you must
> admit that this is hardly a reason for calling grub2 a "total mess".

I never said that grub2 was a "huge mess". That was a different poster. Please read more carefully. I do think the transition could have been managed better, though.

> When your distro installs a new kernel, a new entry needs to be generated
> in the boot loader, which is usually done by generating a new
> configuration file from scratch, overwriting the old one. On Ubuntu at
> least, it works that way for both grub legacy and grub2, so there's really
> no difference in that respect

The way grub-legacy works for me on Fedora is that I can edit /boot/grub/grub.conf, and the distribution can also edit that file during software upgrades. I suppose you can argue that having part of a file be auto-generated, and another part be hand edited isn't "clean," but it is simple and it does work pretty well for me. In grub2, obviously, I have to remember not to change that file, because it will be completely destroyed by the auto-generation system.

I guess maybe the biggest benefit of the new multi-file structure will be to people doing package management. For some reason, that isn't mentioned a lot in these discussions.

grub support?

Posted Jun 13, 2011 21:04 UTC (Mon) by HelloWorld (guest, #56129) [Link] (1 responses)

> I never said that grub2 was a "huge mess". That was a different poster. Please read more carefully.
I never said explicitly or implicitly that you did. Please read more carefully.

> The way grub-legacy works for me on Fedora is that I can edit /boot/grub/grub.conf, and the distribution can also edit that file during software upgrades.
Yes, that is because Fedora developed a utility named grubby that is able to read and edit configuration files for grub legacy, lilo and elilo, but not grub2. So your problem has nothing to do with grub2 but with grubby.

grub support?

Posted Jun 14, 2011 19:16 UTC (Tue) by k8to (guest, #15413) [Link]

> > I never said that grub2 was a "huge mess". That was a different poster. Please read more carefully.
> I never said explicitly or implicitly that you did. Please read more carefully.

Bystander, it was defenitely implied by the text.

grub support?

Posted Jun 13, 2011 17:30 UTC (Mon) by chad.netzer (subscriber, #4257) [Link]

The ability to handle multiple partition types is now important even in the PC world, as single drives can be >2TB and must be partitioned w/ GPT. The ability to handle both modern and legacy partitioning and filesystems, seems a reasonable justification for the modularity and extensibility of grub2.

grub support?

Posted Jun 15, 2011 10:20 UTC (Wed) by cortana (subscriber, #24596) [Link]

> However... the grub->grub2 transition annoyed me in several ways. There were a lot of changes that just seemed gratuitous. Why did partitioning numbering change to start at 1 rather than 0?

I think this was to bring it in line with how everyone else numbers PC partitions. 1..4 are the primary/extended partitions, 5+ are the logical partitions. Having to subtract one whenever I dealt with Grub was frankly annoying so I am glad they made the change. :)

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 11, 2011 3:39 UTC (Sat) by walovaton (guest, #57287) [Link] (2 responses)

The last time I used btrfs on my personal laptop the only bad thing I could see was the slow boot up. Other than that it was a very good filesystem indeed.

Is the boot speed better now than in previous versions?

Likewise, LVM makes ext4 slower on boot. Would this mean that btrfs over LVM will be even more slow?

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 12, 2011 14:31 UTC (Sun) by cwillu (guest, #67268) [Link]

Your slow bootup may have been caused by the partial and read-only "btrfsck" being used as fsck.btrfs (i.e., run on every boot). I currently symlink fsck.btrfs to /bin/true.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 13, 2011 1:28 UTC (Mon) by ricwheeler (subscriber, #4980) [Link]

Do you have real numbers about what exactly went slow? With and without LVM?

No reason for it is have *any* impact unless something was misconfigured...

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 12, 2011 9:27 UTC (Sun) by linusw (subscriber, #40300) [Link] (2 responses)

I take it that people are so hopelessly hung up on filesystems that we can sneak in feature 599 "ConsoleKit Removal/Automatic Multi-Seat Support" - which is actually the most radical change in this Fedora release - without anyone even noticing.

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 14, 2011 6:21 UTC (Tue) by motk (subscriber, #51120) [Link]

Or it could be that nobody particularly cares?

Fedora 16 to use Btrfs as its default filesystem

Posted Jun 14, 2011 10:17 UTC (Tue) by epa (subscriber, #39769) [Link]

Sounds cool. So you can stuff as many video cards into your system as you want, plug lots of USB keyboards and mice, and magically it becomes two or more desktops?


Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds