Dave Wysochanski
9fd2c8602a
Convert find_pv_in_vg_by_uuid and pv_create to use PV handles
2007-06-12 22:41:27 +00:00
Dave Wysochanski
a3636a5af4
Change PV_HANDLE_DEREF to pv_field and add paren's
2007-06-12 21:39:49 +00:00
Dave Wysochanski
f2e5f07718
Add get_pv_* functions to return PV fields in prep for external LVM library
2007-06-12 21:20:20 +00:00
Dave Wysochanski
16c6fdde60
Add wrappers to functions related to pv commands in preparation for exported LVM lib
2007-06-11 18:29:30 +00:00
Alasdair Kergon
2155c93426
Add capability for tree-based fields to dmsetup reports.
2007-06-11 13:20:29 +00:00
Bryn M. Reeves
c394631e4c
Allow vgcfgrestore to list metadata backup files using -f
2007-06-08 22:38:48 +00:00
Dave Wysochanski
8b370b7cc1
Add vg_check_status to consolidate vg status flags checks and error messages.
2007-06-06 19:40:28 +00:00
Dave Wysochanski
607db9971c
make code consistent with pvresize code - good candidate for common code cleanup
2007-06-05 18:23:17 +00:00
Dave Wysochanski
6768f64e2f
Fix pvdisplay --maps to not display segment header for orphan PVs.
2007-05-31 20:26:11 +00:00
Dave Wysochanski
f1813b1cc6
Fix redundant segment display when PV is given to 'pvdisplay --maps' cmdline.
2007-05-31 20:10:25 +00:00
Dave Wysochanski
fb665bd0dd
Remove 'Type' from pvdisplay --maps as there is no 'Type' of a physical segment, only logical segments
2007-05-31 15:18:44 +00:00
Dave Wysochanski
65dda2ef3d
Small fixes to pvdisplay --maps: 1) rename struct pv_segment vars from 'seg' to 'pvseg', 2) Change heading
2007-05-31 14:19:57 +00:00
Dave Wysochanski
b162b992af
Add --maps to pvdisplay.
...
Modified original patch from David Robinson <zxvdr.au@gmail.com>.
2007-05-30 20:43:09 +00:00
Dave Wysochanski
67a3a3d130
Fix vgcfgrestore man pg to show mandatory VG name and remove LVM1 options.
2007-05-22 02:52:57 +00:00
Dave Wysochanski
92cd9bf7d2
Fix vgrename man page to include UUID and be more consistent with lvrename.
2007-05-22 02:51:33 +00:00
Patrick Caulfield
bf97034485
Add *Experimental* OpenAIS support to clvmd.
2007-05-21 10:52:01 +00:00
Milan Broz
1ded1fc509
Remove symlinks if parent volume is deactivated.
2007-05-15 14:42:01 +00:00
Milan Broz
e0592c58b3
Fix and clarify vgsplit error messages.
2007-05-15 13:01:41 +00:00
Milan Broz
5ead2706b4
Fix a segfault if a device has no target (no table)
2007-05-14 11:27:34 +00:00
Patrick Caulfield
52ada4853c
Misc clvmd cleanups from Jim Meyering
2007-05-02 12:22:40 +00:00
Patrick Caulfield
c2b27a8298
Add some more debuglogs to clvmd startup.
2007-05-02 08:23:36 +00:00
Alasdair Kergon
3934c1d437
post-release
2007-04-27 20:58:45 +00:00
Alasdair Kergon
e366b68ad3
pre-release
2007-04-27 20:47:14 +00:00
Alasdair Kergon
fb94fb980a
Fix get_config_uint64() to read a 64-bit value not a 32-bit one.
2007-04-27 20:41:50 +00:00
Alasdair Kergon
b10cc18f53
Add -Wformat-security and change one fprintf() to fputs().
2007-04-27 19:26:57 +00:00
Alasdair Kergon
a249de3b72
Standardise protective include file #defines.
2007-04-27 19:07:43 +00:00
Alasdair Kergon
d04e972d65
Move regex functions into libdevmapper.
2007-04-27 18:52:05 +00:00
Alasdair Kergon
b9f5a18a76
Add regex functions to library.
2007-04-27 18:40:23 +00:00
Alasdair Kergon
d3f157f08a
configure.h isn't a system header
2007-04-27 18:01:45 +00:00
Alasdair Kergon
2294fdb496
Change some #include lines to search only standard system directories.
2007-04-27 17:46:16 +00:00
Alasdair Kergon
d7ba0e01a5
Avoid trailing separator in reports when there are hidden sort fields.
2007-04-27 15:22:27 +00:00
Alasdair Kergon
b6172b53fd
Fix segfault in 'dmsetup status' without --showkeys against crypt target. [nec]
2007-04-27 15:12:26 +00:00
Alasdair Kergon
477ec611d5
Deal with some more compiler warnings. Hope this doesn't break anything...
2007-04-27 14:52:41 +00:00
Alasdair Kergon
b6194edd67
add preferred_names to man page.
2007-04-26 17:14:57 +00:00
Alasdair Kergon
dcdbbb3ecb
Add devices/preferred_names config regex list for displayed device names.
...
Free a temporary dir string in fcntl_lock_file() after use.
Fix a dm_pool_destroy() in matcher_create().
Introduce goto_bad macro.
2007-04-26 16:44:59 +00:00
Dave Wysochanski
7ef99ee4e6
Fix warnings on x86_64 involving ptrdiff_t:
...
config/config.c:493: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
Modified original patch from Jim Meyering <jim@meyering.net>
2007-04-26 16:40:46 +00:00
Dave Wysochanski
1ac1418286
Update pvck to include text metadata area and record detection.
...
--
2007-04-25 21:10:55 +00:00
Dave Wysochanski
8fc854f38e
Add support functions for analysis of config sections,
...
and hence, on-disk LVM2 metadata.
--
2007-04-25 20:38:39 +00:00
Dave Wysochanski
1c2360b335
Update pvck to read labels on disk, with flexible --labelsector
...
parameter.
--
2007-04-25 20:03:16 +00:00
Dave Wysochanski
dd4477406b
Add count_chars and count_chars_len functions, two
...
generic string utility functions.
--
2007-04-25 18:24:19 +00:00
Bryn M. Reeves
9d67bbb104
Make lvm_dump.sh capture a listing of /sys/block entries.
2007-04-25 14:49:27 +00:00
Patrick Caulfield
d6c8e1df61
Fix thread race in clvmd.
2007-04-24 15:13:13 +00:00
Petr Rockai
5ec7c8fece
Fix the regression introduced by dmeventd leak fixes.
2007-04-24 13:29:02 +00:00
Dave Wysochanski
86b21eaf83
Add 'scan_sector' parameter to label_read and _find_labeller to add
...
flexibility in searching for disk labels.
2007-04-23 18:21:01 +00:00
Petr Rockai
228486a971
Fix some memory leaks in dmeventd.
2007-04-23 15:06:03 +00:00
Patrick Caulfield
88c0caab26
Make clvmd cope with quorum devices in RHEL5
...
bz#237386
2007-04-23 14:55:28 +00:00
Bryn M. Reeves
5cd4679419
re-commit lvm_dump.sh change
2007-04-19 23:06:05 +00:00
Bryn M. Reeves
eeed5e0d19
Make lvm_dump.sh list /dev recursively to aid identifying devices.
2007-04-19 22:56:16 +00:00
Alasdair Kergon
369ab1e0b2
Introduce _add_field() and _is_same_field() to libdm-report.c.
2007-04-19 20:24:00 +00:00
Milan Broz
2e21519a10
Fix libdevmapper-event memory leaks
2007-04-19 19:10:19 +00:00