1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/test
Zdenek Kabelac c5e2f08cf9 tests: add error_dev aux
Aux function to replace PV with specifically damaged device.
Usage:

   aux error_dev "$dev1" 8:32 96:8

Replaces from 8 sector 32 error 512b sectors
and from 96 sector next 8 sectors will fail on rw.
Rest of device is preserved.

For testing:
dd if="$dev1" of=x bs=512 count=104 conv=sync,noerror iflag=direct
2012-12-02 17:55:49 +01:00
..
api thin: fix property discard for lvm2api 2012-11-27 14:09:49 +01:00
lib tests: add error_dev aux 2012-12-02 17:55:49 +01:00
shell tests: update thin testing 2012-11-27 14:10:46 +01:00
unit TEST: Avoid building unit tests with --disable-testing. 2012-10-09 20:37:34 +02:00
.gitignore gitignore: Remove redundant test dir entry 2012-06-08 23:34:15 +01:00
Makefile.in lvmetad: Warn if lvmetad is running but disabled. 2012-10-10 13:54:29 +02:00