Bug 72771 - btrfs treats an old drive from a mounted raid array as busy
Summary: btrfs treats an old drive from a mounted raid array as busy
Status: NEW
Alias: None
Product: File System
Classification: Unclassified
Component: btrfs (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Josef Bacik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-23 18:51 UTC by Marc MERLIN
Modified: 2016-03-20 11:32 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.14
Tree: Mainline
Regression: No


Attachments

Description Marc MERLIN 2014-03-23 18:51:04 UTC
I found out that a drive that used to be part of a raid system that is mounted
and running without it, btrfs apparently decides that the drive is part of the 
mounted raidset and in use.
As a result, I had to eventually dd 0's over it, btrfs device scan, and finally
I was able to use it again.

mailing list thread with more details:
https://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg32420.html

btrfs should probably improve its check to see that the drive is not really used
and let me format it.

Note You need to log in before you can comment on or make changes to this bug.