Re: btrfs-tools missing "btrfs device delete devid=x path" ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marc MERLIN posted on Sun, 23 Mar 2014 09:25:06 -0700 as excerpted:

> On Sun, Mar 23, 2014 at 04:18:43PM +0000, Hugo Mills wrote:
>> On Sun, Mar 23, 2014 at 08:25:17AM -0700, Marc MERLIN wrote:
>>> 
>>> What's the syntax for removing a drive that isn't there?
>> 
>>    btrfs dev del missing /path
>> 
>>    Removes all the missing devices.
> 
> Aaah, this worked, thank you.
> This isn't documented in the 3.12 man page, but I'm guessing it'll be in
> the upcoming 3.14.
> 
> I'll document this in the raid5 page I'm currently writing.

It's on the wiki as I remembered, covered on the multiple devices page.

https://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices#Removing_devices

(FWIW it's pretty safe to say that if it was in the wiki, at least in
the user docs section, I saw it before I ever did my first mkfs.btrfs,
as I pretty much scoured the wiki, then asked some questions not covered
there here as well, before I actually tried to use it.  Unlike some people
I actually tend to read the instructions before trying to use stuff I buy,
too. =:^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux