Alasdair Kergon
60f13f01d2
Basic support for mirrors.
2005-06-01 16:51:55 +00:00
Alasdair Kergon
15db9fcfbf
Reinstate full PV size when removing from VG.
...
Support loopfiles for testing.
Complete the pv_segment support.
2005-05-03 17:28:23 +00:00
Alasdair Kergon
f1379332dc
extract compose_log_line
2005-04-17 23:59:04 +00:00
Alasdair Kergon
072893aabd
Internal snapshot code restructuring.
2005-04-07 12:39:44 +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
c45a8a2c1c
Store snapshot and origin sizes separately.
2005-01-19 17:19:39 +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
bd46a496c7
pool debugging
2004-11-23 18:23:23 +00:00
Alasdair Kergon
be495a46bf
Fix return code from rm_link for vgmknodes.
2004-09-22 13:38:37 +00:00
Alasdair Kergon
c4ddb31abf
Rename old segtypes files to segtype.
2004-09-16 18:40:56 +00:00
Alasdair Kergon
7f64c8e5fa
Export dm name build & split functions.
2004-09-15 15:02:36 +00:00
Alasdair Kergon
b588726e9f
Fix /dev/vgname mkdir perms.
2004-09-02 14:38:46 +00:00
Alasdair Kergon
63aead84ee
indent
2004-05-18 21:55:55 +00:00
Alasdair Kergon
e0a86d8c18
Ensure presence of virtual targets before attempting activation.
2004-05-12 20:43:34 +00:00
Alasdair Kergon
369028100b
Attempt to fix resizing of snapshot origins.
2004-05-12 20:40:34 +00:00
Alasdair Kergon
f75c11ed27
update comment
2004-05-11 18:18:14 +00:00
Alasdair Kergon
ff4b8b64c8
Only include visible LVs in active/open counts.
2004-05-11 17:09:09 +00:00
Alasdair Kergon
224565478c
Some basic checking for presence of device-mapper targets.
2004-05-05 18:11:43 +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
470a1e923c
Don't abort operations if selinux is present but disabled.
2004-05-04 15:29:26 +00:00
Alasdair Kergon
627f730e18
fix selinux error mesg
2004-04-14 18:10:10 +00:00
Alasdair Kergon
c8f601b30f
Fix lvs_in_vg_opened counting.
2004-04-14 17:33:04 +00:00
Alasdair Kergon
7d1552c9de
Option for auto-fallback to LVM1 tools if running 2.4 without device-mapper.
2004-04-08 15:23:23 +00:00
Alasdair Kergon
036f273ad0
Basic selinux support
2004-04-07 14:08:22 +00:00
Alasdair Kergon
6606c3ae81
Update copyright notices.
2004-03-30 19:35:44 +00:00
Alasdair Kergon
8b07664860
Fix vgmknodes to remove dud /dev/mapper entries
2004-03-30 14:40:03 +00:00
Alasdair Kergon
f09fe0ad0f
Rename dev_manager_mknodes -> dev_manager_lv_mknodes etc.
2004-03-30 14:38:57 +00:00
Alasdair Kergon
d1f4953ad4
Add list_versions to library
2004-03-26 19:52:09 +00:00
Alasdair Kergon
c1f5052199
Ignore open hidden LVs when checking if deactivation is OK.
2004-03-26 19:13:39 +00:00
Alasdair Kergon
b65b777d2a
Suppress move percentage when inactive
2004-03-26 19:10:48 +00:00
Alasdair Kergon
4bd9480dce
lv_info_by_lvid
2004-03-26 15:35:01 +00:00
Alasdair Kergon
f2046e0aeb
Only print warning message once when compiled without libdevmapper.
2004-03-19 16:26:46 +00:00
Alasdair Kergon
658b58129b
additional activation functions
2004-03-08 18:54:13 +00:00
Alasdair Kergon
814643d8a2
rename config file vars & always use / as separator
2004-03-08 18:28:45 +00:00
Alasdair Kergon
de17d760ba
host tags
2004-03-08 18:13:22 +00:00
Alasdair Kergon
c01f85420e
Missing include.
2003-11-13 18:47:22 +00:00
Alasdair Kergon
8c0388e487
vgmknodes also creates necessary nodes in /dev/mapper
2003-11-13 14:11:41 +00:00
Alasdair Kergon
f7dd6d8446
The LVM2 part of vgmknodes [still to do the non-devfs device-mapper bit].
2003-11-12 19:16:48 +00:00
Alasdair Kergon
0cf96f33ea
Check no fs mounted before deactivating.
2003-10-21 22:00:36 +00:00
Alasdair Kergon
aa37899857
Extract some common functions.
2003-09-17 20:35:57 +00:00
Alasdair Kergon
b2a849142b
Fix read-only snapshot creation.
2003-09-16 16:08:05 +00:00
Alasdair Kergon
4c22730b53
Some tidyups and minor fixes.
2003-08-20 15:48:27 +00:00
Alasdair Kergon
9a90f1aba6
Remove small hard-coded activation target line parameter limit.
2003-08-20 12:53:57 +00:00
Alasdair Kergon
27ab6e0f86
Driver version 1 compatibility fix for snapshots.
2003-07-05 23:24:10 +00:00
Alasdair Kergon
914c97239f
Another sync point - numerous fixes & clean ups.
2003-07-04 22:34:56 +00:00
Alasdair Kergon
b9e67d4f46
Distinguish between visible & top level devices.
2003-05-06 12:00:29 +00:00
Alasdair Kergon
10b29b8d2d
pvmove support
2003-04-30 15:26:25 +00:00
Alasdair Kergon
a9953411a8
o Rejig activation code device dependencies to make things a bit more robust
...
and further reduce the number of ioctl calls made.
o Metadata area struct change.
o Make config file accessible to activation functions & get stripe_filler
from it.
o Allow kernel to return snapshot status as a fraction or a percentage.
2003-04-24 22:09:13 +00:00
Alasdair Kergon
446155d94f
Support snapshot status fraction.
2003-04-15 13:20:16 +00:00