TEST-12-RAID-DEG: double disk space
authorHarald Hoyer <harald@redhat.com>
Mon, 2 Aug 2010 09:13:06 +0000 (11:13 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 2 Aug 2010 12:17:58 +0000 (14:17 +0200)
test/TEST-12-RAID-DEG/create-root.sh
test/TEST-12-RAID-DEG/test.sh

index 6a2988d..9c6303a 100755 (executable)
@@ -6,11 +6,11 @@ done
 rm /etc/lvm/lvm.conf
 udevadm control --reload-rules
 # save a partition at the beginning for future flagging purposes
-sfdisk -C 640 -H 2 -S 32 -L /dev/sda <<EOF
-,1
-,213
-,213
-,213
+sfdisk -C 1280 -H 2 -S 32 -L /dev/sda <<EOF
+,16
+,400
+,400
+,400
 EOF
 mdadm --create /dev/md0 --run --auto=yes --level=5 --raid-devices=3 /dev/sda2 /dev/sda3 /dev/sda4
 # wait for the array to finish initailizing, otherwise this sometimes fails
index c2d3cd9..3018418 100755 (executable)
@@ -51,7 +51,7 @@ test_run() {
 
 test_setup() {
     # Create the blank file to use as a root filesystem
-    dd if=/dev/zero of=root.ext2 bs=1M count=20
+    dd if=/dev/zero of=root.ext2 bs=1M count=40
  
     kernel=$KVERSION
     # Create what will eventually be our root filesystem onto an overlay