btrfs-progs: docs: Add warning for build RAID btrfs on partions from the same device
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Tue, 6 Sep 2016 15:35:33 +0000 (17:35 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 21 Sep 2016 09:47:35 +0000 (11:47 +0200)
Quite a common sense for any RAID-like multi-device setup, just in case.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Documentation/mkfs.btrfs.asciidoc

index 7d19a14..6515e14 100644 (file)
@@ -271,6 +271,10 @@ There are the following block group types available:
 | RAID6   | 1            | 2              | 3 to N - 2 | 3/any ^(see note 3)^
 |=============================================================
 
+WARNING: It's not recommended to build btrfs with RAID0/1/10/5/6 prfiles on
+partitions from the same device.  Neither redundancy nor performance will be
+improved.
+
 'Note 1:' DUP may exist on more than 1 device if it starts on a single device and
 another one is added. Since version 4.5.1, *mkfs.btrfs* will let you create DUP
 on multiple devices.