All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <chris.mason@oracle.com>
To: Miguel Sousa Filipe <miguel.filipe@gmail.com>
Cc: Christoph Hellwig <hch@infradead.org>,
	btrfs-devel@arbitraryconstant.com, linux-btrfs@vger.kernel.org
Subject: Re: btrfs device management
Date: Mon, 09 Jun 2008 09:52:51 -0400	[thread overview]
Message-ID: <1213019571.10187.12.camel@think.oraclecorp.com> (raw)
In-Reply-To: <f058a9c30806090645t12ad82f6pcb52c12a038897ed@mail.gmail.com>

On Mon, 2008-06-09 at 14:45 +0100, Miguel Sousa Filipe wrote:
> Hi all,
> 
> On Mon, Jun 9, 2008 at 11:06 AM, Chris Mason <chris.mason@oracle.com> wrote:
> > On Mon, 9 Jun 2008 02:43:58 -0400
> > Christoph Hellwig <hch@infradead.org> wrote:
> >
> >> On Sat, Jun 07, 2008 at 05:53:37PM -0600,
> >
> >> Yes, I plan to work on adding properly designed multiple device
> >> support for btrfs and my upcoming similar xfs work.  I'll live in
> >> good old mount and libvolume_id.
> >>
> >
> > I won't say no to a mount patch either.  The only downside is that
> > we'll need to update it (in mount) as the format goes through changes
> > over the summer.  But that is a temporary problem.
> 
> 
> I believe that a multi-volume filesystem should have some kind of
> human understandable handle/name.
> Just like a name of a logical volume. For single disks filesystems,
> the disk name suffices (and reduced the need for such a name/label),
> but in multi-disk FS there should still be a humane name for that
> mountpoint or filesystem.
> So, while any unique identifier would technically be okay, I think
> that there should be a human undertanble name/label for it. Not just
> some uid.
> 
> Does Hellwig work, or any planned feature provide this ?

mkfs.btrfs already has a way to set the label of the filesystem.
mkfs.btrfs -L label /dev/xxxx

btrfs-show will show you the labels of any existing filesystems.

In practice, anyone on a san really wants to use uuids.  Labels are nice
until two people on the same san create a filesystem named system, and
then it all gets ugly ;)

-chris



  reply	other threads:[~2008-06-09 13:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-07 23:53 btrfs device management btrfs-devel
2008-06-09  1:45 ` Chris Mason
2008-06-09  6:43 ` Christoph Hellwig
2008-06-09 10:06   ` Chris Mason
2008-06-09 13:45     ` Miguel Sousa Filipe
2008-06-09 13:52       ` Chris Mason [this message]
2008-06-09 15:37         ` Miguel Sousa Filipe
2008-06-09 16:19           ` Christian Hesse
2008-06-09 16:22             ` Chris Mason

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=1213019571.10187.12.camel@think.oraclecorp.com \
    --to=chris.mason@oracle.com \
    --cc=btrfs-devel@arbitraryconstant.com \
    --cc=hch@infradead.org \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=miguel.filipe@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.