linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hugo Mills <hugo@carfax.org.uk>
To: Hendrik Friedel <hendrik@friedels.name>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Mount multiple-device-filesystem by UUID
Date: Sat, 27 Jul 2013 20:44:48 +0100	[thread overview]
Message-ID: <20130727194448.GO20517@carfax.org.uk> (raw)
In-Reply-To: <51F41702.2000508@friedels.name>

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

On Sat, Jul 27, 2013 at 08:52:50PM +0200, Hendrik Friedel wrote:
> As stated in the wiki, multiple-device filesystems (e.g. raid 1)
> will only mount after a btfs device scan, or if all devices are
> passed with the mount options.
> 
> I remember, that for Ubuntu 12.04 I changed the initrd. But after a
> re-install, I have to do this again, and I don't remember how I did
> it.

   With Ubuntu, just install the btrfs-tools package. It should modify
the initrd correctly.

> So, the other option would be passing the devices in the fstab. But
> here, I'd prefer UUIDs rather than device names, as they can change.

   This is why we don't recommend using device= mount flags.

> Is this possible? What is the syntax?

   I don't believe it is possible. Finding filesystems by UUID is (I
think) a userspace-based thing, so you'd have to have an initrd
anyway.

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
   --- "No!  My collection of rare, incurable diseases! Violated!" ---   

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

  reply	other threads:[~2013-07-27 19:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-27 18:50 Mount multiple-device-filesystem by UUID Hendrik Friedel
2013-07-27 18:52 ` Hendrik Friedel
2013-07-27 19:44   ` Hugo Mills [this message]
2013-07-27 22:14     ` Duncan
     [not found]     ` < pan$b873b$34bc7363$e7fad079$c205b803@cox.net>
2013-07-28  8:37       ` Duncan
2013-07-28 18:57     ` Hendrik Friedel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130727194448.GO20517@carfax.org.uk \
    --to=hugo@carfax.org.uk \
    --cc=hendrik@friedels.name \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).