linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Raid root filesystem?
@ 2011-07-09  4:45 Evert Vorster
  2011-07-09  8:45 ` Hugo Mills
  0 siblings, 1 reply; 3+ messages in thread
From: Evert Vorster @ 2011-07-09  4:45 UTC (permalink / raw)
  To: linux-btrfs

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-

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Raid root filesystem?
  2011-07-09  4:45 Evert Vorster
@ 2011-07-09  8:45 ` Hugo Mills
  0 siblings, 0 replies; 3+ messages in thread
From: Hugo Mills @ 2011-07-09  8:45 UTC (permalink / raw)
  To: Evert Vorster; +Cc: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]

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!   ---                       

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Raid root filesystem?
@ 2011-07-09 11:05 Tomasz Chmielewski
  0 siblings, 0 replies; 3+ messages in thread
From: Tomasz Chmielewski @ 2011-07-09 11:05 UTC (permalink / raw)
  To: linux-btrfs, hugo

>> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-09 11:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-09 11:05 Raid root filesystem? Tomasz Chmielewski
  -- strict thread matches above, loose matches on Subject: below --
2011-07-09  4:45 Evert Vorster
2011-07-09  8:45 ` Hugo Mills

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).