Pokuseli jsme se nainstalovat GG serverovou verzi na dva ciste disky. U rozdeleni disku bylo vybrano vytvorit sw raid 1. Kdyz jsou pripojeny oba disky sytem nabootuje ale jakmile se jeden z nich odpoji vypise grub bud ze disk neexistuje u jednoho disku nebo error 21 u druheho.
Nynejsi stav je tento:
fdsik -l
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000b20ef
Device Boot Start End Blocks Id System
/dev/sda1 * 1 30401 244196001 5 Extended
/dev/sda5 1 29640 238083237 fd Linux raid autodetect
/dev/sda6 29641 30401 6112701 82 Linux swap / Solaris
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xccc79251
Device Boot Start End Blocks Id System
/dev/sdb1 1 29644 238115398+ fd Linux raid autodetect
/dev/sdb2 29645 30401 6080602+ 5 Extended
/dev/sdb5 29645 30401 6080571 82 Linux swap / Solaris
Disk /dev/md0: 243.8 GB, 243830095872 bytes
2 heads, 4 sectors/track, 59528832 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md0 doesn't contain a valid partition table
mdadm --detail /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Sun Feb 3 22:20:54 2008
Raid Level : raid1
Array Size : 238115328 (227.08 GiB 243.83 GB)
Used Dev Size : 238115328 (227.08 GiB 243.83 GB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Tue Feb 5 11:08:48 2008
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
UUID : bece1893:aee2a2a1:064df6bd:ca39f0f3 (local to host penelope)
Events : 0.19836
Number Major Minor RaidDevice State
0 8 17 0 active sync /dev/sdb1
1 0 0 1 removed
/boot/grub/menu.lst
title Ubuntu 7.10, kernel 2.6.22-14-server
root (hd1,0)
kernel /boot/vmlinuz-2.6.22-14-server root=/dev/md0 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-server
quiet
title Ubuntu 7.10, kernel 2.6.22-14-server (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.22-14-server root=/dev/md0 ro single
initrd /boot/initrd.img-2.6.22-14-server
title Ubuntu 7.10, memtest86+
root (hd1,0)
kernel /boot/memtest86+.bin
quiet
Grub jsem zavedl na oba disky
Predem dekuji za kazdou radu.