From: Harald Hoyer Date: Wed, 25 Apr 2012 12:23:12 +0000 (+0200) Subject: TEST-15-BTRFSRAID: add one more partition to the btrfs raid10 X-Git-Tag: 019~83 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a81678219a2cbf6f39e47f85d2fcb525ac2143c;p=thirdparty%2Fdracut.git TEST-15-BTRFSRAID: add one more partition to the btrfs raid10 --- diff --git a/test/TEST-15-BTRFSRAID/create-root.sh b/test/TEST-15-BTRFSRAID/create-root.sh index 60dd3193d..3debf33c2 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 f64b2b293..b65e77a6b 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