Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/lvm2/files: lvm.conf-2.02.36.patch
Date: Wed, 30 Apr 2008 06:53:28
Message-Id: E1Jr6Bx-0007UK-PS@stork.gentoo.org
1 robbat2 08/04/30 06:53:25
2
3 Added: lvm.conf-2.02.36.patch
4 Log:
5 Version bump per bug 219091.
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 sys-fs/lvm2/files/lvm.conf-2.02.36.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/lvm2/files/lvm.conf-2.02.36.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/lvm2/files/lvm.conf-2.02.36.patch?rev=1.1&content-type=text/plain
13
14 Index: lvm.conf-2.02.36.patch
15 ===================================================================
16 diff -Nuar --exclude '*.orig' LVM2.2.02.36.orig/doc/example.conf LVM2.2.02.36/doc/example.conf
17 --- LVM2.2.02.36.orig/doc/example.conf 2008-04-10 11:50:37.000000000 -0700
18 +++ LVM2.2.02.36/doc/example.conf 2008-04-29 23:45:08.165059223 -0700
19 @@ -50,7 +50,9 @@
20
21
22 # By default we accept every block device:
23 - filter = [ "a/.*/" ]
24 + # Gentoo: we exclude /dev/nbd by default, because it makes a lot of kernel
25 + # noise when you probed while not available.
26 + filter = [ "r|/dev/nbd.*|", "a/.*/" ]
27
28 # Exclude the cdrom drive
29 # filter = [ "r|/dev/cdrom|" ]
30 @@ -86,7 +88,7 @@
31 # If sysfs is mounted (2.6 kernels) restrict device scanning to
32 # the block devices it believes are valid.
33 # 1 enables; 0 disables.
34 - sysfs_scan = 1
35 + sysfs_scan = 1
36
37 # By default, LVM2 will ignore devices used as components of
38 # software RAID (md) devices by looking for md superblocks.
39 @@ -219,12 +221,14 @@
40 # e.g. vgscan.lvm1 and they will stop working after you start using
41 # the new lvm2 on-disk metadata format.
42 # The default value is set when the tools are built.
43 - # fallback_to_lvm1 = 0
44 + # Gentoo: the LVM tools are a seperate package.
45 + fallback_to_lvm1 = 0
46
47 # The default metadata format that commands should use - "lvm1" or "lvm2".
48 # The command line override is -M1 or -M2.
49 # Defaults to "lvm1" if compiled in, else "lvm2".
50 - # format = "lvm1"
51 + # Gentoo: default to LVM2 format
52 + format = "lvm2"
53
54 # Location of proc filesystem
55 proc = "/proc"
56 @@ -351,12 +355,12 @@
57
58 # Metadata settings
59 #
60 -# metadata {
61 +metadata {
62 # Default number of copies of metadata to hold on each PV. 0, 1 or 2.
63 # You might want to override it from the command line with 0
64 # when running pvcreate on new PVs which are to be added to large VGs.
65 -
66 - # pvmetadatacopies = 1
67 + # Gentoo: enabled for data safety
68 + pvmetadatacopies = 2
69
70 # Approximate default size of on-disk metadata areas in sectors.
71 # You should increase this if you have large volume groups or
72 @@ -378,11 +382,11 @@
73 # the supplied toolset to make changes (e.g. vgcfgrestore).
74
75 # dirs = [ "/etc/lvm/metadata", "/mnt/disk2/lvm/metadata2" ]
76 -#}
77 +}
78
79 # Event daemon
80 -#
81 -# dmeventd {
82 +# Gentoo: uncommented, since we provide the dmeventd init script
83 +dmeventd {
84 # mirror_library is the library used when monitoring a mirror device.
85 #
86 # "libdevmapper-event-lvm2mirror.so" attempts to recover from
87 @@ -390,7 +394,7 @@
88 # reconfigures a mirror as necessary. If no mirror library is
89 # provided, mirrors are not monitored through dmeventd.
90
91 - # mirror_library = "libdevmapper-event-lvm2mirror.so"
92 + mirror_library = "libdevmapper-event-lvm2mirror.so"
93
94 # snapshot_library is the library used when monitoring a snapshot device.
95 #
96 @@ -399,6 +403,6 @@
97 # snapshot exceedes 80%. The warning is repeated when 85%, 90% and
98 # 95% of the snapshot are filled.
99
100 - # snapshot_library = "libdevmapper-event-lvm2snapshot.so"
101 -#}
102 + snapshot_library = "libdevmapper-event-lvm2snapshot.so"
103 +}
104
105
106
107
108 --
109 gentoo-commits@l.g.o mailing list