diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2016-07-20 17:20:15 +0200 |
---|---|---|
committer | Heinz Mauelshagen <heinzm@redhat.com> | 2016-07-20 17:20:15 +0200 |
commit | 7eb79091937d01eec51fc6a034879a6fe607231d (patch) | |
tree | a80fac054537e9f331f423ded63b80be9ca3f425 /conf | |
parent | 19e652b182099ca06c678394eccd1988967dacf9 (diff) | |
download | lvm2-7eb79091937d01eec51fc6a034879a6fe607231d.tar.gz |
lvcreate: raid0 needs default number of stripes
Commit 3928c96a37941d765bf467d82502cd2aec7fd809 introduced
new defaults for raid number of stripes, which may cause
backwards compatibility issues with customer scripts.
Adding configurable option 'raid_stripe_all_devices' defaulting
to '0' (i.e. off = new behaviour) to select the old behaviour
of using all PVs in the VG or those provided on the command line.
In case any scripts rely on the old behaviour, just set
'raid_strip_all_devices = 1'.
- resolves rhbz1354650
Diffstat (limited to 'conf')
-rw-r--r-- | conf/example.conf.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/example.conf.in b/conf/example.conf.in index f7cebf9b8..8b79d7da6 100644 --- a/conf/example.conf.in +++ b/conf/example.conf.in @@ -472,6 +472,13 @@ allocation { # Default physical extent size in KiB to use for new VGs. # This configuration option has an automatic default value. # physical_extent_size = 4096 + + # Configuration option striping across all PVs when RAID stripes are not specified. + # If enabled, all PVs in the VG or on the command line are used for raid0/4/5/6/10 + # when the command does not specify the number of stripes to use. + # + # This configuration option has an automatic default value. + # raid_stripe_all_devices = 0 } # Configuration section log. |