]> sourceware.org Git - lvm2.git/blame - WHATS_NEW
Remove pv segments line from backport.
[lvm2.git] / WHATS_NEW
CommitLineData
809fae91
AK
1Version 2.00.17 - 20 June 2004
2==============================
3 configure --enable-fsadm to try out fsadm. fsadm is not tested yet.
c29d2465 4 Display all filtered devices, not just PVs, with pvs -a.
01c263e9 5 Fix sync_dir() when no / in filename
8d267798 6 vgcfgbackup -f accepts template with %s for VG name.
374df1cf 7 Extend hash functions to handle non-null-terminated data.
b86ef8e2 8 Add local activation support.
b7d0982a 9 Tidy relative paths in makefile includes.
1a9ea74d 10 fsadm support for fsck and resizing - needs testing.
d8ac0fbc 11 Add read-only GFS pool support.
8c670f83 12 Add lvm2create_initrd script from http://poochiereds.net/svn/lvm2/
30bab85b 13 Fix rounding of large diplayed sizes.
7d36b514 14 Suppress decimal point when using units of sectors/bytes.
abaf083d 15 Additional kernel target checks before pvmove & snapshot creation.
2ea0f30f 16 Add i2o_block.
abaf083d 17
ea556d1f 18Version 2.00.16 - 24 May 2004
25579907 19=============================
bfa258b3 20 Set area_count within alloc_lv_segment.
7f0dc9c4 21 Remove error labels from lvresize.
199fa12a 22 Fix a pvs error path.
36cfd887 23 xxchange -ae for exclusive activation.
29e94d95 24 Don't return non-zero status if there aren't any volume groups.
a0a23eff
AK
25 Add --alloc argument to tools.
26 Rename allocation policies to contiguous, normal, anywhere, inherit.
27 nextfree becomes normal; anywhere isn't implemented yet.
28 LV inherits allocation policy from VG. Defaults: LV - inherit; VG - normal
29 Additional status character added to vgs to indicate allocation policy.
b61702ce 30 Add reset_fn to external_locking.
e0a86d8c
AK
31 Ensure presence of virtual targets before attempting activating.
32 Attempt to fix resizing of snapshot origins.
241913fe 33 Restructure lvresize, bringing it closer to lvcreate.
6925cbe6 34 A quick sanity check on vg_disk struct when read in. More checks needed.
ff4b8b64 35 Only include visible LVs in active/open counts.
1832f310
AK
36 Add virtual segment types, zero and error. A large sparse device can be
37constructed as a writeable snapshot of a large zero segment.
38 Add --type to lvcreate/resize.
1d2ebf62
AK
39 Push lv_create & alloc policy up to tool level.
40 Fix pvdisplay return code.
e3adcd79 41 Detect invalid LV names in arg lists.
0e3d9452
AK
42 Reporting uses line-at-a-time output.
43 lvm2 format sets unlimited_vols format flag.
ea601b75
AK
44 Internal-only metadata flag support.
45 Basic checking for presence of device-mapper targets.
cb919290 46 Separate out polldaemon.
23289e6d
AK
47 Revise internal locking semantics.
48 Move find_pv_by_name to library.
0b2b87b7
AK
49 Rename move->copy.
50 Add devices to segments report.
4922197a
AK
51 Begin separating out segment code. There's a lot of change here.
52 Compress any (obsolete) long LVM1 pvids encountered.
25579907
AK
53 Support for tagged config files.
54 Don't abort operations if selinux present but disabled.
55 Fix typo in configure which left HAVE_LIBDL unset.
56
a38df97f
AK
57Version 2.00.15 - 19 Apr 2004
58=============================
59 configure --with-owner= --with-group= to avoid -o and -g args to 'install'
60
96185e9c
AK
61Version 2.00.14 - 16 Apr 2004
62=============================
63 Use 64-bit file functions by default.
64
01c6121b 65Version 2.00.13 - 16 Apr 2004
121c5c06 66=============================
01c6121b
AK
67 Set devices/md_component_detection = 1 to ignore devices containing md
68 superblocks. [Luca Berra]
121c5c06
AK
69 Ignore error setting selinux file context if fs doesn't support it.
70
a218a29c
AK
71Version 2.00.12 - 14 Apr 2004
72=============================
4563e036
AK
73 Install a default lvm.conf into /etc/lvm if there isn't one already.
74 Allow different installation dir for lvm.static (configure --staticdir=)
75 Fix inverted selinux error check.
76 Recognise power2 in /proc/devices.
77 Fix counting in lvs_in_vg_opened. [It ignored devices open more than once.]
78
e5b28125
AK
79Version 2.00.11 - 8 Apr 2004
80============================
81 Set fallback_to_lvm1 in lvm.conf (or configure --enable-lvm1_fallback)
82 to run lvm1 binaries if running a 2.4 kernel without device-mapper.
83
0d0b3357 84Version 2.00.10 - 7 Apr 2004
35030bb0
AK
85============================
86 More fixes for static build.
0d0b3357
AK
87 Add basic selinux support.
88 Fix sysfs detection.
35030bb0 89
6b493d07
AK
90Version 2.00.09 - 31 Mar 2004
91=============================
cd242223
AK
92 Update copyright notices for Red Hat.
93 Fix vgmknodes to remove dud /dev/mapper entries. (libdevmapper update reqd).
94 Add LVM1-style colon output to vgdisplay.
95 lvchange --refresh to reload active LVs.
96 Add string display to memory leak dump.
97 Add locking flags & memlock option.
98 Add list_versions to library.
99 Ignore open hidden LVs when checking if deactivation is OK.
100 Suppress move percentage when device inactive.
101 Add lv_info_by_lvid.
102 Various tidy-ups to the build process.
103 Rebaseline internal verbose level.
104 Add --nolocking option for read operations if locking is failing.
105 Add option to compile into a library.
106 When compiled without libdevmapper, only print warning message once.
107 Fix lvreduce PV extent calculations.
108 Fix DESTDIR to work with configure path overrides.
109 Always use / as config file separator & rename internal config file variables.
110 Add support for tagging PV/VG/LVs and hosts.
111 Fix rare bug in recognition of long cmdline argument forms.
112 Add basic internationalisation infrastructure.
113 Don't recurse symlinked dirs such as /dev/fd on 2.6 kernels.
114 Update autoconf files.
115 Add sysfs block device filtering for 2.6 kernels.
116 Update refs for move to sources.redhat.com.
117
f74d51d9
AK
118Friday 14th November 2003
119=========================
120Some bug fixes & minor enhancements, including:
121 Backwards compatibility with LVM1 metadata improved.
122 Missing man pages written.
123 Tool error codes made more consistent.
124 vgmknodes written.
125 O_DIRECT can be turned off if it doesn't work in your kernel.
b2bb7264 126 dumpconfig to display the active configuration file
f74d51d9
AK
127
128You need to update libdevmapper before using 'vgmknodes' or 'vgscan --mknodes'.
129If your root filesystem is on an LV, you should run one of those two
130commands to fix up the special files in /dev in your real root filesystem
131after finishing with your initrd. Also, remember you can use
132'vgchange --ignorelockingfailure' on your initrd if the tool fails because
133it can't write a lock file to a read-only filesystem.
134
541f8753
AK
135Wednesday 30th April 2003
136=========================
137A pvmove implementation is now available for the new metadata format.
138
139When running a command that allocates space (e.g. lvcreate), you can now
140restrict not only which disk(s) may be used but also the Physical Extents
141on those disks. e.g. lvcreate -L 10 vg1 /dev/hda6:1000-2000:3000-4000
142
143
144Monday 18th November 2002
5a52dca9
AK
145========================
146
147The new format of LVM metadata is ready for you to test!
148 We expect it to be more efficient and more robust than the original format.
149 It's more compact and supports transactional changes and replication.
150 Should things go wrong on a system, it's human-readable (and editable).
151
152Please report any problems you find to the mailing list,
153linux-lvm@sistina.com. The software has NOT yet been thoroughly
154tested and so quite possibly there'll still be some bugs in it.
155Be aware of the disclaimer in the COPYING file.
156
157While testing, we recommend turning logging on in the configuration file
158to provide us with diagnostic information:
159 log {
160 file="/tmp/lvm2.log"
541f8753 161 level=7
5518374b 162 activation=1
5a52dca9
AK
163 }
164
165You should schedule regular backups of your configuration file and
166metadata backups and archives (normally kept under /etc/lvm).
167
168Please read docs/example.conf and "man lvm.conf" to find out more about
169the configuration file.
170
171To convert an existing volume group called vg1 to the new format using
172the default settings, use "vgconvert -M2 vg1". See "man vgconvert".
173
174-M (or --metadatatype in its long form) is a new flag to indicate which
175format of metadata the command should use for anything it creates.
176Currently, the valid types are "lvm1" and "lvm2" and they can be
177abbreviated to "1" and "2" respectively. The default value for this
178flag can be changed in the global section in the config file.
179
180Backwards-compatible support for the original LVM1 metadata format is
181maintained, but it can be moved into a shared library or removed
182completely with configure's --with-lvm1 option.
183
184Under LVM2, the basic unit of metadata is the volume group. Different
185volume groups can use different formats of metadata - vg1 could use
186the original LVM1 format while vg2 used the new format - but you can't
187mix formats within a volume group. So to add a PV to an LVM2-format
188volume group you must run "pvcreate -M2" on it, followed by "vgextend".
189
190With LVM2-format metadata, lvextend will let you specify striping
191parameters. So an LV could consist of two or more "segments" - the
192first segment could have 3 stripes while the second segment has just 2.
193
194LVM2 maintains a backup of the current metadata for each volume group
195in /etc/lvm/backup, and puts copies of previous versions in
196/etc/lvm/archive. "vgcfgbackup" and "vgcfgrestore" can be used to
197create and restore from these files. If you fully understand what
198you're doing, metadata can be changed by editing a copy of a current
199backup file and using vgcfgrestore to reload it.
200
201Please read the pvcreate man page for more information on the new
202format for metadata.
203
204All tools that can change things have a --test flag which can be used
205to check the effect of a set of cmdline args without really making the
206changes.
207
208
209What's not finished?
210====================
211The internal cache. If you turn on debugging output you'll see lots of
914c9723 212repeated messages, many of which will eventually get optimised out.
5a52dca9
AK
213
214--test sometimes causes a command to fail (e.g. vgconvert --test) even
215though the real command would work: again, fixing this is waiting for
216the work on the cache.
217
218Several of the tools do not yet contain the logic to handle full
219recovery: combinations of pvcreate and vgcfgrestore may sometimes be
220needed to restore metadata if a tool gets interrupted or crashes or
221finds something unexpected. This applies particularly to tools that
222work on more than one volume group at once (e.g. vgsplit).
223
224Display output. Some metadata information cannot yet be displayed.
5a52dca9
AK
225
226Recovery tools to salvage "lost" metadata directly from the disks:
227but we hope the new format will mean such tools are hardly ever needed!
228
This page took 0.053682 seconds and 5 git commands to generate.