Hi there... A year ago a btrfs raid needs to be scanned before it can be mounted. Is this still the case? I would like to have a btrfs raid as root, but so far this was not possible due to the scanning thing, and thus I still need a /boot filesystem. It would be awesome to be able to just boot a btrfs raid without the need for pesky partitions, as this would allow a system to be "grown" later when space gets scarce... -- -Evert- -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Fri, Jul 08, 2011 at 09:45:05PM -0700, Evert Vorster wrote:> A year ago a btrfs raid needs to be scanned before it can be mounted. > Is this still the case? > > I would like to have a btrfs raid as root, but so far this was not > possible due to the scanning thing, and thus I still need a /boot > filesystem.It''s perfectly possible, as far as I know. There''s two solutions: use an initrd that does the scan for you, or specify all of the devices in the filesystem in the mount command (-o device=...). In either case, you will need a boot manager that understands btrfs -- grub2 does, and (I think) syslinux.> It would be awesome to be able to just boot a btrfs raid without the > need for pesky partitions, as this would allow a system to be "grown" > later when space gets scarce...You still need a partition for swap, of course. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk == PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- __(_''> Squeak! ---
>> It would be awesome to be able to just boot a btrfs raid without the >> need for pesky partitions, as this would allow a system to be "grown" >> later when space gets scarce... > > You still need a partition for swap, of course.With btrfs it''s still true, unfortunately, as you can''t swap to a file placed on btrfs. Are there any middle-term plans to let swap to a file on btrfs (without the workarounds like loop devices etc.)? -- Tomasz Chmielewski http://wpkg.org -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html