raid 1 setup with setup_harddisks by Sam Vilain

Joachim Schmitz js at aixtraware.de
Tue Dec 16 12:27:27 CET 2003


Hi,

I am trying to install a raid 1 setup with the scripts from:
  http://vilain.net/linux/fai/

my disk-config looks like this:

disk_config hda

primary  /              512          rw,errors=remount-ro ; raid(1,md0)
primary  swap     2048         rw                   ; raid(1,md1)
logical  /tmp    4000         rw,notail            ; raid(1,md2) -j ext3
logical  /usr    9000         rw,notail            ; raid(1,md3) -j ext3
logical  /var    9000         rw,notail            ; raid(1,md4) -j ext3
logical  /www    0-           rw                   ; raid(1,md5) -j ext3


disk_config hdc
primary  -              512                              ; raid(1,md0)
primary  -              2048                             ; raid(1,md1)
logical  -              4000                             ; raid(1,md2)
logical  -              9000                             ; raid(1,md3)
logical  -              9000                             ; raid(1,md4)
logical  -              0-                               ; raid(1,md5)

first I had to change line 480 in setup_harddisks to

$result = `sh -c "LC_ALL=C sfdisk /dev/hda /dev/hdc -g -q" 2>&1;

otherwise sfdisk stops with unknown devices.

afterthat I get the the attached format.log, which looks more or less ok 
to me.

the script to setup a grub-boot for this setup, which was posted here:
http://www.uni-koeln.de/bin2/maillist/linux-fai/20031105.181914/163187

fails with:

Can't match device:
at line 24 of this script, any help on this is welcome.








-- 
Mit freundlichen Grüßen                                Joachim Schmitz
......................................................................
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: format.log
Url: http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20031216/ee274c02/attachment.bat 


More information about the linux-fai mailing list