From: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
To: lvm-devel@redhat.com
Subject: [PATCH pvmove appendix] 'make check' script for testing basic pvmove operations
Date: Wed, 21 Nov 2007 17:45:47 -0500 [thread overview]
Message-ID: <4744B51B.7050108@ce.jp.nec.com> (raw)
In-Reply-To: <4744A21E.7090601@ce.jp.nec.com>
Attached is a test script for basic pvmove operations.
(Not actually in a patch form.)
I hope it gets included in the test directory for future
regression testings.
To run this, put it in LVM2/test directory, then
# cd test; ./t-pvmove-basic.sh
With the posted patch set, all tests succeeds.
Without the patches, test 15 will fail.
# ./t-pvmove-basic.sh
* ok 1: set up temp file and loopback device
* ok 2: create pv1
* ok 3: create pv2
* ok 4: create pv3
* ok 5: Run this: pvcreate
/LVM2.work/test/lvm-pvmove-basic.xqtoq24243/root/dev/mapper/pv1
/LVM2.work/test/lvm-pvmove-basic.xqtoq24243/root/dev/mapper/pv2
/LVM2.work/test/lvm-pvmove-basic.xqtoq24243/root/dev/mapper/pv3
* ok 6: set up a VG
* ok 7: create a linear LV lv1 on pv1
* ok 8: create a striped LV lv2 on pv2 and pv3
* ok 9: pvmove from pv1 to pv1 (same source and destination)
* ok 10: pvmove failure should not affect lv contents
* ok 11: pvmove from pv1 to pv2
* ok 12: pvmove from pv2 to pv1 only for lv1
* ok 13: pvmove from pv3 (a part of striped LV) to pv1
* ok 14: pvmove from pv3 to pv1 (no PEs to move)
* ok 15: pvmove from pv1:0-1 to pv2:2-2 and pv3:3-3 (splitted)
* ok 16: pvmove abort
* ok 17: pvmove LV isn't left
* passed all 17 test(s)
Thanks,
--
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t-pvmove-basic.sh
Type: application/x-sh
Size: 3588 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20071121/84957a11/attachment.sh>
prev parent reply other threads:[~2007-11-21 22:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-21 21:24 [PATCH pvmove 1/3] remove pvmove-specific params from allocation code Jun'ichi Nomura
2007-11-21 21:28 ` [PATCH pvmove 2/3] support splitted destinations of pvmove Jun'ichi Nomura
2007-11-21 21:28 ` [PATCH pvmove 3/3] use generic mirror allocation for pvmove Jun'ichi Nomura
2007-11-21 22:45 ` Jun'ichi Nomura [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4744B51B.7050108@ce.jp.nec.com \
--to=j-nomura@ce.jp.nec.com \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.