Bryn M. Reeves
8b28b6f2d3
Fix lvmdiskscan volume reporting when run in the lvm shell
2007-06-25 13:19:37 +00:00
Alasdair Kergon
779047f8c9
revert accidental change
2007-06-19 16:50:38 +00:00
Alasdair Kergon
094e9fb45d
Fix dmsetup -o devno string termination. (1.02.20)
2007-06-19 15:47:20 +00:00
Milan Broz
1458bd0e74
Fix missing lvm_shell symbol in lvm2cmd library. (2.02.23)
2007-06-19 10:51:51 +00:00
Dave Wysochanski
d2cb05988d
Convert vg->status checks to use vg_check_status function.\nRename status_flags to status in vg_check_status.
2007-06-19 04:36:12 +00:00
Dave Wysochanski
6e056767b4
Add vg_status function and clean up vg->status in tools directory
2007-06-19 04:23:32 +00:00
Dave Wysochanski
a10afb1b98
Make vg_extend() format_instance * parameter internal to vg_extend()
2007-06-19 00:33:43 +00:00
Alasdair Kergon
bb6d3b6cfd
Add --ignoremonitoring to disable all dmeventd interaction.
2007-06-18 14:14:33 +00:00
Dave Wysochanski
c75d4af4bc
Remove get_ prefix from get_pv_* functions
2007-06-15 22:16:55 +00:00
Alasdair Kergon
78f76c1690
Fix default dmsetup report buffering and add --unbuffered.
...
Add tree-based and dependency fields to dmsetup reports.
2007-06-15 18:20:28 +00:00
Petr Rockai
10e4254e7d
Allow keyboard interrupts in yes_no_prompt(). Add code to toollib.c
...
loops and to pvcreate.c, lvchange.c and lvresize.c to handle
interrupted prompts.
2007-06-15 10:11:14 +00:00
Dave Wysochanski
0106e4df9d
Fix inverted logic on last checkin for pvremove
2007-06-14 15:51:36 +00:00
Dave Wysochanski
8ac718a3a2
convert pv->vg_name[0] to \!is_orphan(pv)
2007-06-14 15:48:05 +00:00
Dave Wysochanski
46d45273a1
Convert pv->vg_name to get_pv_vg_name
2007-06-14 15:25:36 +00:00
Dave Wysochanski
3755157c61
Convert pv->vg_name to get_pv_vg_name
2007-06-13 23:53:38 +00:00
Dave Wysochanski
80f8436f0a
Convert pv->status to get_pv_status
2007-06-13 23:33:45 +00:00
Dave Wysochanski
f88a4b7760
Convert pv->dev to get_pv_dev
2007-06-13 23:29:33 +00:00
Dave Wysochanski
de229b8ab0
Convert pv->size to get_pv_size
2007-06-13 23:02:51 +00:00
Dave Wysochanski
a3ba37e45e
Convert existing_pv dereferences to get_pv_*
2007-06-13 22:58:32 +00:00
Dave Wysochanski
50c779b3c6
Convert pv->pe_size to get_pv_pe_size
2007-06-13 22:30:26 +00:00
Dave Wysochanski
192372e1c3
Convert pv->pe_start to get_pv_pe_start
2007-06-13 22:16:27 +00:00
Dave Wysochanski
f88fd88c38
Convert pv->pe_count to get_pv_pe_count
2007-06-13 22:11:29 +00:00
Dave Wysochanski
6e15145af1
Convert pv->pe_alloc_count to get_pv_pe_alloc_count
2007-06-13 22:04:45 +00:00
Dave Wysochanski
696b8811c2
Fix a couple benign warnings by adding variable initializations.
2007-06-13 15:11:19 +00:00
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
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
f1813b1cc6
Fix redundant segment display when PV is given to 'pvdisplay --maps' cmdline.
2007-05-31 20:10:25 +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
Milan Broz
e0592c58b3
Fix and clarify vgsplit error messages.
2007-05-15 13:01:41 +00:00
Alasdair Kergon
d3f157f08a
configure.h isn't a system header
2007-04-27 18:01:45 +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
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
1c2360b335
Update pvck to read labels on disk, with flexible --labelsector
...
parameter.
--
2007-04-25 20:03:16 +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
Dave Wysochanski
cd96852696
Add stub for pvck, a command to check physical volume consistency.
2007-03-30 21:00:26 +00:00
Milan Broz
fa9407089c
Fix creation and conversion of mirrors with tags.
2007-03-26 16:10:10 +00:00
Milan Broz
66f28e193a
Fix vgsplit for lvm1 format (set and validate VG name in PVs metadata).
...
Split metadata areas in vgsplit properly.
2007-03-23 12:43:17 +00:00
Milan Broz
12c53622a0
Fix vgremove to require at least one vg argument.
2007-03-15 14:00:30 +00:00
Alasdair Kergon
6ebdad3102
Add a few missing pieces of vgname command line validation.
2007-03-09 21:25:33 +00:00
Alasdair Kergon
9a8f21aa03
Support the /dev/mapper prefix on most command lines.
2007-03-09 20:47:41 +00:00
Alasdair Kergon
0b55d7d0d8
Fix vgrename active LV check to ignore differing vgids.
2007-03-08 21:08:25 +00:00
Alasdair Kergon
781f4971c6
Exclude readline support from lvm.static
2007-02-14 16:51:48 +00:00
Alasdair Kergon
d02ac7b99a
Fix a leak in a reporting error path.
2007-02-14 15:18:31 +00:00
Alasdair Kergon
b1b6c97f7c
Fix a few leaks in reporting error paths.
2007-02-14 15:12:16 +00:00
Alasdair Kergon
d5250f4901
Fix some &->&& vgreduce cmdline validation. [Andre Noll]
2007-01-31 16:26:23 +00:00
Alasdair Kergon
0fd6ce546f
Fix vgsplit to handle mirrors.
...
Reorder fields in reporting field definitions.
2007-01-29 23:01:18 +00:00