linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Mounting raid without a btrfsctl scan
@ 2010-05-15 11:11 Matt Brown
  2010-05-15 14:36 ` Goffredo Baroncelli
  0 siblings, 1 reply; 7+ messages in thread
From: Matt Brown @ 2010-05-15 11:11 UTC (permalink / raw)
  To: linux-btrfs

Hi,

Would it be possible and feasible to support mounting btrfs
raid/multi-device filesystems without having to run 'btrfsctl -a'?

Currently, as you may know, if a one wants to attach a btrfs raid
filesystem to a system (usb, hotswap, reboot, etc), the user or program
has to run:

btrfsctl -a (or similar)
mount /dev/sdb1 /mount/point

While this works, it will require patching of various subsystems
involved with managing disks, such as udev, mkinitrd, dracut, hal, and
others. Each one will have to know to scan, then mount.

For example, I have a system that has a btrfs raid1 as root. However, I
had to patch the boot loader (dracut) so during boot it would scan just
before mounting the root filesystem.

I filed a bug with dracut, but the more I think of it, the more it seems
that either mount.btrfs should be taking care of this, or another part
of btrfs.

Any thoughts or plans on the matter?

Thanks,
Matt


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

end of thread, other threads:[~2010-05-16 19:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-15 11:11 Mounting raid without a btrfsctl scan Matt Brown
2010-05-15 14:36 ` Goffredo Baroncelli
2010-05-15 16:47   ` Sebastian 'gonX' Jensen
2010-05-16  0:02     ` Tomasz Torcz
2010-05-16  0:41       ` Sebastian 'gonX' Jensen
2010-05-16 18:44         ` Goffredo Baroncelli
2010-05-16 19:38           ` Sebastian 'gonX' Jensen

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