1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 20:25:52 +03:00
Commit Graph

297 Commits

Author SHA1 Message Date
Patrick Caulfield
b9fb9b206e Fix off-by-one error in cluster_locking that could case read hangs. 2005-01-07 14:22:49 +00:00
Alasdair Kergon
2245e1c41f pvcreate wipes first 4 sectors unless given --zero n. 2005-01-05 17:25:25 +00:00
Patrick Caulfield
0d19475588 Improve clvmd failure message if it's already running.
Allow user to kill clvmd during initialisation.
2005-01-05 14:41:54 +00:00
Patrick Caulfield
67443faddb Typo in "for" caused first node in ccs to be ignored. 2005-01-04 15:11:34 +00:00
Patrick Caulfield
a057a834b7 Use new CCS key names for nodes in the GULM version of clvmd.
based on a patch from Mike Tilstra
2005-01-04 11:48:10 +00:00
Alasdair Kergon
7a594c2acc post-2.00.32 2004-12-22 22:04:03 +00:00
Alasdair Kergon
7e9e95024a Drop static/dl config restriction for now. 2004-12-22 21:55:36 +00:00
Alasdair Kergon
01a0beedce Fix an error fprintf. 2004-12-22 21:47:31 +00:00
Alasdair Kergon
bc0d0ce072 Fix vgdisplay -s. Breaks (undocumented) lvs/pvs/vgs -s instead for now. 2004-12-21 21:40:36 +00:00
Alasdair Kergon
165f49ba1d Fix device reference counting on re-opens. 2004-12-21 20:23:16 +00:00
Alasdair Kergon
f6ab00eb54 Ignore sysfs symlinks when DT_UNKNOWN. 2004-12-21 18:29:46 +00:00
Alasdair Kergon
57b083718d Add RHEL4 clvmd init script. 2004-12-21 18:07:15 +00:00
Alasdair Kergon
d46fd67fb6 Skip devices that are too small to be PVs. 2004-12-21 17:54:52 +00:00
Alasdair Kergon
db1cd37745 Add CONTRIBUTORS file. 2004-12-21 16:24:19 +00:00
Alasdair Kergon
8c9a1d6a3d Fix pvchange -x segfault with lvm2-format orphan. 2004-12-21 16:12:02 +00:00
Alasdair Kergon
9ec484617a Cope with empty msdos partition tables. 2004-12-21 16:10:25 +00:00
Alasdair Kergon
158fe3d365 post-2.00.31 2004-12-12 21:55:46 +00:00
Alasdair Kergon
9a2abb82e1 2.00.31 2004-12-12 21:47:55 +00:00
Alasdair Kergon
6aad654559 post-2.00.30 2004-12-10 18:01:49 +00:00
Alasdair Kergon
c4bb9aa60c 2.00.30 2004-12-10 16:02:35 +00:00
Alasdair Kergon
09a7dce6be Additional device-handling debug messages.
Additional verbosity level -vvvv includes line numbers and backtraces.
Verbose messages now go to stderr not stdout.
Close any stray file descriptors before starting.
Refine partitionable checks for certain device types.
Allow devices/types to override built-ins.
2004-12-10 16:01:35 +00:00
Alasdair Kergon
21c42c7fea Fix lvreduce man page .i->.I 2004-12-09 16:59:18 +00:00
Alasdair Kergon
80b048951e Fix vgsplit man page title. 2004-12-09 16:58:31 +00:00
Alasdair Kergon
db7e9905c1 Fix clvmd man makefile. 2004-12-09 16:57:37 +00:00
Alasdair Kergon
39de4a2a56 Extend dev_open logging. 2004-12-09 16:56:51 +00:00
Patrick Caulfield
838ebb8378 Make clvmd_fix_conf.sh UNDOable 2004-12-01 14:47:31 +00:00
Alasdair Kergon
0ef6cc3f82 post-29 2004-11-27 22:56:58 +00:00
Alasdair Kergon
66f0408473 xlate compilation fix 2004-11-27 22:07:41 +00:00
Alasdair Kergon
bbdab3fc9e Endian fix to signature detection. 2004-11-27 21:37:54 +00:00
Alasdair Kergon
a266258f4c Configure/makefile tidy. 2004-11-26 18:07:17 +00:00
Alasdair Kergon
c3a4c63c15 Trap large memory allocation requests. 2004-11-24 21:34:56 +00:00
Alasdair Kergon
2e6051674b Fix to partition table detection code. 2004-11-24 20:38:05 +00:00
Alasdair Kergon
7f1e8db796 Improve filter debug msgs. 2004-11-24 20:36:52 +00:00
Alasdair Kergon
a614641aeb post-release 2004-11-23 18:36:01 +00:00
Alasdair Kergon
bd46a496c7 pool debugging 2004-11-23 18:23:23 +00:00
Alasdair Kergon
d528aaa63f 2.00.26 2004-11-23 17:47:19 +00:00
Alasdair Kergon
985ef4617f Detect partition table signature. 2004-11-23 11:44:04 +00:00
Alasdair Kergon
5ab925debf pvcreate wipes md superblocks. (With --uuid or --restorefile it prompts.) 2004-11-19 19:25:07 +00:00
Alasdair Kergon
b2dd0bb1d0 Separate out md superblock detection code. 2004-11-18 20:02:21 +00:00
Alasdair Kergon
0ec78e9862 Prevent snapshot origin resizing. 2004-11-18 19:49:48 +00:00
Alasdair Kergon
63bea03ed1 More man page updates. 2004-11-16 18:09:32 +00:00
Alasdair Kergon
fcac0642c9 update WHATS_NEW 2004-11-12 16:02:08 +00:00
Patrick Caulfield
b1098701ec Can now build a gulm version of clvmd instead of a cman one. use
./configure --with-clvmd=gulm

The default is still cman, and you can't have both - sorry.
2004-11-03 10:45:07 +00:00
Alasdair Kergon
cb8920e642 Fixes to lvcreate vgname processing. 2004-10-15 15:53:18 +00:00
Alasdair Kergon
56f5c04d5b Fix size of dm_name string. 2004-10-11 15:59:23 +00:00
Patrick Caulfield
3d4159b6bf Make clvmd -V display the lvm version number too rather than just
the protocol version (which is not that useful and doesn't change very often).
2004-10-06 12:36:47 +00:00
Patrick Caulfield
bfd4b01407 Revert the fork back to where it was as it seems to confuse pthreads.
Instead, the parent now waits for the daemon to signal that it has
completed successfully (or not) so it can return status to the user.
2004-10-06 10:12:34 +00:00
Patrick Caulfield
e5011ba8bf Check the UUID length when readingthe output of the "lvs" command at startup.
This way we should not get quite so confused by any debugging output
that may come our way.
2004-10-04 09:23:52 +00:00
Patrick Caulfield
cf54177475 Make clvmd cope with large gaps in nodeIDs 2004-09-30 14:18:29 +00:00
Alasdair Kergon
b44dc25ed9 post-2.00.25 2004-09-29 15:25:43 +00:00
Alasdair Kergon
c3c9d9b04e 2.00.25 2004-09-29 15:08:20 +00:00
Patrick Caulfield
d5ec0504f5 Remove spurious trailing dot in man page. 2004-09-24 10:34:53 +00:00
Patrick Caulfield
167babfedb Update WHATS_NEW with latest clvmd change 2004-09-23 13:12:09 +00:00
Alasdair Kergon
be495a46bf Fix return code from rm_link for vgmknodes. 2004-09-22 13:38:37 +00:00
Alasdair Kergon
f2b2f485a5 post-2.00.24 2004-09-16 21:48:26 +00:00
Alasdair Kergon
f663e437de 2.00.24 2004-09-16 20:56:18 +00:00
Alasdair Kergon
2b176f9034 Fix pool_empty so it really does empty the memory pool. 2004-09-16 20:09:55 +00:00
Alasdair Kergon
c4ddb31abf Rename old segtypes files to segtype. 2004-09-16 18:40:56 +00:00
Alasdair Kergon
e26c4fd2a2 Some fixes to memory debugging code.
Exclude internal commands formats & segtypes from install.
2004-09-16 16:53:39 +00:00
Alasdair Kergon
5b3d93c86d post-2.00.23 2004-09-15 15:59:19 +00:00
Alasdair Kergon
47ded66e9c 2.00.23 2004-09-15 15:32:21 +00:00
Alasdair Kergon
7f64c8e5fa Export dm name build & split functions. 2004-09-15 15:02:36 +00:00
Alasdair Kergon
60bd717971 Use O_NOATIME on devices if available. 2004-09-14 22:23:23 +00:00
Alasdair Kergon
19d1e7102c Write log message when each segtype/format gets initialised. 2004-09-14 17:37:51 +00:00
Alasdair Kergon
156dd4f1ec New commands 'segtypes' and 'formats'. 2004-09-14 16:42:46 +00:00
Alasdair Kergon
17d1ae7ee2 Suppress pvmove abort message in test mode. 2004-09-14 15:23:42 +00:00
Alasdair Kergon
b9ade4bc21 Improve pvcreate/remove device not found error message. 2004-09-14 14:54:58 +00:00
Alasdair Kergon
00b47204e0 Allow pvmove to move data within the same PV. 2004-09-14 13:59:17 +00:00
Alasdair Kergon
05503c5e95 Describe how pvmove works on man page. 2004-09-14 13:58:11 +00:00
Alasdair Kergon
68eb9e3b1f Test for incompatible format/segtype combinations in lv_extend. 2004-09-14 13:56:18 +00:00
Patrick Caulfield
075ab744c5 Fix man page for lvchange. The example seems to have been lifted from pvchange. 2004-09-13 08:01:54 +00:00
Alasdair Kergon
953ab8a351 post 2.00.22 2004-09-03 19:18:23 +00:00
Alasdair Kergon
6e047bb56b 2.00.22 2004-09-03 19:08:50 +00:00
Alasdair Kergon
b588726e9f Fix /dev/vgname mkdir perms. 2004-09-02 14:38:46 +00:00
Alasdair Kergon
f15c75cbec clvmd man page tweaks 2004-09-02 14:16:54 +00:00
Alasdair Kergon
28acccca2a Restructure xlate.h 2004-09-02 13:53:25 +00:00
Alasdair Kergon
9c2f42bd76 post-2.4.21 2004-08-19 17:13:49 +00:00
Alasdair Kergon
311cea83c5 2.00.21 2004-08-19 16:10:15 +00:00
Alasdair Kergon
acac21c462 Recognise iseries/vd devices. 2004-08-18 19:13:01 +00:00
Alasdair Kergon
cab8ea7c62 Cluster-extension-only installation. 2004-08-18 18:57:40 +00:00
Alasdair Kergon
cf076dd366 Cope with DT_UNKNOWN in sysfs. 2004-08-18 18:50:21 +00:00
Alasdair Kergon
392b28ec5c Support for PE ranges in pvmove source PV. 2004-08-17 22:09:02 +00:00
Alasdair Kergon
eabaa3398b Change alloc_areas to pe_ranges and allow suppression of availability checks. 2004-08-17 21:55:23 +00:00
Alasdair Kergon
a303dcde2a Add dev_size column to pvs. 2004-08-11 13:15:05 +00:00
Alasdair Kergon
5fd24a89ec Add report columns for in-kernel device number. 2004-07-03 22:07:52 +00:00
Alasdair Kergon
3b55d30002 update version 2004-07-03 18:29:48 +00:00
Alasdair Kergon
ad6254c546 Misc autoconf fixes 2004-07-03 18:21:13 +00:00
Alasdair Kergon
8bad033938 Fix device number handling for 2.6 kernels. 2004-07-01 15:14:29 +00:00
Alasdair Kergon
8630c7fb37 update version 2004-06-29 13:46:44 +00:00
Alasdair Kergon
8ce0cbdaab make -O2 optimisation flag configurable. 2004-06-29 13:29:25 +00:00
Alasdair Kergon
80992638e1 Fix LD_FLAGS->LDFLAGS. LD_DEPS->LDDEPS.
Update configure script: add --disable-selinux & some missing messages.
2004-06-28 14:01:24 +00:00
Alasdair Kergon
2e15e5e45d update version 2004-06-25 10:31:04 +00:00
Alasdair Kergon
88be836f39 Fix vgchange (de)activation of (open) LVs. 2004-06-24 14:48:01 +00:00
Alasdair Kergon
d3c8211fef Add cluster support. 2004-06-24 08:02:38 +00:00
Alasdair Kergon
809fae91cf fsadm configurable (default disabled as untested)
version update
2004-06-20 13:38:54 +00:00
Alasdair Kergon
c29d24650d Display all filtered devices, not just PVs, with pvs -a. 2004-06-19 19:27:00 +00:00
Alasdair Kergon
01c263e9fe Fix sync_dir() when no / in filename. 2004-06-19 19:24:33 +00:00
Alasdair Kergon
8d267798db vgcfgbackup -f accepts template with %s for VG name. 2004-06-19 18:55:29 +00:00
Alasdair Kergon
374df1cf8e Extend hash functions to handle non-null-terminated data. 2004-06-18 15:08:22 +00:00
Alasdair Kergon
b86ef8e2cb Add local activation support. 2004-06-16 17:13:41 +00:00
Alasdair Kergon
b7d0982ae7 tidy relative paths in makefile includes 2004-06-15 17:25:07 +00:00
Alasdair Kergon
1a9ea74d2d lvresize + fsadm support - needs testing 2004-06-15 17:23:49 +00:00
Alasdair Kergon
d8ac0fbcbf Add read-only GFS pool support. 2004-06-07 19:10:21 +00:00
Alasdair Kergon
8c670f8349 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
30bab85be1 Fix rounding of large displayed sizes. 2004-06-07 15:22:43 +00:00
Alasdair Kergon
2ea0f30ffa i2o_block 2004-06-01 18:33:50 +00:00
Alasdair Kergon
7d36b514d8 Suppress decimal point when using units of sectors/bytes. 2004-05-28 12:47:57 +00:00
Alasdair Kergon
abaf083ddc Additional kernel target checks before pvmove & snapshot creation. 2004-05-24 20:51:56 +00:00
Alasdair Kergon
ea556d1ffe v2.00.16 2004-05-24 19:20:57 +00:00
Alasdair Kergon
bfa258b3e7 Set area_count within alloc_lv_segment 2004-05-24 17:30:00 +00:00
Alasdair Kergon
7f0dc9c4cb Remove error labels. 2004-05-24 15:58:50 +00:00
Alasdair Kergon
199fa12a3b Fix a pvs error path. 2004-05-24 14:14:10 +00:00
Alasdair Kergon
36cfd88743 xxchange -ae to activation exclusively 2004-05-24 13:44:10 +00:00
Alasdair Kergon
29e94d9531 Don't return non-zero status if there aren't any volume groups 2004-05-20 16:18:58 +00:00
Alasdair Kergon
a0a23eff4b Rename allocation policies; add --alloc to cmdline; LV inherits from VG. 2004-05-18 22:12:53 +00:00
Alasdair Kergon
b61702ce8c Add reset_fn to external_locking. 2004-05-18 21:57:24 +00:00
Alasdair Kergon
e0a86d8c18 Ensure presence of virtual targets before attempting activation. 2004-05-12 20:43:34 +00:00
Alasdair Kergon
241913fe60 Restructure lvresize, bringing it closer to lvcreate. 2004-05-11 18:47:40 +00:00
Alasdair Kergon
6925cbe624 A quick sanity check on vg_disk struct when read in. More checks needed. 2004-05-11 17:18:42 +00:00
Alasdair Kergon
ff4b8b64c8 Only include visible LVs in active/open counts. 2004-05-11 17:09:09 +00:00
Alasdair Kergon
1832f310ac Add --type to lvcreate/resize.
Add virtual segment types, zero and error.

A large sparse device can be constructed as a writeable snapshot of a large
zero device.
2004-05-11 16:01:58 +00:00
Alasdair Kergon
1d2ebf6281 Push lv_create & alloc policy up to tool level. 2004-05-05 18:49:21 +00:00
Alasdair Kergon
e3adcd79d3 Detect invalid LV names in arg lists. 2004-05-05 18:31:38 +00:00
Alasdair Kergon
0e3d94526a Reporting uses line-at-a-time output. 2004-05-05 18:23:11 +00:00
Alasdair Kergon
ea601b75e2 Internal-only metadata flag support. 2004-05-05 18:15:47 +00:00
Alasdair Kergon
cb919290c2 Separate out polldaemon. 2004-05-05 17:56:20 +00:00
Alasdair Kergon
23289e6d14 Revise internal locking semantics. 2004-05-05 12:03:07 +00:00
Alasdair Kergon
0b2b87b717 Add devices to segments report; some move->copy renaming. 2004-05-05 10:58:44 +00:00
Alasdair Kergon
4922197a33 Begin to separate out segment types. 2004-05-04 21:25:57 +00:00
Alasdair Kergon
25579907fc Support tagged config files. 2004-05-04 18:28:15 +00:00
Alasdair Kergon
a38df97fb8 config option to avoid using install -o -g 2004-04-19 13:10:06 +00:00
Alasdair Kergon
96185e9ca1 Use 64-bit file functions. 2004-04-16 18:43:29 +00:00
Alasdair Kergon
01c6121ba5 Set devices/md_component_detection = 1 to ignore devices containing md
superblocks. [Luca Berra]
2004-04-16 16:12:04 +00:00
Alasdair Kergon
121c5c060b Ignore error setting selinux file context if fs doesn't support it. 2004-04-16 12:24:46 +00:00
Alasdair Kergon
a218a29c49 2.00.12 2004-04-14 20:09:25 +00:00
Alasdair Kergon
4563e03633 update 2004-04-14 18:31:35 +00:00
Alasdair Kergon
e5b281256b Update version 2004-04-08 17:14:00 +00:00
Alasdair Kergon
0d0b335763 update for 2.00.10 2004-04-07 18:12:51 +00:00
Alasdair Kergon
35030bb0fe Update to 2.00.10 2004-04-06 15:17:53 +00:00
Alasdair Kergon
6b493d0771 updates for release 2004-03-31 20:14:02 +00:00
Alasdair Kergon
cd24222379 Update changelog. 2004-03-30 20:33:26 +00:00
Alasdair Kergon
b2bb72641f dumpconfig 2003-11-21 19:53:05 +00:00
Alasdair Kergon
f74d51d975 Ready for another release. 2003-11-14 23:46:49 +00:00
Alasdair Kergon
5518374bd9 update 2003-07-18 00:41:04 +00:00
Alasdair Kergon
914c97239f Another sync point - numerous fixes & clean ups. 2003-07-04 22:34:56 +00:00
Alasdair Kergon
541f875372 Update 2003-04-30 16:49:27 +00:00
Alasdair Kergon
5a52dca9c2 Some new features. 2002-11-18 14:04:08 +00:00