Zdeněk Kabeláč
c4d4403955
Fixed bug where lvresize option -t was not properly passed to fsadm.
...
Using argv[] list in exec_cmd() to allow more params for external commands.
Fsadm does not allow checking mounted filesystem.
Fsadm no longer accepts 'any other key' as 'no' answer to y/n.
Fsadm improved handling of command line options.
2009-02-24 15:48:00 +00:00
Christine Caulfield
57a38a00d9
Add option to /etc/sysconfig/cluster to select cluster type for clvmd.
2009-02-10 11:53:33 +00:00
Zdeněk Kabeláč
7917c3fc15
Remove external dependency on the 'cut' command in fsadm
2009-02-06 14:28:06 +00:00
Zdeněk Kabeláč
0e3798cadb
add support for ext4 resize in fsadm
2009-02-04 12:47:05 +00:00
Milan Broz
6d7265d966
Fix lvmdump /sys listing to include virtual devices directory.
2009-01-06 18:02:57 +00:00
Alasdair Kergon
d40fed016f
generate init script
2008-11-19 20:14:24 +00:00
Alasdair Kergon
d80d9a4c4e
Generate clvmd init script at configuration time for Red Hat-based distros.
2008-11-19 19:33:25 +00:00
Alasdair Kergon
ba70dce803
further progress
2008-11-01 02:19:19 +00:00
Milan Broz
7f23ab94e2
Fix lvmdump metadata gather option (-m) to work correctly. (Jaroslav Stava)
2008-08-28 10:40:44 +00:00
Alasdair Kergon
8bdde01bef
pre-release (bug fixes only - enhancements excluded)
2008-04-29 15:58:25 +00:00
Zdeněk Kabeláč
09bbd5a472
fixing fsadm usage with older blockdev,blkid,readline tools
...
fixing lvresize extension code path where size was not set for fsadm
2008-04-29 15:25:28 +00:00
Zdeněk Kabeláč
d9fefa0c6c
Fix lvresize to support /dev/mapper prefix in the lvname
...
Fix unfilled paramater passed to fsadm from lvresize
Update fsadm to call lvresize if the partition size differs (with option -l)
Fix fsadm to support vg/lv name (like the rest of lv-tools)
2008-02-06 12:45:32 +00:00
Zdeněk Kabeláč
95bf59095c
added more safety checks
...
fixed error reporting commands
extended with Exa and Peta support
2008-01-08 16:45:43 +00:00
Alasdair Kergon
9afff4cf30
Major restructuring of pvmove and lvconvert layer manipulation code
2007-12-20 15:42:55 +00:00
Alasdair Kergon
947e44ae67
tweak usage text
2007-12-17 14:47:22 +00:00
Alasdair Kergon
e44843beba
replace fsadm.c with fsadm.sh
2007-12-17 12:31:50 +00:00
Alasdair Kergon
147482ea69
Build changes to replace fsadm C program with shell script.
2007-12-17 12:23:24 +00:00
Petr Rockai
15a36619fe
a) use dmsetup version to check for dmsetup, but if it fails, set
...
DMSETUP=: to disable dmsetup checks (but let the script run
nevertheless); warn the user if this is the case
b) put the non-root and dmsetup warnings both at start and end of
output
2007-10-03 15:00:51 +00:00
Petr Rockai
b764becd1b
Fix underquotations in lvm_dump.sh.
2007-10-02 16:09:46 +00:00
Petr Rockai
219370932e
Fix a bug in lvm_dump.sh checks for lvm/dmsetup binaries quote the
...
invocations a bit more (although i'm fairly sure there are still
quotes missing somewhere due to the eval in log).
2007-10-02 15:48:58 +00:00
Jim Meyering
c99204d370
Correct typo in comments: s/is part of the LVM2/is part of LVM2/.
...
Signed-off-by: Jim Meyering <jim@meyering.net>
Author: Jim Meyering <jim@meyering.net>
2007-09-21 10:16:45 +00:00
Alasdair Kergon
3f507a26fb
Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
2007-08-20 20:55:30 +00:00
Jim Meyering
626c6d1124
factor out some duplication -- mostly I/O redirection
2007-08-20 12:06:35 +00:00
Patrick Caulfield
9ee1465d3c
Add more cluster/clvmd information to lvmdump
2007-08-09 09:53:33 +00:00
Milan Broz
f7cd471548
Add kernel and device-mapper targets versions report to lvmdump.
2007-07-02 20:18:38 +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
Bryn M. Reeves
9d67bbb104
Make lvm_dump.sh capture a listing of /sys/block entries.
2007-04-25 14:49:27 +00:00
Bryn M. Reeves
5cd4679419
re-commit lvm_dump.sh change
2007-04-19 23:06:05 +00:00
Milan Broz
84574a1257
Fix processing of exit status in init scripts
2007-03-16 17:15:36 +00:00
Alasdair Kergon
8cf3d165d3
Add warning to lvm2_monitoring_init_rhel4 if attempting to stop monitoring.
2007-01-30 18:02:15 +00:00
Alasdair Kergon
d0f7067471
lvm.static no longer interacts with dmeventd unless explicitly asked to.
2007-01-24 23:43:27 +00:00
Patrick Caulfield
169f68bfcd
Add timeout to RHEL4 clvmd init script.
...
With the previous clvmd checkin this should address bz#187812
2006-11-30 10:16:48 +00:00
Alasdair Kergon
586a2aef76
Improve lvm_dump.sh robustness.
2006-11-23 17:23:14 +00:00
Alasdair Kergon
ce1d8f6754
Update lvm2create_initrd to support gentoo.
2006-11-21 22:41:56 +00:00
Alasdair Kergon
8387016eef
Fix clvmd_init_rhel4 line truncation (2.02.14).
2006-11-21 17:44:46 +00:00
Alasdair Kergon
979e1012d2
Install lvmdump by default.
2006-11-20 20:03:26 +00:00
Alasdair Kergon
05f5abdc06
Enhance lvm_dump.sh for sysreport integration and add man page.
2006-11-16 16:44:48 +00:00
Alasdair Kergon
bd95416f27
Fix clustered VG detection and default runlevels in clvmd_init_rhel4.
2006-11-01 18:25:26 +00:00
Alasdair Kergon
d4f16e666e
Add lvm_dump.sh script to create a tarball of debugging info from a system.
2006-10-05 18:42:33 +00:00
Patrick Caulfield
a8ea7dd3fb
Make clvmd restart init script wait until clvmd has died before starting it.
2006-10-04 08:42:14 +00:00
Alasdair Kergon
af235897ab
Separate --enable-cluster from locking lib options in lvmconf.sh.
2006-09-20 17:36:47 +00:00
Alasdair Kergon
b385f701ce
Fix clvmd_init_rhel4 'status' exit code.
2006-07-19 18:55:58 +00:00
Alasdair Kergon
64f3ad1fd4
change two files in different directories
2006-06-06 17:44:11 +00:00
Alasdair Kergon
60e26a31a7
Add copyright notice to lvmconf.sh and use unique exit codes.
2005-08-16 20:38:33 +00:00
AJ Lewis
97344f18e2
o set umask and make tempfiles a bit nicer to deal with
2005-06-10 19:10:45 +00:00
AJ Lewis
33934db629
o script to adjust items in lvm.conf file - currently only handles turning
...
cluster lvm on and off
2005-06-10 17:11:48 +00:00
AJ Lewis
56db773a09
more clvmd rhel4 initscript cleanup
...
- don't echo after an 'action' call - action does the echo itself
- use vgdisplay/vgs to determine which VGs are marked clustered and only
deactivate those VGs (unless the LVM_VGS var is set in
/etc/sysconfig/cluster)
2005-05-11 15:21:44 +00:00
AJ Lewis
ef1e82c72c
Fixes bz#155478
...
Redhatify the rhel4 initscript (use /etc/init.d/functions)
2005-05-10 20:14:33 +00:00
Adam Manthei
0988c41785
o cluster lvm requires that /usr/sbin/$TOOL is used instead of
...
/sbin/lvm.static $TOOL
o made variables LVDISPLAY, VGSCAN and VGCHANGE configurable in
/etc/sysconfig/cluster
2005-02-08 17:20:24 +00:00
Alasdair Kergon
d43f7180dc
Update clvmd_init_rhel4: use lvm.static and don't load dlm.
2005-01-20 22:16:55 +00:00
Alasdair Kergon
76b8f2854e
Adjust RHEL4 clvmd init script priority.
2005-01-11 22:00:36 +00:00
Alasdair Kergon
2b9c21268b
Add RHEL4 clvmd init script.
2004-12-21 18:07:15 +00:00
Patrick Caulfield
7f95e27707
Make clvmd_fix_conf.sh UNDOable
2004-12-01 14:47:31 +00:00
Alasdair Kergon
858a2b1b88
Add cluster support.
2004-06-24 08:02:38 +00:00
Alasdair Kergon
ff9a238fbd
lvm2create_initrd submitted by Jeff Layton <jtlayton@poochiereds.net>
...
sourced from http://poochiereds.net/svn/lvm2/
2004-06-07 16:20:05 +00:00
Alasdair Kergon
34dd8d0a91
Some new features.
2002-11-18 14:04:08 +00:00
AJ Lewis
b653404542
o initial subdir population
2001-08-15 16:20:46 +00:00