1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
Commit Graph

277 Commits

Author SHA1 Message Date
Alasdair Kergon
66278a80b1 vgchange --physicalextentsize (but only if it's an exact fit - may need to
use pvmove first)
2005-04-18 14:56:42 +00:00
Patrick Caulfield
2b7e4013cd Make clvmd work around some "limitations" in gulm's node state notifications.
Also make clvmd debuglog timestamps a little more helpful.
2005-04-13 13:50:07 +00:00
Alasdair Kergon
69b2cc0ee0 Remove unused internal non-persistent snapshot option. 2005-04-07 12:27:57 +00:00
Alasdair Kergon
90395b8d53 store snapshot id as lvid internally 2005-04-07 12:24:48 +00:00
Alasdair Kergon
864de9cee1 Allow offline extension of snapshot volumes.
NB Requires kernel patch that is not upstream.
2005-04-07 12:17:46 +00:00
Alasdair Kergon
367b9cb1f5 Move from 2-step to 3-step on-disk metadata commit. 2005-04-06 18:59:55 +00:00
Alasdair Kergon
b12f3c5b9d Add ramdisk. 2005-04-06 16:43:59 +00:00
Alasdair Kergon
1128f56b1e Annotate, tidy and extend list.h. 2005-04-06 14:50:37 +00:00
Alasdair Kergon
1165258cda Alignment tidying. 2005-04-06 13:47:41 +00:00
Alasdair Kergon
4a0623f909 post-release 2005-04-04 15:46:14 +00:00
Alasdair Kergon
37baa58625 2.01.09 2005-04-04 15:41:51 +00:00
Alasdair Kergon
0a0f13e600 Add --ignorelockingfailure to vgmknodes. 2005-04-04 14:44:49 +00:00
Patrick Caulfield
a478de3db6 set SO_KEEPALIVE on sockets 2005-04-01 16:03:00 +00:00
Patrick Caulfield
11270d07bf Don't allow user operations to start until the lvm thread is fully up.
Hopefully finally nails bz#146056
2005-04-01 13:01:01 +00:00
Alasdair Kergon
fd1712ecbe post-release 2005-03-22 16:50:17 +00:00
Alasdair Kergon
c8f9c82dae 2.01.08 2005-03-22 15:12:37 +00:00
Alasdair Kergon
343a8c920d Add clustered attribute so vgchange can identify clustered VGs w/o locking. 2005-03-21 22:55:12 +00:00
Alasdair Kergon
e5b836d2d6 Improve detection of external changes affecting internal cache. 2005-03-21 22:40:35 +00:00
Alasdair Kergon
162d85b97b Add 'already in device cache' debug message. 2005-03-21 14:51:49 +00:00
Alasdair Kergon
200ef4db90 Add -a to pvdisplay -C. 2005-03-21 14:47:36 +00:00
Alasdair Kergon
0aa8e5be94 Avoid rmdir opendir error messsages when dir was already removed. 2005-03-21 14:43:02 +00:00
Alasdair Kergon
779b7713cf Tighten signal handlers. 2005-03-21 14:16:16 +00:00
Alasdair Kergon
02c6d3f251 Fix WHATS_NEW. 2005-03-10 23:04:42 +00:00
Alasdair Kergon
7e0b7fd0e5 Avoid some compiler warnings. 2005-03-10 22:34:17 +00:00
Alasdair Kergon
e5def0bab5 Additional rename failure error message. 2005-03-10 22:31:10 +00:00
Alasdair Kergon
1cbfe69961 read/write may be macros 2005-03-10 20:23:36 +00:00
Alasdair Kergon
47de39908b post-release 2005-03-10 20:22:40 +00:00
Patrick Caulfield
a6c23d8b8b Don't take out the lvm_thread_lock at startup - it only protects the jobs list.
DEBUGLOG() message now print threadid rather than PID which is more useful.
2005-03-09 14:08:11 +00:00
Alasdair Kergon
b9565b406a Cope with new devices appearing by rescanning /dev if a uuid can't be found. 2005-03-08 13:46:17 +00:00
Alasdair Kergon
8f5d81cbc8 Remove DESTDIR from LVM_SHARED_PATH. 2005-03-08 13:39:39 +00:00
Patrick Caulfield
3329bbfdf3 make clvmd FDs close-on-exec, to avoid warnings when running lvm via popen.
clvmd-gulm unlocks VG & orphan locks at startup in case they are stale.
clvmd-gulm now unlocks VG & orphan locks if client dies.
2005-03-07 17:03:44 +00:00
Alasdair Kergon
4c90852192 post-release 2005-03-03 22:31:01 +00:00
Alasdair Kergon
9a56fc818a 2.01.06 2005-03-03 22:26:34 +00:00
Alasdair Kergon
432cd1e47a Option to suppress warnings of file descriptors left open. 2005-03-03 22:09:20 +00:00
Alasdair Kergon
aa70fe8b71 Suppress 'open failed' error messages during scanning. 2005-03-03 21:54:35 +00:00
Alasdair Kergon
f3b0ea286a Fix default value of metadatacopies in documentation (2->1). 2005-03-03 21:52:58 +00:00
Patrick Caulfield
eb3037ddbd Fix clvmd-gulm node up/down code so it actually works.
clvmd-gulm now releases locks when shut down.
2005-02-22 16:26:21 +00:00
Patrick Caulfield
a00bfcc8b2 ./configure --enable-debug now enables debugging code in clvmd 2005-02-21 15:58:06 +00:00
Patrick Caulfield
ce1aa2c3ff Always manipulate both locks in sync_lock() otherwise they get left
hanging around and cause trouble.
2005-02-21 14:36:09 +00:00
Alasdair Kergon
8b307a08cb post-release 2005-02-18 19:06:16 +00:00
Alasdair Kergon
8e3a97baf2 Static binary invokes dynamic binary if appropriate. 2005-02-18 18:58:31 +00:00
Patrick Caulfield
c9808c329d Cope with more than one message arriving at the TCP socket, also
fix some instances where the length in the message was wrong (cman
code didn't notice this because it is packet-based comms anyway)
2005-02-18 15:31:32 +00:00
Patrick Caulfield
a3dfa1c7d5 Make config check a little more tolerant of library names. 2005-02-14 09:07:14 +00:00
Alasdair Kergon
50e3a3f334 post-release 2005-02-09 18:26:38 +00:00
Alasdair Kergon
f1b2dad435 Add fixed offset to imported pool minor numbers. 2005-02-09 17:49:36 +00:00
Patrick Caulfield
ceda2b1426 Fix thread shutdown race which could cause clvmd to hang in pthread_join. 2005-02-08 09:05:58 +00:00
Patrick Caulfield
5937664052 Revert last clvmd patch. More testing reveals that this just doesn't
work yet.
2005-02-07 14:45:38 +00:00
Patrick Caulfield
2cf7b80d8f Make clvmd use the command library rather than popen() to
preload the lock state.
2005-02-07 10:04:27 +00:00
Alasdair Kergon
3ef1aceed6 lvm2cmd.so should skip the check for open fds. 2005-02-03 16:34:53 +00:00
Alasdair Kergon
421c2a6aed Remove unused -f from pvmove 2005-02-02 14:31:48 +00:00
Patrick Caulfield
d9656543ee Make clvmd do a quick sanity check on the clustering bits of lvm.conf 2005-02-02 11:42:29 +00:00
Patrick Caulfield
28b4320c7f Get rid of "connection refused" message because Corey doesn't like it. 2005-02-02 09:17:56 +00:00
Alasdair Kergon
939a307df2 post-release 2005-02-01 16:40:16 +00:00
Alasdair Kergon
07a2b9f899 2.01.03 2005-02-01 16:29:22 +00:00
Alasdair Kergon
274c88be9f More 64-bit display/report fixes. 2005-02-01 16:19:48 +00:00
Alasdair Kergon
51c2a81360 More informative startup mesg if can't create /etc/lvm. 2005-01-27 15:50:34 +00:00
Alasdair Kergon
7851b13bc4 Fix snapshot device size bug (since 2.01.01). 2005-01-27 15:48:49 +00:00
Patrick Caulfield
9549da2743 Don't print CMAN error if initial probe fails - we could be running with GULM. 2005-01-26 09:30:52 +00:00
Patrick Caulfield
4e224cf079 Remove superflous &
Gulm clvmd no longer hangs trying to talk to a rebooted node.
2005-01-25 16:46:29 +00:00
Patrick Caulfield
c9f9a8b2b3 Make clvmd announce it's startup and cluster connection in syslog. 2005-01-24 15:31:13 +00:00
Alasdair Kergon
2efec8b23e postrelease 2005-01-21 19:03:48 +00:00
Alasdair Kergon
a918e733d8 pre-release 2005-01-21 18:49:06 +00:00
Patrick Caulfield
6f4d25ec7f Fix clvmd startup bug introduced in cman/gulm amalgamation. bz#145729
Improve reporting of node-specific locking errors so you'll get
somthing a little more helpfiul than "host is down" - it will now tell
you /which/ host it thinks is down.
2005-01-21 11:35:24 +00:00
Alasdair Kergon
eaafeaaa09 Update clvmd_init_rhel4: use lvm.static and don't load dlm. 2005-01-20 22:16:55 +00:00
Alasdair Kergon
ed2799e7fe Fix some size_t printing. 2005-01-20 18:14:04 +00:00
Alasdair Kergon
894a05fffa Fix 64 bit xlate consts. 2005-01-20 18:13:17 +00:00
Alasdair Kergon
da73b38d1a Split out pool sptype_names to avoid unused const. 2005-01-20 18:12:41 +00:00
Alasdair Kergon
52f9afec22 Always fail if random id generation fails. 2005-01-20 18:11:53 +00:00
Alasdair Kergon
c44c015a2d Recognise gnbd. 2005-01-19 18:56:01 +00:00
Alasdair Kergon
5d0b9f475a fix clvmd lv_info_by_lvid open_count 2005-01-19 18:10:09 +00:00
Alasdair Kergon
c45a8a2c1c Store snapshot and origin sizes separately. 2005-01-19 17:19:39 +00:00
Alasdair Kergon
73a9487f33 Update vgcreate man page. 2005-01-19 17:01:18 +00:00
Alasdair Kergon
34d9b43122 Post-2.01.00 2005-01-17 20:45:05 +00:00
Alasdair Kergon
3833b9ccd6 2.01.00 2005-01-17 20:13:01 +00:00
Alasdair Kergon
73543ee70d Fix vgscan metadata auto-correction. 2005-01-17 18:24:28 +00:00
Patrick Caulfield
5c7fc7c4f7 You can now build clvmd with cman & gulm support in the same binary.
./configure --with-clvmd
wil do this by default. Or you can choose which you want with
./configure --with-clvmd=gulm    or
./configure --with-clvmd=cman

When clvmd with both included is run, it will automatically detect the cluster
manager in use.
2005-01-13 13:24:02 +00:00
Alasdair Kergon
e9c761b869 Only ask libdevmapper for open_count when we need it. 2005-01-12 22:58:21 +00:00
Alasdair Kergon
bfe848e1e9 Adjust RHEL4 clvmd init script priority. 2005-01-11 22:00:36 +00:00
Alasdair Kergon
968b11a909 post-2.00.33 2005-01-07 20:06:49 +00:00
Alasdair Kergon
b7b17625ef 2.00.33 2005-01-07 19:50:54 +00:00
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