linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Helmut Hullen" <Hullen@t-online.de>
To: linux-btrfs@vger.kernel.org
Subject: labelling
Date: 10 Nov 2010 08:40:00 +0100	[thread overview]
Message-ID: <B$bGt2my1uB@helmut.hullen.de> (raw)

Hallo, linux-btrfs,

I have problems with btrfs labels.

My way:

2-TByte-disk:

        mkfs.btrs LABEL=MM2 /dev/sdd2

worked.
Mounting "mount LABEL=MM2 /srv/MM" worked.

Additional 1.5-TByte-Disk:

        btrfs add device /dev/sdc3 /srv/MM
        ... balance ...

worked.

        findfs LABEL=MM2

shows "/dev/sdd2" (the first partition)

        file -s /dev/sdd2
        file -s /dev/sdc3

shows "LABEL=MM2" for both partitions (that's not good).

Unmounting "/srv/MM" and

        mount LABEL=MM2 /srv/MM

doesn't work now, it tries to mount /dev/sdd2 and mourns.

        mount /dev/sdd2 /srv/MM

shows the same error message,

        mount /dev/sdc3 /srv/MM

(mounting the added partition) works fine, the whole space is available.

But what can I do with the 2 identical labels? How can I delete (or  
change) the label of the first btrfs partition?

----------------------------

By the way:

"df" shows about 3.4 TByte usable space (2 TByte and 1.5 TByte), but

        btrfs filesystem df /srv/MM

tells

        Data: total=2.70TB, used=1.64TB

I'm missing about 0.7 TByte!

Viele Gruesse!
Helmut

             reply	other threads:[~2010-11-10  7:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-10  7:40 Helmut Hullen [this message]
2010-11-10 11:18 ` labelling Hugo Mills
2010-11-10 11:44   ` labelling Helmut Hullen
2010-11-10 18:23   ` labelling Helmut Hullen
2010-11-11  7:48   ` labelling Helmut Hullen
2010-11-11  8:37     ` labelling Tsutomu Itoh
2010-11-11  8:48       ` labelling Felix Blanke
2010-11-11  9:01       ` labelling Helmut Hullen
2010-11-11 10:53       ` labelling Helmut Hullen

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='B$bGt2my1uB@helmut.hullen.de' \
    --to=hullen@t-online.de \
    --cc=helmut@hullen.de \
    --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).