Alasdair Kergon
5571ff35d8
pre-release
2007-07-13 16:07:30 +00:00
Dave Wysochanski
2a4819f3c8
Change pv_read_path to pv_by_path
2007-07-12 15:38:53 +00:00
Dave Wysochanski
7121866b13
Turn _add_pv_to_vg() into external library function add_pv_to_vg()
2007-07-12 05:04:42 +00:00
Dave Wysochanski
d6e05ad9e2
Refactor vg_extend error path.
2007-07-12 04:12:04 +00:00
Dave Wysochanski
993e30a7de
Add pv_read_path, a proposed external LVM library function to take a device path and return a PV handle
2007-07-11 23:33:12 +00:00
Patrick Caulfield
49cae61254
Tidy bits of clvmd-openais and improve an error report.
2007-07-11 12:07:39 +00:00
Alasdair Kergon
1ea4b2ea91
Cope with find_seg_by_le() failure in check_lv_segments().
2007-07-10 18:50:03 +00:00
Alasdair Kergon
bc1d6e1f90
tidy
2007-07-10 18:20:00 +00:00
Alasdair Kergon
9ec6e68d0c
Fix pv_mda_count to cope with missing PV.
...
[vgcreate vg1 pv1 pv2; pvremove -ff pv1; pvs -P -o+pv_mda_count =>segfault]
2007-07-10 18:18:33 +00:00
Alasdair Kergon
341bdc93e2
Call dev_iter_destroy() if _process_all_devs() is interrupted by sigint.
2007-07-10 17:51:26 +00:00
Alasdair Kergon
6fb3e1aa15
Add vg_mda_count and pv_mda_count columns to reports.
2007-07-09 15:40:43 +00:00
Alasdair Kergon
f1f92eb2e2
Fix dumpconfig to use log_print instead of stdout directly.
2007-07-08 22:51:20 +00:00
Dave Wysochanski
8c2369d40f
Fix WHATS_NEW for last checkin until further patches for LVM library are ready.
2007-07-03 13:10:14 +00:00
Dave Wysochanski
a6d9fc58eb
Convert _add_pv_to_vg to usable LVM library function.
2007-07-02 21:48:30 +00:00
Milan Broz
f7cd471548
Add kernel and device-mapper targets versions report to lvmdump.
2007-07-02 20:18:38 +00:00
Dave Wysochanski
5f951faf32
Don't use index and rindex functions marked by SUSv3 as legacy - Jakub Bogusz <qboosh@pld-linux.org>
2007-07-02 11:17:21 +00:00
Milan Broz
b228dfaf2c
Fix vgsplit if splitting all PVs from VG.
2007-06-28 17:59:34 +00:00
Petr Rockai
764858fa12
Make warnings go to stderr. Change log_warn to that effect, log_print
...
continues to send messages to stdout.
2007-06-28 17:33:44 +00:00
Petr Rockai
5ee976d276
Make warnings go to stderr. Adds log_warn macro for that purpose,
...
log_print continues to print to stdout.
2007-06-28 17:27:02 +00:00
Bryn M. Reeves
8b28b6f2d3
Fix lvmdiskscan volume reporting when run in the lvm shell
2007-06-25 13:19:37 +00:00
Patrick Caulfield
fe16df2e6f
Use cpg_local_get() rather then Clm to get the local nodeid.
2007-06-25 09:02: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
972dc39d00
post-release
2007-06-15 20:49:30 +00:00
Alasdair Kergon
9daac5c178
pre-release
2007-06-15 20:46:04 +00:00
Alasdair Kergon
dd2a3f40e1
pre-release
2007-06-15 19:05:02 +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
Dave Wysochanski
4788066a5f
Update vgcfgrestore man pg
2007-06-15 16:05:57 +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
Patrick Caulfield
8da9ec3599
Remove system-lv.[ch]
2007-06-14 10:17:12 +00:00
Patrick Caulfield
01fdf84d69
Remove system LV code from clvmd. It's never been used and never should be
...
used! It's removal tidies a number of code paths inside clvmd.
2007-06-14 10:16:35 +00:00
Dave Wysochanski
cc78386e75
Update WHATS_NEW for get_pv* conversions
2007-06-13 23:57:15 +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