Jonathan Earl Brassow
b546c17105
LVM2 RAID design doc
2011-07-14 17:00:59 +00:00
Petr Rockai
1c8512eb62
Fix t-vgreduce-usage to stop relying on the persistent cache not seeing a
...
device that has been brought back from the dead: this sometimes fails with
clvmd (the cache is updated "too soon"). Instead, force a pvscan and rely on an
up-to-date cache as usual.
2011-07-11 12:13:07 +00:00
Alasdair Kergon
841a541051
post-release
2011-07-08 19:57:32 +00:00
Alasdair Kergon
4c67e55066
remove unnecessary lvconvert.h
2011-07-08 19:42:11 +00:00
Alasdair Kergon
136c2e70dc
pre-release
2011-07-08 19:19:44 +00:00
Alasdair Kergon
f8b6b122ca
Downgrade error message - it isn't strictly an internal error in the
...
library, and the known cause within lvm2 got fixed.
2011-07-08 19:13:05 +00:00
Alasdair Kergon
7a16e1f399
move doc to doc dir
2011-07-08 18:55:28 +00:00
Alasdair Kergon
e66cd0dc35
missing ifdef when new fn unused
2011-07-08 17:31:06 +00:00
Alasdair Kergon
4ccc44282e
Remove dev name prefix from dmsetup line output if exactly one dev requested.
2011-07-08 17:08:19 +00:00
Alasdair Kergon
2b069d2ca5
Ignore activation/verify_udev_operations if dm kernel driver vsn < 4.18.
2011-07-08 16:49:04 +00:00
Milan Broz
566939185e
Fix warning for pvcreate over MD linear.
...
If MD linear device has set rounding (overload chunk size attribute),
the pvcreate command prints this warning:
/dev/md0 sysfs attr level not in expected format: linear
2011-07-08 15:53:59 +00:00
Alasdair Kergon
1ba4781cb0
Need to snapshot lookup by uuid instead of name in case it's renamed.
2011-07-08 15:35:50 +00:00
Alasdair Kergon
2c860451a9
Log cookie values when incrementing/decrementing to give clues about races.
2011-07-08 15:34:47 +00:00
Alasdair Kergon
688a4e87ce
Move snapshot removal activation logic into lib/activate.
2011-07-08 12:49:50 +00:00
Alasdair Kergon
7cd8120de1
Move snapshot deactivation logic into lib/activate, fixing the
...
teardown sequence. (Previously the snapshot was deactivated while its
origin was active and before its removal was committed to disk, so
restarting after a crash at the point would leave corruption.)
2011-07-08 12:48:41 +00:00
Alasdair Kergon
225d1df8a7
report which dev was not found
2011-07-08 12:35:48 +00:00
Zdenek Kabelac
459f6c60e6
Increase timeout for udev settle
...
For some unknown reason (atm) udev settle takes longer time on recent rawhide.
To pass the test - inrease the settle timeout.
2011-07-08 10:05:43 +00:00
Alasdair Kergon
1dc49506bc
Cope with a PV only discovered missing when creating deptree.
2011-07-06 00:29:44 +00:00
Alasdair Kergon
f7b3c167b0
Abort operation if dm_tree_node_add_target_area fails.
2011-07-05 23:10:14 +00:00
Alasdair Kergon
9f67b0f0ed
Always perform preload logic before suspending - not only in the case when we
...
have precommitted metadata. (Necessary to avoid loading tables
while suspend in lvchange --refresh.)
2011-07-05 18:36:37 +00:00
Alasdair Kergon
7970cad6de
decode cookie flags in debug msgs
2011-07-05 16:17:14 +00:00
Alasdair Kergon
84a6c240d5
Snapshots LVs are never loaded in their own right, only along with their
...
origin.
2011-07-05 01:08:42 +00:00
Alasdair Kergon
8f03913e0b
Fix conditions using no_merging: only those using lv_is_merging_cow() should
...
have been converted, not pure lv_is_cow ones.
(Merging has no impact on how the pre-merged cow segment itself is loaded.)
2011-07-05 01:01:19 +00:00
Alasdair Kergon
30776aea04
first attempt to fix test
2011-07-04 16:27:27 +00:00
Alasdair Kergon
ec000e1dfa
reinstate accidentally-removed lines to fix pvmove again
2011-07-04 14:56:58 +00:00
Alasdair Kergon
4b22b81391
Report internal error if suspending a device using an already-suspended dev.
...
This catches the recent pvmove problem trapping I/O between layers.
2011-07-02 01:17:09 +00:00
Jonathan Earl Brassow
cfafb8a92a
RAID updates for gdbinit file
2011-07-01 16:15:25 +00:00
Alasdair Kergon
0eee66e257
Add framework for validation of ioctls. Doesn't do any checks yet.
...
dmsetup --checks
libdevmapper: dm_task_enable_checks()
lvm.conf: activation/checks=1
2011-07-01 14:09:19 +00:00
Alasdair Kergon
34be5fb50f
update pv_attr check for new missing attr
2011-06-30 19:32:51 +00:00
Alasdair Kergon
0c6b43a8ef
When suspending, automatically preload newly-visible existing LVs
...
Let's find out if this makes things better or worse overall...
2011-06-30 18:25:18 +00:00
Zdenek Kabelac
3dd7f795f5
Report internal error when parameters are missing on table load
...
When some target is passing empty parameters to some dm target,
report this as an internal error to better catch some broken
table construction (some mirror conversions seem to be doing
this for now).
2011-06-30 09:24:58 +00:00
Alasdair Kergon
3f98a2885d
use remove -f
2011-06-30 09:17:49 +00:00
Alasdair Kergon
2fcba16688
teardown stray filesystems too
2011-06-30 09:15:53 +00:00
Zdenek Kabelac
5beb23518d
Use -f to remove device
...
Since some test may leave devices in suspend mode which would require
carefull order of resume operation - use '-f' to replace them with
error targets
For disable_dev - when 'error' target is used for open count - treat
return code as ok (|| true) to avoid breaking futher test processing.
2011-06-30 09:08:22 +00:00
Milan Broz
cf332f746e
Try to force remove dm devices in after test fails.
2011-06-30 08:50:10 +00:00
Alasdair Kergon
2df71f33ac
Try to remove any stray loop devices left behind by earlier aborted tests.
2011-06-30 01:17:37 +00:00
Alasdair Kergon
61a821884d
test attempt to remove stray loop devs
2011-06-30 00:57:29 +00:00
Petr Rockai
0952bf42a8
Differentiate the request and response format, in daemon/common.
2011-06-29 22:20:14 +00:00
Alasdair Kergon
06577e86d8
Add age filter to dmsetup udevcomplete_all to minimise concurrency problems.
2011-06-29 21:56:46 +00:00
Alasdair Kergon
589154d209
make udev teardown conditional on using udev
2011-06-29 18:18:18 +00:00
Alasdair Kergon
73c5f313e5
teardown aborts if it hits an error, so better teardown semaphores earlier
...
as we need them later in the teardown process
2011-06-29 18:14:08 +00:00
Alasdair Kergon
637245e9f5
print any loop devs that weren't torn down
2011-06-29 17:37:30 +00:00
Alasdair Kergon
e2aa3cf6ae
remove any stray semaphores after tearing down devs
2011-06-29 17:33:39 +00:00
Alasdair Kergon
08315e3ac4
Reinstate correct permissions when creating mirrors.
2011-06-29 17:05:53 +00:00
Alasdair Kergon
e145fa0e83
debug log readonly flag with ioctls
2011-06-29 16:08:33 +00:00
Alasdair Kergon
07324d6221
Append 'm' attribute to pv_attr for missing PVs.
2011-06-29 14:56:33 +00:00
Alasdair Kergon
ec8423ad76
Add uuids to dmsetup create cmds.
2011-06-29 12:37:51 +00:00
Alasdair Kergon
d5b96bdd95
use dmsetup remove -f as a better way of simulating a device "disappearing"
2011-06-29 12:33:18 +00:00
Alasdair Kergon
eed2109a93
Remove temporary failures now, but continue to give INTERNAL_ERROR.
2011-06-29 11:36:37 +00:00
Alasdair Kergon
283f4a0649
Temporary conversion to internal error and failure, to see how many
...
instances of this problem this flushes out.
2011-06-29 08:54:13 +00:00