Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: "Helmut Hullen" <Hullen@t-online.de>
To: linux-btrfs@vger.kernel.org
Subject: Re: BTRFS thinks that a device is mounted
Date: 21 Oct 2011 03:33:00 +0200	[thread overview]
Message-ID: <BwGkwFbT1uB@helmut.hullen.de> (raw)
In-Reply-To: <a46ac41f14ba1581cb554a0f26463859.squirrel@webmail01.edunet.gr>

Hallo, Nikos,

Du meintest am 21.10.11:

> What went wrong in the following scenario? BTRFS thinks that a device
> is mounted while it is not.

[...]

> btrfs device scan /dev/sdh
> Scanning for Btrfs filesystems in '/dev/sdh'
> ERROR: unable to scan the device '/dev/sdh' - Invalid argument

> ## Comment: OK, we give up. Try to recreate btrfs from scratch
> mkfs.btrfs -m raid1 -d raid1 /dev/sdg /dev/sdh /dev/sdl

> WARNING! - Btrfs Btrfs v0.19 IS EXPERIMENTAL
> WARNING! - see http://btrfs.wiki.kernel.org before using

> /dev/sdh is mounted

> ## Comment: Of course /dev/sdh is not mounted.
> mount |grep /dev/sdh
> root@lxc:~#

Two days ago I've seen a perhaps similar problem with an ext3 disk:

Connected via USB
running fsck (with some options)

   mount /dev/$disk $mountpoint

also told that the disk was mounted (it wasn't really).

Maybe some other operation (like - in this case - fsck) on/with the disk  
leads to this wrong message.

Viele Gruesse!
Helmut

  reply	other threads:[~2011-10-21  1:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-20 21:39 BTRFS thinks that a device is mounted Nikos Voutsinas
2011-10-21  1:33 ` Helmut Hullen [this message]
2011-10-21 10:10 ` Stephane CHAZELAS
2011-10-22 13:57   ` Nikos Voutsinas

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=BwGkwFbT1uB@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