fixed for 768MB runs

--HG--
extra : convert_revision : c86b282788919d414470aaf551094fee1bebbbab
This commit is contained in:
Ali Saidi 2004-11-16 00:34:45 -05:00
parent 1da2738d9b
commit 82235799d3
2 changed files with 9 additions and 9 deletions

View file

@ -4,7 +4,7 @@
# #
echo -n "mounting swap..." echo -n "mounting swap..."
/sbin/swapon /dev/hdc1 /sbin/swapon /dev/hdc
echo "done." echo "done."
echo -n "setting up network..." echo -n "setting up network..."
@ -45,6 +45,6 @@ mkdir /nfs
mount 10.0.0.1:/nfs /nfs mount 10.0.0.1:/nfs /nfs
echo "done." echo "done."
/bin/bonnie++ -u 99 -s 100 -r 0 -n 0 -d /nfs /bin/bonnie++ -u 99 -s 700 -r 0 -n 0 -d /nfs
/sbin/m5 exit /sbin/m5 exit

View file

@ -4,7 +4,7 @@
# #
echo -n "mounting swap..." echo -n "mounting swap..."
/sbin/swapon /dev/hdc1 /sbin/swapon /dev/hdc
echo "done." echo "done."
echo -n "setting up network..." echo -n "setting up network..."
@ -38,16 +38,16 @@ echo "done."
# mknod /dev/sda1 b 8 1 # mknod /dev/sda1 b 8 1
#fi #fi
/sbin/insmod /modules/scsi_debug.ko dev_size_mb=128 /sbin/insmod /modules/scsi_debug.ko dev_size_mb=768
echo -n "creating partition and formatting..." echo -n "creating partition and formatting..."
echo "1,120,L" > /tmp/sfdisk.run #echo "1,767,L" > /tmp/sfdisk.run
/usr/sbin/sfdisk -uM --force /dev/sda < /tmp/sfdisk.run #/usr/sbin/sfdisk -uM --force /dev/sda < /tmp/sfdisk.run
/sbin/mke2fs /dev/sda1 /sbin/mke2fs -F /dev/sda
mkdir /nfs mkdir /nfs
/bin/mount /dev/sda1 /nfs /bin/mount /dev/sda /nfs
chmod a+rwx /nfs chmod a+rwx /nfs
/usr/sbin/sfdisk -uM -l /dev/sda #/usr/sbin/sfdisk -uM -l /dev/sda
echo "done." echo "done."
echo "/nfs 10.0.0.0/255.0.0.0(rw,sync,no_root_squash)" > /etc/exports echo "/nfs 10.0.0.0/255.0.0.0(rw,sync,no_root_squash)" > /etc/exports