TEST-10: double disk space
authorHarald Hoyer <harald@redhat.com>
Wed, 31 Jul 2013 07:57:57 +0000 (09:57 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 31 Jul 2013 07:57:57 +0000 (09:57 +0200)
test/TEST-10-RAID/create-root.sh
test/TEST-10-RAID/test.sh

index 7c026690ca8efd981154808796625b60bb31cd48..68face8a68d385d43a61d33ec4464cb2951297c4 100755 (executable)
@@ -6,11 +6,11 @@ done
 rm -f -- /etc/lvm/lvm.conf
 udevadm control --reload
 # save a partition at the beginning for future flagging purposes
-sfdisk -C 1280 -H 2 -S 32 -L /dev/sda <<EOF
-,16
-,400
-,400
-,400
+sfdisk -C 2560 -H 2 -S 32 -L /dev/sda <<EOF
+,32
+,800
+,800
+,800
 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 e24b9a0b7a1d4738b5e891eb1b686a839a98e186..b6af703a2045d0f2900d888fe5473f8f4d0399c4 100755 (executable)
@@ -5,7 +5,7 @@ KVERSION=${KVERSION-$(uname -r)}
 
 # Uncomment this to debug failures
 #DEBUGFAIL="rd.shell rd.udev.log-priority=debug loglevel=70 systemd.log_target=kmsg"
-#DEBUGFAIL="rd.debug rd.break=pre-mount rd.shell"
+#DEBUGFAIL="rd.break rd.shell"
 test_run() {
     DISKIMAGE=$TESTDIR/TEST-10-RAID-root.img
     $testdir/run-qemu \
@@ -21,7 +21,7 @@ test_setup() {
     DISKIMAGE=$TESTDIR/TEST-10-RAID-root.img
     # Create the blank file to use as a root filesystem
     rm -f -- $DISKIMAGE
-    dd if=/dev/null of=$DISKIMAGE bs=1M seek=40
+    dd if=/dev/null of=$DISKIMAGE bs=1M seek=80
 
     kernel=$KVERSION
     # Create what will eventually be our root filesystem onto an overlay