linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* labelling
@ 2010-11-10  7:40 Helmut Hullen
  2010-11-10 11:18 ` labelling Hugo Mills
  0 siblings, 1 reply; 9+ messages in thread
From: Helmut Hullen @ 2010-11-10  7:40 UTC (permalink / raw)
  To: linux-btrfs

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

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

end of thread, other threads:[~2010-11-11 10:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-10  7:40 labelling Helmut Hullen
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

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