test/TEST-13-ENC-RAID-LVM: double test root disk space

master
Harald Hoyer 2011-04-28 17:32:56 +02:00
parent c3f7567a65
commit a7ee1cd7f6
2 changed files with 5 additions and 5 deletions

View File

@ -7,11 +7,11 @@ done
rm /etc/lvm/lvm.conf rm /etc/lvm/lvm.conf
udevadm control --reload-rules udevadm control --reload-rules
# save a partition at the beginning for future flagging purposes # save a partition at the beginning for future flagging purposes
sfdisk -C 1280 -H 2 -S 32 -L /dev/sda <<EOF sfdisk -C 2560 -H 2 -S 32 -L /dev/sda <<EOF
,16 ,16
,400 ,800
,400 ,800
,400 ,800
EOF EOF
echo -n test >keyfile echo -n test >keyfile
cryptsetup -q luksFormat /dev/sda2 /keyfile cryptsetup -q luksFormat /dev/sda2 /keyfile

View File

@ -44,7 +44,7 @@ test_run() {


test_setup() { test_setup() {
# Create the blank file to use as a root filesystem # Create the blank file to use as a root filesystem
dd if=/dev/zero of=root.ext2 bs=1M count=40 dd if=/dev/zero of=root.ext2 bs=1M count=80


kernel=$KVERSION kernel=$KVERSION
# Create what will eventually be our root filesystem onto an overlay # Create what will eventually be our root filesystem onto an overlay