Heinz Mauelshagen
8877446463
Changed DEFAULT_PV and DEFAULT_LV to 256 (has been fixed in LVM1 before)
2002-04-25 10:53:58 +00:00
Andres Salomon
c5516a256a
Updated for new release
2002-04-25 06:12:07 +00:00
Alasdair Kergon
1524c1a471
Update example config
2002-04-24 18:41:02 +00:00
Alasdair Kergon
25b733809a
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.
2002-04-24 18:20:51 +00:00
Patrick Caulfield
f06bdc437d
add setlocale() call so that localisation of things like number entry
...
and display will work correctly.
2002-04-24 10:42:09 +00:00
Joe Thornber
e3528bcda7
o Stop printing errors if flushing fails (could be an unconfigured device).
2002-04-24 08:37:34 +00:00
Alasdair Kergon
e82f37cbbf
Prepare for another beta release.
2002-04-23 22:13:04 +00:00
Alasdair Kergon
671b6aa602
Commit snapshot-related changes preparing for the next beta release.
2002-04-23 21:47:50 +00:00
Alasdair Kergon
de3bec7f81
Missing seg->lv gives segfault when activating from text format.
2002-04-16 19:41:54 +00:00
Alasdair Kergon
69e8a53ee4
Allow deactivation of final snapshot.
2002-04-16 14:42:20 +00:00
Joe Thornber
0e06dd31fd
o Added support for chunk_size to lvcreate.
2002-04-15 18:49:20 +00:00
Alasdair Kergon
d6a766f138
Missing VG lock when iterating through all LVs.
2002-04-15 16:27:39 +00:00
Patrick Caulfield
70d7918634
More memory leak plugging.
2002-04-15 13:24:14 +00:00
Joe Thornber
6fa3c2d5ce
o Drop the default chunk size for snapshots down to 16k.
2002-04-15 08:41:00 +00:00
Alasdair Kergon
7e3d403b88
Implement a no_locking module that *does* attempt activation.
2002-04-11 14:10:32 +00:00
Patrick Caulfield
63def4e716
Rename device node during a DM_RENAME command.
2002-04-11 12:45:18 +00:00
Patrick Caulfield
584404f8f4
Return status from _lv_activate and friends.
...
Alasdair, I think this is right (and I need it) but you may like to check.
2002-04-11 09:14:04 +00:00
Patrick Caulfield
426bc429ef
Remove \n from log messages.
2002-04-10 15:49:47 +00:00
Joe Thornber
f31c47ade8
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.
2002-04-08 18:59:50 +00:00
Patrick Caulfield
2fab033e9b
Implement an external locking interface.
2002-04-08 16:04:50 +00:00
Patrick Caulfield
c34d34e6a0
Fix prototype.
2002-04-08 13:35:09 +00:00
Alasdair Kergon
ab053ad6c1
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.
2002-04-05 14:32:22 +00:00
Patrick Caulfield
ae70673752
Make lock type numbers match the DLM numbers in use, and move UNLOCK out
...
of the way.
2002-04-04 13:31:21 +00:00
Alasdair Kergon
8856889d10
Rename LCK_NONE to LCK_UNLOCK
2002-04-04 11:18:45 +00:00
Alasdair Kergon
607bcd61d0
Tidying.
2002-04-03 12:17:55 +00:00
Alasdair Kergon
7bb6856a7e
Cope with creation of additional snapshots while active.
...
(More work on suspension dependencies still needed.)
2002-03-27 18:17:43 +00:00
Alasdair Kergon
8573c6bcac
Snapshots are now attached to their origin device for locking purposes
...
so lock the origin instead of the snapshot itself when creating one.
2002-03-26 15:01:57 +00:00
Alasdair Kergon
4bb3eccf2b
New-style persistent minor support.
2002-03-26 13:41:37 +00:00
Alasdair Kergon
e04c519896
o read-only device support
...
o name/uuid disambiguation
2002-03-25 18:54:59 +00:00
Alasdair Kergon
c1b5fc6673
Fix typo.
2002-03-25 18:50:37 +00:00
Andres Salomon
79bb0a97a2
all people to actually uninstall lvm2 (*grin*)
2002-03-23 08:23:15 +00:00
Alasdair Kergon
158510ad42
Improve log messages.
2002-03-20 14:34:15 +00:00
Alasdair Kergon
9585e50fef
Better support for LVs with hyphens in names.
2002-03-19 16:41:44 +00:00
Alasdair Kergon
902098d615
Support device queries by uuid as well as by name. (Used by lvrename.)
2002-03-18 23:39:42 +00:00
Alasdair Kergon
2ed2a72439
lvrename works on snapshots now
2002-03-18 23:25:50 +00:00
Alasdair Kergon
a76ba817a8
Tie all snapshot (de)activation requests to (de)activation of origin device.
2002-03-18 13:09:27 +00:00
Alasdair Kergon
20ce742691
s/Removing/Unloading/ in messages to reduce confusion
2002-03-15 23:01:59 +00:00
Alasdair Kergon
a69de4919b
Cut the number of device-mapper calls.
2002-03-15 22:59:12 +00:00
Alasdair Kergon
a6bf4bcfa2
New function to enable suppression of messages to stdout/stderr.
2002-03-15 22:54:04 +00:00
Alasdair Kergon
568d7229bf
Review locking: block signals instead of ignoring them and restore state
...
afterwards; avoid race condition with unlink; add LCK_HOLD to process_each_vg.
2002-03-15 16:07:38 +00:00
Alasdair Kergon
14a9cda63b
Reduce the number of dm info calls.
2002-03-14 21:17:30 +00:00
Alasdair Kergon
4cc8088251
distclean also to remove libdm-common.h
2002-03-14 16:56:02 +00:00
Alasdair Kergon
20c5fcf764
Integrate suspend.
2002-03-14 15:36:07 +00:00
Alasdair Kergon
c22c93f0b6
Suppress verbose/debug messages from libdevmapper.
2002-03-14 13:39:33 +00:00
Joe Thornber
d8e7d77316
o dev_manager_suspend, untested.
2002-03-14 10:56:09 +00:00
Alasdair Kergon
6eb746e187
A missing free() found by Valgrind. ( http://developer.kde.org/~sewardj/ )
2002-03-13 23:19:20 +00:00
Alasdair Kergon
b2de0b7d44
dmsetup display uuid
2002-03-13 16:19:17 +00:00
Alasdair Kergon
dd420615d5
Set LV uuid.
2002-03-13 15:11:29 +00:00
Joe Thornber
1703d66a82
o Mention that vgscan needs to be run after changing the filter var.
2002-03-13 14:25:53 +00:00
Patrick Caulfield
7c8bd3fcd0
Fix _align so it works on 64-bit machines.
2002-03-12 15:27:51 +00:00