linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
To: helmut@hullen.de
Cc: linux-btrfs@vger.kernel.org
Subject: Re: labelling
Date: Thu, 11 Nov 2010 17:37:38 +0900	[thread overview]
Message-ID: <4CDBAB52.60903@jp.fujitsu.com> (raw)
In-Reply-To: <B$fJyztT1uB@helmut.hullen.de>

Hi.

(2010/11/11 16:48), Helmut Hullen wrote:
> Hallo, Hugo,
>
> Du meintest am 10.11.10:
>
>>>          findfs LABEL=MM2
>>>
>>> shows "/dev/sdd2" (the first partition)
>>>
>>>          file -s /dev/sdd2
>>>          file -s /dev/sdc3
>>>
>>> shows "LABEL=MM2" for both partitions
>
>>>          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 LABEL=MM2
> mount: wrong fs type, bad option, bad superblock on /dev/sdd2,
>         missing codepage or helper program, or other error
>         In some cases useful info is found in syslog - try
>         dmesg | tail  or so
>
> # mount /dev/sdd2
> mount: wrong fs type, bad option, bad superblock on /dev/sdd2,
>         missing codepage or helper program, or other error
>         In some cases useful info is found in syslog - try
>         dmesg | tail  or so
>
>>     What's the error message? What do you get in your kernel logs when
>> you do this? This should work, so there's something wrong, but it's
>> (probably) not to do with disk labels.
>
>>>          mount /dev/sdc3 /srv/MM
>>>
>>> (mounting the added partition) works fine, the whole space is
>>> available.
>
> That's the behaviour after a cold boot.
>
>          umount /srv/MM
>          mount LABEL=MM2 /srv/MM
>
> then works.
> Only the first try with LABEL or with "the other" device seems to fail.

I encountered the same problem, too.
Please try 'btrfsctl -a' before mounting.

Thanks.
Itoh



  reply	other threads:[~2010-11-11  8:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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     ` Tsutomu Itoh [this message]
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=4CDBAB52.60903@jp.fujitsu.com \
    --to=t-itoh@jp.fujitsu.com \
    --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).