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
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to