Raid, reiserfs, and FAI
Thomas Lange
lange at informatik.Uni-Koeln.DE
Tue Aug 6 19:13:00 CEST 2002
>>>>> On Mon, 29 Jul 2002 14:54:35 -0400, Devlin <devlin at softhome.net> said:
> Also, the fix needed to integrate with a normal, non-RAID FAI
> installation. Thus it could be easily accepted into the
> distribution, and future releases would work with or without
> partition.RAID .
I would like to rewrite the setup_hardisks code completly from scratch
because the current code is very bad. Plans for this are very old, but
I have not time to this until now. Some other features in FAI are more
important. Yann Dirson created the libparted-swig-perl package, so now
we have a object oriented perl interface to parted. Then a new Perl
script for partitioning the harddisk could be written. One thing to do
is, to extend the disk configuration description, so raid, lvm,.. will
be well supported. Maybe it would be good to create several small
scripts to implement the create partitios, create filesystems, enable
raid, lvm,.. parts. Then it should be possible to tranfer some
information from the "create partitions" part to "enable raid, lvm" part.
I think it's not worth to put that much time to change
setup_harddisks, since it has its limits.
But I do not know, when I have to do this. I also have no experiences
in running raid, lvm,.. to test this parts. Maybe someone else want to
do this job and create a very nicht, object oriented Perl script, and
makes a Debian package out of it ? And I will not use python or
flacky shell scripts for this part.
> 1) Read configuration
> 2) Make disk devices (e.g., mknod)
> 3) Set disk devices up (e.g., hdparm)
> 4) Make partition devices (e.g., sfdisk)
> 5) Set partition devices up (e.g., mkraid && raidstart)
> 6) Make filesystems (e.g., mkfs)
> 7) Set filesystems up (e.g., tune2fs)
> 8) Write configuration (i.e., fstab, raidtab, $DISKVAR)
This is a very good approach, I think.
Some time ago, I received a proposal how to support LVM in a new
disk_config description. Some interested in it ? Does somebody like to
start work on a new setup_harddisk script ?
--
Gruss Thomas
More information about the linux-fai
mailing list