]>
sourceware.org Git - lvm2.git/log
Heinz Mauelshagen [Tue, 29 Jan 2002 15:54:49 +0000 (15:54 +0000)]
Date changed
Heinz Mauelshagen [Tue, 29 Jan 2002 15:52:11 +0000 (15:52 +0000)]
Zero gap after PV structure on write to disk in order to make non LVM tools happier (AED's idea and patch for LVM1)
Heinz Mauelshagen [Tue, 29 Jan 2002 15:43:04 +0000 (15:43 +0000)]
fixed div bug in calculation of end in calculate_extent_count
Heinz Mauelshagen [Mon, 28 Jan 2002 16:30:42 +0000 (16:30 +0000)]
Check that vgname doesn't already exits in dev_dir
Joe Thornber [Mon, 28 Jan 2002 09:16:09 +0000 (09:16 +0000)]
o There were some alignment problems with pool-debug which I've resolved
by allocating the data block with an additional dbg_malloc.
o Added an assertion to check that no one is requesting alternate
alignment for memory allocated from pool. I can't see us needing this
for LVM2.
Alasdair Kergon [Sun, 27 Jan 2002 21:48:05 +0000 (21:48 +0000)]
*** empty log message ***
Alasdair Kergon [Sun, 27 Jan 2002 21:30:47 +0000 (21:30 +0000)]
Tweak some error message levels.
Alasdair Kergon [Fri, 25 Jan 2002 22:58:01 +0000 (22:58 +0000)]
If lv isn't active, skip reactivation.
Alasdair Kergon [Fri, 25 Jan 2002 21:14:43 +0000 (21:14 +0000)]
Prevent lvextend from adding segments with different stripe characteristics
at the moment because the old LVM format doesn't support this.
Alasdair Kergon [Fri, 25 Jan 2002 20:24:14 +0000 (20:24 +0000)]
The latest attempt at making extended striped LVs work portably with LVM1.
Alasdair Kergon [Fri, 25 Jan 2002 20:21:13 +0000 (20:21 +0000)]
Set pv->pe_size when reading in text-file backup.
Otherwise LVM1 decides the PV structure is corrupt.
But do we need to keep both pv->pe_size and vg->extent_size
in internal metadata or can we generate pvd->pe_size when writing out
a PV that belongs to a VG?
Alasdair Kergon [Fri, 25 Jan 2002 20:17:44 +0000 (20:17 +0000)]
Only remove symbolic links when deactivating.
(if this code didn't create it, don't delete it)
Joe Thornber [Fri, 25 Jan 2002 13:41:13 +0000 (13:41 +0000)]
o Tidy
Alasdair Kergon [Thu, 24 Jan 2002 23:35:56 +0000 (23:35 +0000)]
Have a pe_total check using theoretically big number instead of the
unnecessarily small limit LVM1 imposes in vgcreate (but not vgextend)
Alasdair Kergon [Thu, 24 Jan 2002 23:17:16 +0000 (23:17 +0000)]
Don't bother to write out an empty cache.
Alasdair Kergon [Thu, 24 Jan 2002 23:16:19 +0000 (23:16 +0000)]
Fix the device cache to cope reasonably safely with device name changes.
This should be a rare occurrence so the aim is to recover if it's
straightforward to do so, otherwise just to abort the operation.
If people *knowingly* change device names, they should always run vgscan
afterwards.
A few bytes of memory gets leaked inside a pool each time an alias
has to be discarded - it's not worth restructuring the code to reuse it.
More of LVM2 needs updating to pass device objects (or uuids) about
instead of pathnames so that resolution of pathname->object only happens
once per operation.
dev_cache_get() should now always return the *current* device at the path given
dev_name_confirmed() replaces dev_name() whenever it's important to
know that name for the device is still current (ie when opening it).
If the cache doesn't know a current name, the function fails.
dev_open() guarantees that the file descriptor returned is for the dev_t
of the device structure it was passed.
Alasdair Kergon [Thu, 24 Jan 2002 22:37:24 +0000 (22:37 +0000)]
Clear a FIXME about checking for identical devices by comparing dev_t
instead of name.
Heinz Mauelshagen [Thu, 24 Jan 2002 19:20:35 +0000 (19:20 +0000)]
removed ~64limit for PEs per PV agk introduced
Joe Thornber [Thu, 24 Jan 2002 17:32:56 +0000 (17:32 +0000)]
o Limit for number of extents should be 65534.
Alasdair Kergon [Thu, 24 Jan 2002 17:26:00 +0000 (17:26 +0000)]
Improve allocation error messages when PVs in a VG have the allocatable
flag unset.
Alasdair Kergon [Thu, 24 Jan 2002 17:24:32 +0000 (17:24 +0000)]
Impose max PE limit for each PV.
Joe Thornber [Thu, 24 Jan 2002 17:16:36 +0000 (17:16 +0000)]
o Add check for > 65k extents in a single lv.
Joe Thornber [Thu, 24 Jan 2002 17:15:49 +0000 (17:15 +0000)]
o Add extra parameter to lv_manip fns
Joe Thornber [Thu, 24 Jan 2002 17:15:24 +0000 (17:15 +0000)]
o extra fid parameter to lv_manip fns
Joe Thornber [Thu, 24 Jan 2002 14:15:42 +0000 (14:15 +0000)]
o Remove pointless calculation.
Alasdair Kergon [Thu, 24 Jan 2002 13:36:33 +0000 (13:36 +0000)]
Ignore all except one PV found with the same UUID. Use one which
has the md major number if there is such.
Alasdair Kergon [Thu, 24 Jan 2002 13:31:18 +0000 (13:31 +0000)]
Fix dev_close arg.
Alasdair Kergon [Thu, 24 Jan 2002 13:30:40 +0000 (13:30 +0000)]
Remove any core files on distclean.
Joe Thornber [Thu, 24 Jan 2002 09:54:09 +0000 (09:54 +0000)]
o typo
Joe Thornber [Thu, 24 Jan 2002 09:26:13 +0000 (09:26 +0000)]
o Cut and paste description of how pvmove works that I was mailing someone.
Alasdair Kergon [Wed, 23 Jan 2002 18:55:01 +0000 (18:55 +0000)]
o Remove redundant symlink-handling code.
o When opening device, return error if its cached name is incorrect (eg if
it's changed since the cache was generated). This prevents use until
the cache is rebuilt (eg with vgscan). Doesn't catch every case.
Alasdair Kergon [Wed, 23 Jan 2002 15:50:34 +0000 (15:50 +0000)]
Avoid using VG metadata on PVs that are not in VGs.
Alasdair Kergon [Wed, 23 Jan 2002 12:25:30 +0000 (12:25 +0000)]
*** empty log message ***
Alasdair Kergon [Tue, 22 Jan 2002 19:58:37 +0000 (19:58 +0000)]
Silently remove any existing symlink before creating a new one.
Alasdair Kergon [Tue, 22 Jan 2002 19:20:46 +0000 (19:20 +0000)]
Update with info on how to configure command output to look like LVM1
Alasdair Kergon [Tue, 22 Jan 2002 19:11:12 +0000 (19:11 +0000)]
Reviewed interaction with lib/activate now that the interface has settled down.
Alasdair Kergon [Tue, 22 Jan 2002 15:33:57 +0000 (15:33 +0000)]
New config options to customise message output.
Alasdair Kergon [Tue, 22 Jan 2002 15:33:40 +0000 (15:33 +0000)]
Customisable message output prefix / indentation.
Joe Thornber [Tue, 22 Jan 2002 14:40:38 +0000 (14:40 +0000)]
o added BUGS file.
Joe Thornber [Tue, 22 Jan 2002 14:16:27 +0000 (14:16 +0000)]
o Fix inverted logic in list_empty test.
Alasdair Kergon [Tue, 22 Jan 2002 13:29:34 +0000 (13:29 +0000)]
old file
Alasdair Kergon [Tue, 22 Jan 2002 13:11:01 +0000 (13:11 +0000)]
Update. Ready to release?
Alasdair Kergon [Mon, 21 Jan 2002 19:05:00 +0000 (19:05 +0000)]
No need for file output to default to stderr now that log file can be
specified in config file.
Alasdair Kergon [Mon, 21 Jan 2002 19:04:13 +0000 (19:04 +0000)]
Insert a missing hash_remove.
Joe Thornber [Mon, 21 Jan 2002 17:43:10 +0000 (17:43 +0000)]
o Allow fractional parts for size args. eg, lvcreate -L 34.4M
o Fix a couple of bugs related to the earlier lv_list change
Joe Thornber [Mon, 21 Jan 2002 16:49:32 +0000 (16:49 +0000)]
o Similar changes for lv_list.
Joe Thornber [Mon, 21 Jan 2002 16:15:25 +0000 (16:15 +0000)]
o fail if create_pv_list would produce an empty list.
Joe Thornber [Mon, 21 Jan 2002 16:10:36 +0000 (16:10 +0000)]
o Typo in comment
Joe Thornber [Mon, 21 Jan 2002 16:05:23 +0000 (16:05 +0000)]
o Changed
struct pv_list {
struct list list;
struct physical_volume pv;
};
to
struct pv_list {
struct list list;
struct physical_volume *pv;
};
o New function in toollib 'create_pv_list', which creates a list of pv's
from a given command line array of pv's.
o Changed lvcreate/extend to use this (fixes lvextend [pv list] bug).
Alasdair Kergon [Mon, 21 Jan 2002 16:02:55 +0000 (16:02 +0000)]
Is this sufficient to fix make -j?
Patrick Caulfield [Mon, 21 Jan 2002 14:53:47 +0000 (14:53 +0000)]
Fixx OB1 error in max LV and max PV numbers
Joe Thornber [Mon, 21 Jan 2002 14:28:12 +0000 (14:28 +0000)]
o Changed find_pv_in_vg, and find_lv_in_vg to return a struct pv_list * and
struct lv_list * respectively.
Joe Thornber [Mon, 21 Jan 2002 13:11:03 +0000 (13:11 +0000)]
o names.[hc]
Joe Thornber [Mon, 21 Jan 2002 12:05:39 +0000 (12:05 +0000)]
o lvdisplay now gives a segment map for the -m option.
Joe Thornber [Mon, 21 Jan 2002 11:29:06 +0000 (11:29 +0000)]
o removed display_uuid
o use id_write_format from lib/uuid/uuid.h instead
Joe Thornber [Mon, 21 Jan 2002 11:06:32 +0000 (11:06 +0000)]
o move the path building functions to lib/activate/names.c
o Update activate.c and fs.c to use them
o device names are now of the form <vg>:<lv>
Alasdair Kergon [Fri, 18 Jan 2002 21:26:37 +0000 (21:26 +0000)]
Allow syslog facility to be set, or turned off, from the config file.
Alasdair Kergon [Fri, 18 Jan 2002 19:38:19 +0000 (19:38 +0000)]
Display something in the "hypothetical" unknown log level case.
Alasdair Kergon [Fri, 18 Jan 2002 19:37:26 +0000 (19:37 +0000)]
Use same log levels as LVM2.
Alasdair Kergon [Fri, 18 Jan 2002 16:43:19 +0000 (16:43 +0000)]
Allow compilation against a device-mapper that was installed into $DESTDIR
Always check for negative (error) return code from lv_active()
Alasdair Kergon [Fri, 18 Jan 2002 13:45:12 +0000 (13:45 +0000)]
More updates.
Heinz Mauelshagen [Fri, 18 Jan 2002 11:07:26 +0000 (11:07 +0000)]
added before 2.1 item
Alasdair Kergon [Thu, 17 Jan 2002 18:48:08 +0000 (18:48 +0000)]
beta1-pre1 tagged, but there's still some documentation to update/write.
Alasdair Kergon [Thu, 17 Jan 2002 16:39:24 +0000 (16:39 +0000)]
Support --version argument and 'version' shell command.
Alasdair Kergon [Thu, 17 Jan 2002 14:13:25 +0000 (14:13 +0000)]
Add function that returns the library version.
Alasdair Kergon [Thu, 17 Jan 2002 13:37:09 +0000 (13:37 +0000)]
Add another level of symlink to library name (like LVM1) so people who find
themselves running multiple incompatible kernel versions will just need
to swap symlinks at boot.
Alasdair Kergon [Thu, 17 Jan 2002 13:19:55 +0000 (13:19 +0000)]
Use additional version numbers.
Kernel driver has a version number (stored in kernel/VERSION).
The first two components of this (0.94) give the version number of the
ioctl interface. This number must be changed whenever a change is
made to the ioctl interface that breaks backwards compatibility.
The library has a version number (stored in VERSION) which is
used for linking.
The first and/or second component of this must be changed whenever
a change is made to the library API that breaks backwards
compatibility.
Alasdair Kergon [Wed, 16 Jan 2002 18:10:08 +0000 (18:10 +0000)]
o pvcreate --uuid to specify the uuid (required before using vgcfgrestore
onto a new device). uuid specified must not already exist on the system.
o More message tidying.
o When checking for label, only read PV metadata.
o Add ataraid. [Needs moving into config/defaults files.]
Joe Thornber [Wed, 16 Jan 2002 15:53:42 +0000 (15:53 +0000)]
o save before committing
Joe Thornber [Wed, 16 Jan 2002 15:52:53 +0000 (15:52 +0000)]
o lvm.conf file that contains the same settings that would be assumed if it
wasn't there. A good starting point for tweaking.
Alasdair Kergon [Wed, 16 Jan 2002 15:20:51 +0000 (15:20 +0000)]
Move test flag from log to global section of config file.
Alasdair Kergon [Wed, 16 Jan 2002 14:43:27 +0000 (14:43 +0000)]
o Don't update vgcache when (not really) writing in test mode.
o Don't continue iterating through a possibly-deleted list.
Alasdair Kergon [Wed, 16 Jan 2002 13:09:26 +0000 (13:09 +0000)]
Remove a duplicate disk read (can_handle).
Patrick Caulfield [Wed, 16 Jan 2002 12:02:06 +0000 (12:02 +0000)]
#include <string.h>
Joe Thornber [Wed, 16 Jan 2002 11:34:29 +0000 (11:34 +0000)]
o Set the segment counter back to 1, for a new LV.
Joe Thornber [Wed, 16 Jan 2002 11:27:19 +0000 (11:27 +0000)]
o Add pvmove to the stub file.
Joe Thornber [Wed, 16 Jan 2002 09:23:28 +0000 (09:23 +0000)]
o Knock out the "'%s' is not a block device" debug message.
Alasdair Kergon [Wed, 16 Jan 2002 00:01:36 +0000 (00:01 +0000)]
Reduce 'no label found' message severity to debug level.
Alasdair Kergon [Tue, 15 Jan 2002 23:47:56 +0000 (23:47 +0000)]
Fix function typecasts.
Alasdair Kergon [Tue, 15 Jan 2002 23:34:13 +0000 (23:34 +0000)]
o More comprehensive config parameter debugging messages.
o Make /proc configurable.
o Review hard-coded "/dev"s - made 2 more of them configurable.
Alasdair Kergon [Tue, 15 Jan 2002 21:28:04 +0000 (21:28 +0000)]
o missing labeller free
o updated vgcfgrestore args
o change _check_for_open_devices only to check devices present in the hash
table instead of using dev_iter which triggers a full scan even when only
displaying command line help
Joe Thornber [Tue, 15 Jan 2002 18:17:57 +0000 (18:17 +0000)]
o Actually check in vgcfgrestore.
Joe Thornber [Tue, 15 Jan 2002 17:37:23 +0000 (17:37 +0000)]
o vgcfgrestore works ! (with the couple of examples I tried).
Alasdair Kergon [Tue, 15 Jan 2002 15:21:57 +0000 (15:21 +0000)]
Another ioctl interface update:
Supply offset to start of variable data area (so struct size can change
without breaking backward compatibility)
Add command that just returns the driver version
Joe Thornber [Tue, 15 Jan 2002 10:24:48 +0000 (10:24 +0000)]
o split the uuid -> device map out from vgcache
o roll vgcache back to agk's implementation, we'll revisit this as part
of the cluster integration.
o change the extra_info field in a label to be a void *
Alasdair Kergon [Mon, 14 Jan 2002 23:07:32 +0000 (23:07 +0000)]
Some ioctl interface changes. (Do we want these?)
- use status bits (so we can add flags without changing the struct size)
- use dev_t
Joe Thornber [Mon, 14 Jan 2002 11:43:52 +0000 (11:43 +0000)]
o Non-caching implementation of new vgcache interface.
Joe Thornber [Mon, 14 Jan 2002 10:00:56 +0000 (10:00 +0000)]
o LVM1 labeller.
Joe Thornber [Mon, 14 Jan 2002 09:59:12 +0000 (09:59 +0000)]
o Reformat comment and correct typo.
Alasdair Kergon [Fri, 11 Jan 2002 12:12:46 +0000 (12:12 +0000)]
o Add rename support to dmsetup.
o Add support to use specified minor number to library and dmsetup.
Patrick Caulfield [Fri, 11 Jan 2002 11:34:53 +0000 (11:34 +0000)]
Couple of typos fixed.
Joe Thornber [Fri, 11 Jan 2002 11:09:12 +0000 (11:09 +0000)]
o Put in the pv_hash which stores the pv section name -> pv struct mapping.
Joe Thornber [Fri, 11 Jan 2002 10:43:32 +0000 (10:43 +0000)]
o label.c now compiles.
Patrick Caulfield [Fri, 11 Jan 2002 10:39:56 +0000 (10:39 +0000)]
Change lvm2_label to use Joe's new label switch system.
Alasdair Kergon [Thu, 10 Jan 2002 23:29:16 +0000 (23:29 +0000)]
Support the renaming of active mapped devices (ioctl interface only).
Alasdair Kergon [Thu, 10 Jan 2002 23:21:07 +0000 (23:21 +0000)]
o ACTIVE is no longer a status flag - lv_active() used to check if an LV
is active in the device-mapper.
o Many operations can be carried out regardless of whether the VG is
active or not.
o vgscan does not activate anything - use vgchange.
o Change lvrename to support renaming of active LVs.
o Remove '//' appearing in some pathnames.
o Dummy lv_check_segments() for compilation.
Joe Thornber [Thu, 10 Jan 2002 18:12:26 +0000 (18:12 +0000)]
o _read_id function for import.c
Alasdair Kergon [Thu, 10 Jan 2002 16:48:28 +0000 (16:48 +0000)]
More steps towards successful compilation.
Alasdair Kergon [Thu, 10 Jan 2002 16:47:58 +0000 (16:47 +0000)]
Add 'get' functions.
Alasdair Kergon [Thu, 10 Jan 2002 16:47:25 +0000 (16:47 +0000)]
More detail in error msgs.
This page took 0.067859 seconds and 5 git commands to generate.