Wednesday, November 14, 2007

Fedora-install-media.repo

use autofs to mount the image

have the belowin /etc/yum.repos.d/Fedora-install-media.repo
[InstallMedia]
name = Fedora 8
mediaid=1194015916.783841
metadata_expire=-1
gpgcheck = 0
cost=500
baseurl = file:///mnt/disk/3/ (this line is required to autofs mount the device with the iso image)
file:///misc/Fedora8/ (use autofs to mount the iso for actual use)
failovermethod=priority

Tuesday, November 06, 2007

Build my Linux Software RAID5 at home

It is great.

I create raid5 with 3 disk
then add one more disk by

mdadm --manage /dev/mdX --add /dev/sd?1
mdadm --grow /dev/mdX --raid-devices=4 (original is 3)

This will reshape at the back. Very slow but find the below to speed up

In Fedora 7, original value
cat /proc/sys/dev/raid/speed_limit_min ==> 1000
echo 100000 > /proc/sys/dev/raid/speed_limit_min

Monday, November 05, 2007

MBR fixes

MBR appears to be blank.
You can add an MBR to this device with
# cat /usr/lib/syslinux/mbr.bin > /dev/sdk