Re: Raid root filesystem?

Hugo Mills
Sat, 09 Jul 2011 08:45:35 -0000

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