]>
sourceware.org Git - lvm2.git/log
Alasdair Kergon [Thu, 9 May 2002 12:03:55 +0000 (12:03 +0000)]
Remove a no-op.
AJ Lewis [Wed, 8 May 2002 17:58:52 +0000 (17:58 +0000)]
o header should only be printed once...
AJ Lewis [Wed, 8 May 2002 16:57:46 +0000 (16:57 +0000)]
o Added function find_snapshots to snapshot_manip.c that returns a list
of snapshots whose origin is the lv passed in.
o Used this new function to make lvdisplay properly display all snapshots
attached to a origin.
Joe Thornber [Wed, 8 May 2002 14:36:10 +0000 (14:36 +0000)]
i) Put back chunksize_ARG for lvcreate.
Alasdair Kergon [Wed, 8 May 2002 12:26:45 +0000 (12:26 +0000)]
Always call init_log() to initialise logging defaults.
Andres Salomon [Tue, 7 May 2002 15:28:59 +0000 (15:28 +0000)]
implement our own swabbing functions, instead of relying on the kernel's.
Alasdair Kergon [Tue, 7 May 2002 13:00:01 +0000 (13:00 +0000)]
log/{prefix,command_names} use defaults.h & reset between shell cmds
Alasdair Kergon [Tue, 7 May 2002 12:50:01 +0000 (12:50 +0000)]
Default values for some display output settings
Alasdair Kergon [Tue, 7 May 2002 12:47:11 +0000 (12:47 +0000)]
Tweaks
Andres Salomon [Tue, 7 May 2002 06:13:03 +0000 (06:13 +0000)]
updated.
Andres Salomon [Tue, 7 May 2002 05:54:14 +0000 (05:54 +0000)]
Make lvm2 compile on big endian archs; use the kernel/glibc's endian
conversion stuff, instead of implementing our own. Tested on a little
endian system (x86); I'll let the debian handle big endian testing. :)
AJ Lewis [Fri, 3 May 2002 19:28:07 +0000 (19:28 +0000)]
o Will now correctly remove expired achive files from the system when
archive_vg is called.
o Added a #define to the top of the file - not sure if this is the
appropriate place for it though
Patrick Caulfield [Fri, 3 May 2002 11:55:58 +0000 (11:55 +0000)]
Add features to get table/status & wait for next event.
Andres Salomon [Fri, 3 May 2002 04:57:49 +0000 (04:57 +0000)]
forgot to add Conflicts against lvm1 packages
Andres Salomon [Fri, 3 May 2002 04:43:46 +0000 (04:43 +0000)]
updated for 0.95.05-2.
Andres Salomon [Fri, 3 May 2002 04:43:24 +0000 (04:43 +0000)]
ditto
Andres Salomon [Fri, 3 May 2002 04:13:02 +0000 (04:13 +0000)]
dh_installinit makes a perfectly find postrm script..
Alasdair Kergon [Tue, 30 Apr 2002 17:13:43 +0000 (17:13 +0000)]
Update.
Alasdair Kergon [Tue, 30 Apr 2002 17:12:37 +0000 (17:12 +0000)]
Some partial VG support with format_text.
Alasdair Kergon [Tue, 30 Apr 2002 12:27:13 +0000 (12:27 +0000)]
get_vgs must check for text format VGs when no lvm1 format VGs present
AJ Lewis [Mon, 29 Apr 2002 21:43:14 +0000 (21:43 +0000)]
o Updated *display output for LVM1 compatibility
o There is still a bit missing
+ all are missing the {PV,VG,LV} # - that is not applicable in LVM2
+ pvdisplay doesn't show how many LVs are contained on it
+ much of the snapshot information isn't available for lvdisplay
o Look at the code for other potiential FIXMEs :)
Heinz Mauelshagen [Thu, 25 Apr 2002 10:53:58 +0000 (10:53 +0000)]
Changed DEFAULT_PV and DEFAULT_LV to 256 (has been fixed in LVM1 before)
Andres Salomon [Thu, 25 Apr 2002 06:12:07 +0000 (06:12 +0000)]
Updated for new release
Alasdair Kergon [Wed, 24 Apr 2002 18:41:02 +0000 (18:41 +0000)]
Update example config
Alasdair Kergon [Wed, 24 Apr 2002 18:20:51 +0000 (18:20 +0000)]
Merge with text format branch.
Lots of changes/very little testing so far => there'll be bugs!
Use 'vgcreate -M text' to create a volume group with its metadata stored
in text files. Text format metadata changes should be reasonably atomic,
with a (basic) automatic recovery mechanism if the system crashes while a
change is in progress.
Add a metadata section to lvm.conf to specify multiple directories if
you want (recommended) to keep multiple copies of the metadata (eg on
different filesystems).
e.g. metadata {
dirs = ["/etc/lvm/metadata1","/usr/local/lvm/metadata2"]
}
Plenty of refinements still in the pipeline.
Patrick Caulfield [Wed, 24 Apr 2002 10:42:09 +0000 (10:42 +0000)]
add setlocale() call so that localisation of things like number entry
and display will work correctly.
Joe Thornber [Wed, 24 Apr 2002 08:37:34 +0000 (08:37 +0000)]
o Stop printing errors if flushing fails (could be an unconfigured device).
Alasdair Kergon [Tue, 23 Apr 2002 22:13:04 +0000 (22:13 +0000)]
Prepare for another beta release.
Alasdair Kergon [Tue, 23 Apr 2002 21:47:50 +0000 (21:47 +0000)]
Commit snapshot-related changes preparing for the next beta release.
Alasdair Kergon [Tue, 16 Apr 2002 19:41:54 +0000 (19:41 +0000)]
Missing seg->lv gives segfault when activating from text format.
Alasdair Kergon [Tue, 16 Apr 2002 14:42:20 +0000 (14:42 +0000)]
Allow deactivation of final snapshot.
Joe Thornber [Mon, 15 Apr 2002 18:49:20 +0000 (18:49 +0000)]
o Added support for chunk_size to lvcreate.
Alasdair Kergon [Mon, 15 Apr 2002 16:27:39 +0000 (16:27 +0000)]
Missing VG lock when iterating through all LVs.
Patrick Caulfield [Mon, 15 Apr 2002 13:24:14 +0000 (13:24 +0000)]
More memory leak plugging.
Joe Thornber [Mon, 15 Apr 2002 08:41:00 +0000 (08:41 +0000)]
o Drop the default chunk size for snapshots down to 16k.
Alasdair Kergon [Thu, 11 Apr 2002 14:10:32 +0000 (14:10 +0000)]
Implement a no_locking module that *does* attempt activation.
Patrick Caulfield [Thu, 11 Apr 2002 12:45:18 +0000 (12:45 +0000)]
Rename device node during a DM_RENAME command.
Patrick Caulfield [Thu, 11 Apr 2002 09:14:04 +0000 (09:14 +0000)]
Return status from _lv_activate and friends.
Alasdair, I think this is right (and I need it) but you may like to check.
Patrick Caulfield [Wed, 10 Apr 2002 15:49:47 +0000 (15:49 +0000)]
Remove \n from log messages.
Joe Thornber [Mon, 8 Apr 2002 18:59:50 +0000 (18:59 +0000)]
o Perform a BLKFLSBUF ioctl whenever a block device is closed.
Patrick, can you see if this fixes your cluster syncing problem please ?
If so I'll make it so it only syncs if you have actually written to the
device.
Patrick Caulfield [Mon, 8 Apr 2002 16:04:50 +0000 (16:04 +0000)]
Implement an external locking interface.
Patrick Caulfield [Mon, 8 Apr 2002 13:35:09 +0000 (13:35 +0000)]
Fix prototype.
Alasdair Kergon [Fri, 5 Apr 2002 14:32:22 +0000 (14:32 +0000)]
Fix lv_setup() not to generate a new lvid each time if asked to setup the
same LV more than once - subsequent times validate only.
Patrick Caulfield [Thu, 4 Apr 2002 13:31:21 +0000 (13:31 +0000)]
Make lock type numbers match the DLM numbers in use, and move UNLOCK out
of the way.
Alasdair Kergon [Thu, 4 Apr 2002 11:18:45 +0000 (11:18 +0000)]
Rename LCK_NONE to LCK_UNLOCK
Alasdair Kergon [Wed, 3 Apr 2002 12:17:55 +0000 (12:17 +0000)]
Tidying.
Alasdair Kergon [Wed, 27 Mar 2002 18:17:43 +0000 (18:17 +0000)]
Cope with creation of additional snapshots while active.
(More work on suspension dependencies still needed.)
Alasdair Kergon [Tue, 26 Mar 2002 15:01:57 +0000 (15:01 +0000)]
Snapshots are now attached to their origin device for locking purposes
so lock the origin instead of the snapshot itself when creating one.
Alasdair Kergon [Tue, 26 Mar 2002 13:41:37 +0000 (13:41 +0000)]
New-style persistent minor support.
Alasdair Kergon [Mon, 25 Mar 2002 18:54:59 +0000 (18:54 +0000)]
o read-only device support
o name/uuid disambiguation
Alasdair Kergon [Mon, 25 Mar 2002 18:50:37 +0000 (18:50 +0000)]
Fix typo.
Andres Salomon [Sat, 23 Mar 2002 08:23:15 +0000 (08:23 +0000)]
all people to actually uninstall lvm2 (*grin*)
Alasdair Kergon [Wed, 20 Mar 2002 14:34:15 +0000 (14:34 +0000)]
Improve log messages.
Alasdair Kergon [Tue, 19 Mar 2002 16:41:44 +0000 (16:41 +0000)]
Better support for LVs with hyphens in names.
Alasdair Kergon [Mon, 18 Mar 2002 23:39:42 +0000 (23:39 +0000)]
Support device queries by uuid as well as by name. (Used by lvrename.)
Alasdair Kergon [Mon, 18 Mar 2002 23:25:50 +0000 (23:25 +0000)]
lvrename works on snapshots now
Alasdair Kergon [Mon, 18 Mar 2002 13:09:27 +0000 (13:09 +0000)]
Tie all snapshot (de)activation requests to (de)activation of origin device.
Alasdair Kergon [Fri, 15 Mar 2002 23:01:59 +0000 (23:01 +0000)]
s/Removing/Unloading/ in messages to reduce confusion
Alasdair Kergon [Fri, 15 Mar 2002 22:59:12 +0000 (22:59 +0000)]
Cut the number of device-mapper calls.
Alasdair Kergon [Fri, 15 Mar 2002 22:54:04 +0000 (22:54 +0000)]
New function to enable suppression of messages to stdout/stderr.
Alasdair Kergon [Fri, 15 Mar 2002 16:07:38 +0000 (16:07 +0000)]
Review locking: block signals instead of ignoring them and restore state
afterwards; avoid race condition with unlink; add LCK_HOLD to process_each_vg.
Alasdair Kergon [Thu, 14 Mar 2002 21:17:30 +0000 (21:17 +0000)]
Reduce the number of dm info calls.
Alasdair Kergon [Thu, 14 Mar 2002 16:56:02 +0000 (16:56 +0000)]
distclean also to remove libdm-common.h
Alasdair Kergon [Thu, 14 Mar 2002 15:36:07 +0000 (15:36 +0000)]
Integrate suspend.
Alasdair Kergon [Thu, 14 Mar 2002 13:39:33 +0000 (13:39 +0000)]
Suppress verbose/debug messages from libdevmapper.
Joe Thornber [Thu, 14 Mar 2002 10:56:09 +0000 (10:56 +0000)]
o dev_manager_suspend, untested.
Alasdair Kergon [Wed, 13 Mar 2002 23:19:20 +0000 (23:19 +0000)]
A missing free() found by Valgrind. ( http://developer.kde.org/~sewardj/ )
Alasdair Kergon [Wed, 13 Mar 2002 16:19:17 +0000 (16:19 +0000)]
dmsetup display uuid
Alasdair Kergon [Wed, 13 Mar 2002 15:11:29 +0000 (15:11 +0000)]
Set LV uuid.
Joe Thornber [Wed, 13 Mar 2002 14:25:53 +0000 (14:25 +0000)]
o Mention that vgscan needs to be run after changing the filter var.
Patrick Caulfield [Tue, 12 Mar 2002 15:27:51 +0000 (15:27 +0000)]
Fix _align so it works on 64-bit machines.
Alasdair Kergon [Mon, 11 Mar 2002 22:44:36 +0000 (22:44 +0000)]
Let dmsetup store the uuid on device creation.
Alasdair Kergon [Mon, 11 Mar 2002 22:23:24 +0000 (22:23 +0000)]
Move is_empty_dir to lvm-file
Joe Thornber [Mon, 11 Mar 2002 20:43:58 +0000 (20:43 +0000)]
o Actually check that the vg directory is empty rather than speculatively
rmdiring it. Work around for devfs bug.
Joe Thornber [Mon, 11 Mar 2002 20:36:04 +0000 (20:36 +0000)]
o This should complete the dev_manager alg. Please could people now
report any activation oddities they see.
Alasdair Kergon [Mon, 11 Mar 2002 19:02:28 +0000 (19:02 +0000)]
lv_info replaces lv_active etc.
Alasdair Kergon [Mon, 11 Mar 2002 15:08:39 +0000 (15:08 +0000)]
o activate/reactivate merge
o unlocking macro
Joe Thornber [Mon, 11 Mar 2002 11:27:48 +0000 (11:27 +0000)]
o dm->active_list now filled in, ATM this is based on the layer name rather
than the uuid.
Joe Thornber [Mon, 11 Mar 2002 10:38:16 +0000 (10:38 +0000)]
o Comment out some new code that was preventing pjc activating
snapshots. This will go back in when the active_list is working.
Joe Thornber [Fri, 8 Mar 2002 10:45:01 +0000 (10:45 +0000)]
o knock out the offset for origin targets.
Joe Thornber [Fri, 8 Mar 2002 10:41:48 +0000 (10:41 +0000)]
o Add active_list to dev_manager
o Origin layer is only added to snapshots if a snapshot is in the
active_list.
Andres Salomon [Fri, 8 Mar 2002 02:39:08 +0000 (02:39 +0000)]
heh, whoops. s/device-mapper/LVM2/g.
Alasdair Kergon [Thu, 7 Mar 2002 20:56:10 +0000 (20:56 +0000)]
o dm_destroy_all() called on exit - but doesn't touch suspended devices yet.
o 'dmsetup remove_all' calls dm_destroy_all() to provide a quick way to
prepare for unloading the module
o Ran through indent again.
Joe Thornber [Thu, 7 Mar 2002 17:37:38 +0000 (17:37 +0000)]
o First cut at dev scanning.
o Split up _expand_lv
Joe Thornber [Thu, 7 Mar 2002 16:48:46 +0000 (16:48 +0000)]
o Add comment describing what we're aiming for with dev_manager.
o Remove dev_manager_reactivate, since it'll be the same as activate.
o Merge the mark, visible and dirty fields into the same flags field.
Joe Thornber [Thu, 7 Mar 2002 15:29:31 +0000 (15:29 +0000)]
o Top level device is now just called <vg>-<lv> (there's no 'top'
layer appended).
o Got rid of the unused layer->type field and enum.
Alasdair Kergon [Wed, 6 Mar 2002 19:42:23 +0000 (19:42 +0000)]
Kernel functionality that returns device dependencies (ejt).
Joe Thornber [Wed, 6 Mar 2002 14:47:13 +0000 (14:47 +0000)]
o Rename dmsetup dependencies -> dmsetup deps
Joe Thornber [Wed, 6 Mar 2002 14:38:25 +0000 (14:38 +0000)]
o Add support for getting dependencies for a device.
o dmsetup dependencies <dev>
Andres Salomon [Wed, 6 Mar 2002 05:43:54 +0000 (05:43 +0000)]
convert from debian native package
Alasdair Kergon [Tue, 5 Mar 2002 20:03:09 +0000 (20:03 +0000)]
o Use new LCK_HOLD flag to indicate whether lock should be held on return
from lock_vol() - otherwise it now attempts to acquire the lock and then
immediately releases it.
o Extend the id field in struct logical_volume to hold VG uuid + LV uuid
for format1. This unique lvid can be used directly when calling lock_vol().
o Add the VG uuid to vgcache to make VG uuid lookups possible. (Another
step towards using them instead of VG names internally.)
Alasdair Kergon [Mon, 4 Mar 2002 18:50:34 +0000 (18:50 +0000)]
Fix activation for VG with more than one LV.
Alasdair Kergon [Mon, 4 Mar 2002 15:25:52 +0000 (15:25 +0000)]
snapshot/zero logic
Joe Thornber [Mon, 4 Mar 2002 15:12:30 +0000 (15:12 +0000)]
o Add a line to lvdisplay to say if the volume is a snapshot.
Joe Thornber [Mon, 4 Mar 2002 15:10:30 +0000 (15:10 +0000)]
o Bad dependency, meant the origin was always getting activated.
Alasdair Kergon [Mon, 4 Mar 2002 14:27:25 +0000 (14:27 +0000)]
Remove unused fns.
Joe Thornber [Mon, 4 Mar 2002 14:26:43 +0000 (14:26 +0000)]
o I was tearing down device bottom-up instead of top down. Which
is why lvremove of snapshots wasn't working.
Joe Thornber [Mon, 4 Mar 2002 13:46:37 +0000 (13:46 +0000)]
o Break creating a snapshot down into:
i) create cow
ii) activate cow
iii) zero cow
iv) deactivate
v) add snapshot info
vi) reactivate
Andres Salomon [Mon, 4 Mar 2002 11:13:47 +0000 (11:13 +0000)]
proper /etc/lvm/lvm.conf now
Andres Salomon [Mon, 4 Mar 2002 11:12:57 +0000 (11:12 +0000)]
fix various issues
This page took 0.065055 seconds and 5 git commands to generate.