Re: [PATCH v3 2/2] btrfs-progs: doc: add description of missing and example of device remove

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

 



Misono, Tomohiro posted on Tue, 17 Oct 2017 10:45:58 +0900 as excerpted:

> On 2017/10/16 18:22, Nikolay Borisov wrote:
>> 
>> 
>> On 16.10.2017 07:56, Misono, Tomohiro wrote:
>>>
>>> 1. Add explanation of 'missing' for 'device remove'. This is only
>>> written in wikipage currently.

>>> +++ b/Documentation/btrfs-device.asciidoc

>> Also, what happens if there are 2 or more devices missing, will those
>> be deleted as well or just the first device? If all missing devices are
>> handled then this needs to be reflected in the documentation.

> How about adding a note in the end?:
> ===
>  If filesystem is mounted in degraded mode (-o degraded), special term
>  "missing" can be used for <device>. In that case, the first device that
>  is described by the filesystem metadata, but not present at the mount
>  time will be removed.
> 
>  NOTE: In most cases, there is only one missing device in degraded mode,
>  otherwise mount fails. If there are two or more devices missing (e.g.
>  possible in RAID 6), you need specify "missing" as many times as the
>  number of missing devices to remove all of them.
> ===

LGTM. =:^)

-- 
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