~ubuntu-branches/ubuntu/raring/mdadm/raring

« back to all changes in this revision

Viewing changes to tests/05r1-grow-internal

  • Committer: Package Import Robot
  • Author(s): Michael Tokarev
  • Date: 2012-05-10 17:51:41 UTC
  • mto: (1.1.29 sid)
  • mto: This revision was merged to the branch mainline in revision 65.
  • Revision ID: package-import@ubuntu.com-20120510175141-13r8cdkv4gj0gui2
Tags: upstream-3.2.4
ImportĀ upstreamĀ versionĀ 3.2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#
5
5
mdadm --create --run $md0 -l 1 -n 2 $dev1 $dev2
6
6
check wait
7
 
testdev $md0 1 $mdsize1a 1
 
7
testdev $md0 1 $mdsize1a 64
8
8
 
9
9
#mdadm -E $dev1
10
10
mdadm --grow $md0 --bitmap=internal --bitmap-chunk=4 --delay=1 || { mdadm -X $dev2 ; exit 1; }
12
12
sleep 4
13
13
dirty2=`mdadm -X $dev2 | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'`
14
14
 
15
 
testdev $md0 1 $mdsize1a 1
 
15
testdev $md0 1 $mdsize1a 64
16
16
dirty3=`mdadm -X $dev2 | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'`
17
17
sleep 4
18
18
dirty4=`mdadm -X $dev2 | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'`