summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2015-11-24 18:14:39 +0100
committerDavid Sterba <dsterba@suse.com>2015-11-24 18:26:47 +0100
commit73a015578a5f51993645f87ba660372a0ec56997 (patch)
treea28e4fe80371c1998ea25e0b0fefaf663694cef2 /Documentation
parenta99d13dccee11d29da3d045c2c2fc69d47eff770 (diff)
btrfs-progs: docs: update raid table in mkfs manpage
* split copies to copies and parity and add a common header for all the raid options * add missing RAID1 * n/a were dropped Based on feedback from Duncan <1i5t5.duncan@cox.net>. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/mkfs.btrfs.asciidoc22
1 files changed, 14 insertions, 8 deletions
diff --git a/Documentation/mkfs.btrfs.asciidoc b/Documentation/mkfs.btrfs.asciidoc
index 12d88400..c9ba314c 100644
--- a/Documentation/mkfs.btrfs.asciidoc
+++ b/Documentation/mkfs.btrfs.asciidoc
@@ -248,17 +248,23 @@ PROFILES
There are the following block group types available:
-[ width="60%",options="header" ]
+[ cols="^,^,^,^,^",width="60%" ]
|=============================================================
-| Profile | Redundancy | Striping | Min/max devices
-| single | 1 copy | n/a | 1/any
-| DUP | 2 copies / 1 device | n/a | 1/1
-| RAID0 | n/a | 1 to N | 2/any
-| RAID10 | 2 copies | 1 to N | 4/any
-| RAID5 | 2 copies | 3 to N - 1 | 2/any
-| RAID6 | 3 copies | 3 to N - 2 | 3/any
+.2+^.<h| Profile 3+^.^h| Redundancy .2+^.<h| Min/max devices
+ ^.^h| Copies ^.^h| Parity ^.<h| Striping
+| single | 1 | | | 1/any
+| DUP | 2 / 1 device | | | 1/1 ^(see note)^
+| RAID0 | | | 1 to N | 2/any
+| RAID1 | 2 | | | 2/any
+| RAID10 | 2 | | 1 to N | 4/any
+| RAID5 | 1 | 1 | 2 to N - 1 | 2/any
+| RAID6 | 1 | 2 | 3 to N - 2 | 3/any
|=============================================================
+'Note:' DUP may exist on more than 1 device if it starts on a single device and
+another one is added, but *mkfs.btrfs* will not let you create DUP on multiple
+devices.
+
KNOWN ISSUES
------------