From 5a81678219a2cbf6f39e47f85d2fcb525ac2143c Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 25 Apr 2012 14:23:12 +0200 Subject: [PATCH] TEST-15-BTRFSRAID: add one more partition to the btrfs raid10 --- test/TEST-15-BTRFSRAID/create-root.sh | 12 +++++++++--- test/TEST-15-BTRFSRAID/test.sh | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/test/TEST-15-BTRFSRAID/create-root.sh b/test/TEST-15-BTRFSRAID/create-root.sh index 60dd319..3debf33 100755 --- a/test/TEST-15-BTRFSRAID/create-root.sh +++ b/test/TEST-15-BTRFSRAID/create-root.sh @@ -5,17 +5,23 @@ for x in 64-lvm.rules 70-mdadm.rules 99-mount-rules; do done udevadm control --reload-rules # save a partition at the beginning for future flagging purposes -sfdisk -C 524288 -H 2 -S 32 -L /dev/sda </dev/sda1 diff --git a/test/TEST-15-BTRFSRAID/test.sh b/test/TEST-15-BTRFSRAID/test.sh index f64b2b2..b65e77a 100755 --- a/test/TEST-15-BTRFSRAID/test.sh +++ b/test/TEST-15-BTRFSRAID/test.sh @@ -20,7 +20,7 @@ test_setup() { # Create the blank file to use as a root filesystem DISKIMAGE=$TESTDIR/TEST-15-BTRFSRAID-root.img rm -f $DISKIMAGE - dd if=/dev/null of=$DISKIMAGE bs=1M seek=1024 + dd if=/dev/null of=$DISKIMAGE bs=2M seek=1024 kernel=$KVERSION # Create what will eventually be our root filesystem onto an overlay