diff options
Diffstat (limited to 'Documentation/device-mapper/dm-raid.txt')
-rw-r--r-- | Documentation/device-mapper/dm-raid.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/device-mapper/dm-raid.txt b/Documentation/device-mapper/dm-raid.txt index a7d1c4abc927..2a8c11331d2d 100644 --- a/Documentation/device-mapper/dm-raid.txt +++ b/Documentation/device-mapper/dm-raid.txt | |||
@@ -11,6 +11,7 @@ The target is named "raid" and it accepts the following parameters: | |||
11 | <#raid_devs> <metadata_dev0> <dev0> [.. <metadata_devN> <devN>] | 11 | <#raid_devs> <metadata_dev0> <dev0> [.. <metadata_devN> <devN>] |
12 | 12 | ||
13 | <raid_type>: | 13 | <raid_type>: |
14 | raid1 RAID1 mirroring | ||
14 | raid4 RAID4 dedicated parity disk | 15 | raid4 RAID4 dedicated parity disk |
15 | raid5_la RAID5 left asymmetric | 16 | raid5_la RAID5 left asymmetric |
16 | - rotating parity 0 with data continuation | 17 | - rotating parity 0 with data continuation |
@@ -61,8 +62,7 @@ The target is named "raid" and it accepts the following parameters: | |||
61 | <#raid_devs>: The number of devices composing the array. | 62 | <#raid_devs>: The number of devices composing the array. |
62 | Each device consists of two entries. The first is the device | 63 | Each device consists of two entries. The first is the device |
63 | containing the metadata (if any); the second is the one containing the | 64 | containing the metadata (if any); the second is the one containing the |
64 | data. Currently, separate metadata devices are not supported and '-' | 65 | data. |
65 | is required in place of the metadata device. | ||
66 | 66 | ||
67 | If a drive has failed or is missing at creation time, a '-' can be | 67 | If a drive has failed or is missing at creation time, a '-' can be |
68 | given for both the metadata and data drives for a given position. | 68 | given for both the metadata and data drives for a given position. |
@@ -70,7 +70,7 @@ The target is named "raid" and it accepts the following parameters: | |||
70 | 70 | ||
71 | Example tables | 71 | Example tables |
72 | -------------- | 72 | -------------- |
73 | # RAID4 - 4 data drives, 1 parity | 73 | # RAID4 - 4 data drives, 1 parity (no metadata devices) |
74 | # No metadata devices specified to hold superblock/bitmap info | 74 | # No metadata devices specified to hold superblock/bitmap info |
75 | # Chunk size of 1MiB | 75 | # Chunk size of 1MiB |
76 | # (Lines separated for easy reading) | 76 | # (Lines separated for easy reading) |
@@ -79,13 +79,13 @@ Example tables | |||
79 | raid4 1 2048 \ | 79 | raid4 1 2048 \ |
80 | 5 - 8:17 - 8:33 - 8:49 - 8:65 - 8:81 | 80 | 5 - 8:17 - 8:33 - 8:49 - 8:65 - 8:81 |
81 | 81 | ||
82 | # RAID4 - 4 data drives, 1 parity (no metadata devices) | 82 | # RAID4 - 4 data drives, 1 parity (with metadata devices) |
83 | # Chunk size of 1MiB, force RAID initialization, | 83 | # Chunk size of 1MiB, force RAID initialization, |
84 | # min recovery rate at 20 kiB/sec/disk | 84 | # min recovery rate at 20 kiB/sec/disk |
85 | 85 | ||
86 | 0 1960893648 raid \ | 86 | 0 1960893648 raid \ |
87 | raid4 4 2048 min_recovery_rate 20 sync\ | 87 | raid4 4 2048 sync min_recovery_rate 20 \ |
88 | 5 - 8:17 - 8:33 - 8:49 - 8:65 - 8:81 | 88 | 5 8:17 8:18 8:33 8:34 8:49 8:50 8:65 8:66 8:81 8:82 |
89 | 89 | ||
90 | 'dmsetup table' displays the table used to construct the mapping. | 90 | 'dmsetup table' displays the table used to construct the mapping. |
91 | The optional parameters are always printed in the order listed | 91 | The optional parameters are always printed in the order listed |