#!/bin/bash

# Set large readahead to minimize disk activity
/sbin/blockdev --setra 16384 /dev/VolGroup00/LogVol00
/sbin/blockdev --setra 16384 /dev/hda1

# Remount partitions with noatime and commit=1800 to prevent ext3 journal flush
/bin/sync
/bin/mount /dev/VolGroup00/LogVol00 -t ext3 / -o remount,commit=1800,noatime
/bin/mount /dev/hda1 -t ext3 /boot  -o remount,commit=1800,noatime
