Zdenek Kabelac
1e80265c36
lvconvert: earlier detection of conflicting names
...
Detect same LV names for lvconvert prior opening VG.
i.e. lvconvert --thinpool vg/lvol0 -T lvol0
2014-11-24 14:39:04 +01:00
Zdenek Kabelac
8eb111dfb8
pool: prevent pool conversion with same name
...
When same name is given for converted volume and pool volume,
stop further command processing.
2014-11-23 00:49:04 +01:00
Zdenek Kabelac
0782309713
tests: reduce thin test
2014-11-22 18:51:02 +01:00
Zdenek Kabelac
4607cbcb0d
tests: use old virt snaps in the test
...
Don't use thin with its thin requirements for the test.
2014-11-22 18:51:02 +01:00
Petr Rockai
71271cf905
test: Also test repeated --cachesettings in lvchange-cache.
2014-11-20 16:51:07 +01:00
Petr Rockai
c75ae0846e
cache: Implement 'default' as a policy settings value to clear the record.
2014-11-20 16:51:07 +01:00
Petr Rockai
4b9b8e1282
toollib: Split --cachesettings from --cachepolicy.
2014-11-20 16:51:07 +01:00
Petr Rockai
310beb73a8
test: Add a test for lvchange --cachepolicy.
2014-11-20 16:51:07 +01:00
Zdenek Kabelac
8d8c1b6624
tests: use snapshot targets
2014-11-19 23:24:18 +01:00
Zdenek Kabelac
542b03ee00
tests: deactivate repaired before swap
2014-11-17 08:44:53 +01:00
Zdenek Kabelac
740fcdae7d
tests: thin repair testing
...
More checks for thin related tools.
Add same functionality for cache related tools.
2014-11-17 00:41:33 +01:00
Zdenek Kabelac
27182e1ddb
tests: explicit raid sync
2014-11-14 18:12:44 +01:00
Zdenek Kabelac
8cb79dad0b
pool: fix removal of pool metadata spare
...
Since we support device stack of pools over pool
(thin-pool with cache data volume) the existing code
is no longer able to detect orphan _pmspare.
So instead do a _pmspare check after volume removal,
and remove spare afterwards.
2014-11-13 13:09:07 +01:00
Zdenek Kabelac
094596cfd2
tests: reach cache params
2014-11-10 22:05:49 +01:00
Zdenek Kabelac
10ebabdd2a
tests: cache snapshot
2014-11-10 22:05:49 +01:00
Zdenek Kabelac
cebbda0931
tests: duplicate update of config
2014-11-04 15:29:22 +01:00
Zdenek Kabelac
847b2aa5b4
tests: thin
2014-11-03 14:19:34 +01:00
Zdenek Kabelac
e4e96f6b19
tests: usage of -m0 -Mn
...
Test -m0 passed with types.
Check --readahead and thins.
2014-11-03 14:19:34 +01:00
Zdenek Kabelac
e09ee21fd4
tests: update raid sync
2014-10-31 00:37:35 +01:00
Zdenek Kabelac
47d50a8f27
tests: wait for raid sync
2014-10-31 00:31:54 +01:00
Zdenek Kabelac
e7c130430a
tests: explicitely use old snapshots
2014-10-31 00:28:25 +01:00
Zdenek Kabelac
8926230f6e
tests: lvcreate snapshot usage update
2014-10-30 23:58:49 +01:00
Zdenek Kabelac
b58a0f5cd3
tests: use aux func to disable device
2014-10-30 23:58:49 +01:00
Zdenek Kabelac
da61e6355e
tests: raid syncaction test
...
Add sync wait for syncaction of raid1 test.
--syncaction requires raid to be in sync first.
2014-10-30 23:58:49 +01:00
Peter Rajnoha
7049eeeb83
test: for issue fixed in previous commit 2f7f6932dc
2014-10-27 11:53:01 +01:00
Zdenek Kabelac
e223c801fc
pools: workaround hints
...
Missing code for stacked hint estimation
2014-10-26 19:45:17 +01:00
Zdenek Kabelac
c28a7706ed
tests: update cache creation tests
2014-10-26 18:37:13 +01:00
Zdenek Kabelac
7bbf3cf306
tests: lvcreate-update
...
Test with old mirror type.
2014-10-26 18:37:13 +01:00
Zdenek Kabelac
c3bb9629a8
tests: syncaction needs kernel fix
...
Add 'should' as we currently cannot pass this test.
FIXME:
Add properly wrapper to not use 'should' with fixed kernel.
2014-10-24 16:39:32 +02:00
Zdenek Kabelac
e1dede6f6b
tests: new lvcreate functionality
...
Fixed syntax parsing means that some commands that used to work are now
failing. Particullary this case:
$ invalid lvcreate -l1 --type thin vg/pool
> Needs to fail becase thin type LV needs --virtualsize
$ invalid lvcreate --type snapshot vg/lv1
> Needs to fail because old-snapshot segment type needs --size
Some reported error messages have been also updated.
2014-10-24 16:39:32 +02:00
Zdenek Kabelac
9642f013a1
tests: lvcreate usage
2014-10-24 16:39:32 +02:00
Petr Rockai
22a6b0e40b
lvchange: Allow appropriate actions on cache (in addition to thin) pools.
2014-10-13 16:21:41 +02:00
Petr Rockai
d623034e62
test: Fix lvconvert-raid-allocation's use of lvconvert --repair.
2014-10-07 16:12:04 +02:00
Zdenek Kabelac
62802ddae0
tests: typos
2014-10-07 10:19:33 +02:00
Zdenek Kabelac
236db9fc0d
tests: put devs into ""
2014-10-07 10:19:33 +02:00
Zdenek Kabelac
75c4d268e9
tests: check for cache and raid
...
Skip some tests on systems without cache or raid.
2014-10-07 10:19:33 +02:00
Zdenek Kabelac
c59ef73206
tests: move cache raid to separate file
2014-10-07 10:19:33 +02:00
Petr Rockai
b836525d9c
test: Creating a cache on top of active RAID works now.
2014-10-07 09:32:24 +02:00
Petr Rockai
b66f16fd63
lvconvert: Allow --repair and --splitmirrors on reserved-name LVs.
2014-10-07 08:58:24 +02:00
David Teigland
86dad329be
test: Add process-each toollib tests.
2014-10-07 01:15:43 +01:00
Zdenek Kabelac
fa517221a1
tests: lvconvert cache usage of thin pool
...
Checked stacking usage of thin pool data volume being cached.
2014-10-06 15:31:44 +02:00
Zdenek Kabelac
742d250cc5
tests: lvconvert thin pool
...
More tests.
2014-10-06 15:31:44 +02:00
Zdenek Kabelac
c243cf6581
tests: lvconvert cache
...
Many new tests
2014-10-06 15:31:44 +02:00
Zdenek Kabelac
52821572d5
tests: lvcreate external origin
...
Fix unsupportable case.
We cannot create thinpool and snapshot at the same time.
(-L could not have 2 meanings).
2014-10-06 15:31:33 +02:00
Zdenek Kabelac
de0e6029f1
tests: lvcreate thin-pool support --name
2014-10-06 15:23:08 +02:00
Zdenek Kabelac
4baf4b8cf9
tests: lvcreate cache interface updates
2014-10-06 15:23:08 +02:00
Petr Rockai
072e25a965
test: Show an activation bug in lvcreate of a cache over raid.
2014-10-06 08:11:42 +02:00
Petr Rockai
d2f901f04f
lvconvert: Forward --splitmirror to a cache origin when applicable.
2014-10-06 08:11:06 +02:00
Zdenek Kabelac
9acbb0695f
tests: drop * from dmsetup
...
We cannot use shell expansion for dmsetup here.
2014-09-24 10:54:48 +02:00
Zdenek Kabelac
98414ca7dd
vgchange: support clustered conversion for active lv
...
If we want to support conversion of VG to clustered type,
we currently need to relock active LV to get proper DLM lock.
So add extra loop after change of VG clustered attribute
to exlusively activate all active top level LVs.
When doing change -cy -> -cn we should validate LVs are not
active on other cluster nodes - we could be sure about this only
when with local exclusive activation - for other types
we require user to deactivate volumes first.
As a workaround for this limitation there is always
locking_type = 0 which amongs other skip the detection
of active LVs.
FIXME:
clvmd should handle looks for cluster locking type all the time.
2014-09-17 14:41:42 +02:00