You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.8 KiB
57 lines
1.8 KiB
5 years ago
|
From a26cc1e7e299b61d1877ead03aacafef9fbe81ff Mon Sep 17 00:00:00 2001
|
||
5 years ago
|
From: "Robin H. Johnson" <robbat2@gentoo.org>
|
||
5 years ago
|
Date: Fri, 25 Oct 2019 08:45:17 +0200
|
||
5 years ago
|
Subject: [PATCH] Add Gentoo specific changes
|
||
|
|
||
5 years ago
|
Forward-ported from 2.03.05 to 2.03.06
|
||
5 years ago
|
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
||
|
---
|
||
|
conf/example.conf.in | 10 +++++++---
|
||
|
1 file changed, 7 insertions(+), 3 deletions(-)
|
||
|
|
||
|
diff --git a/conf/example.conf.in b/conf/example.conf.in
|
||
5 years ago
|
index 05b0857920..33ffb0097c 100644
|
||
5 years ago
|
--- a/conf/example.conf.in
|
||
|
+++ b/conf/example.conf.in
|
||
|
@@ -143,6 +143,9 @@ devices {
|
||
|
# Example
|
||
|
# Accept every block device:
|
||
5 years ago
|
# filter = [ "a|.*|" ]
|
||
5 years ago
|
+ # Gentoo: we exclude /dev/nbd by default, because it makes a lot of kernel
|
||
|
+ # noise when you probed while not available.
|
||
5 years ago
|
+ filter = [ "r|/dev/nbd.*|", "a|.*|" ]
|
||
5 years ago
|
# Reject the cdrom drive:
|
||
|
# filter = [ "r|/dev/cdrom|" ]
|
||
|
# Work with just loopback devices, e.g. for testing:
|
||
5 years ago
|
@@ -1680,7 +1683,7 @@ activation {
|
||
5 years ago
|
|
||
|
# Configuration section metadata.
|
||
|
# This configuration section has an automatic default value.
|
||
|
-# metadata {
|
||
|
+metadata {
|
||
|
|
||
|
# Configuration option metadata/check_pv_device_sizes.
|
||
|
# Check device sizes are not smaller than corresponding PV sizes.
|
||
5 years ago
|
@@ -1725,7 +1728,8 @@ activation {
|
||
5 years ago
|
#
|
||
|
# This configuration option is advanced.
|
||
|
# This configuration option has an automatic default value.
|
||
|
- # pvmetadatacopies = 1
|
||
|
+ # Gentoo: enable for data safety, but PV resize is then disabled.
|
||
|
+ # pvmetadatacopies = 2
|
||
|
|
||
|
# Configuration option metadata/vgmetadatacopies.
|
||
|
# Number of copies of metadata to maintain for each VG.
|
||
5 years ago
|
@@ -1768,7 +1772,7 @@ activation {
|
||
5 years ago
|
# This configuration option is advanced.
|
||
|
# This configuration option has an automatic default value.
|
||
|
# stripesize = 64
|
||
|
-# }
|
||
|
+}
|
||
|
|
||
|
# Configuration section report.
|
||
|
# LVM report command output formatting.
|
||
|
--
|
||
5 years ago
|
2.24.0.rc1
|
||
5 years ago
|
|