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
Dave Wysochanski
4b5fad4e48
Remove casts in pv_create and find_pv_in_vg_by_uuid
2007-06-13 21:14:07 +00:00
Dave Wysochanski
7a13e71c80
Convert pv_handle_t to pv_t * and tidy up whitespace
2007-06-13 20:55:56 +00:00
Dave Wysochanski
3c10943900
Add typedef pv_handle_t
2007-06-13 19:52:48 +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
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