[debian-lan-devel] [SCM] Debian-LAN development and packaging branch, master, updated. e3fbddc7f4a0de0bde5ba7fefa4b80c451be86f7

Andreas B. Mundt andi.mundt at web.de
Mon Apr 2 16:54:24 UTC 2012


The following commit has been merged in the master branch:
commit e3fbddc7f4a0de0bde5ba7fefa4b80c451be86f7
Author: Andreas B. Mundt <andi.mundt at web.de>
Date:   Mon Apr 2 18:49:10 2012 +0200

    Add configuration for RAID1 (mirroring).

diff --git a/fai/config/disk_config/RAIDLVM6_A b/fai/config/disk_config/RAIDLVM6_A
new file mode 100644
index 0000000..107e857
--- /dev/null
+++ b/fai/config/disk_config/RAIDLVM6_A
@@ -0,0 +1,23 @@
+disk_config  disk1
+primary  -  64-256    -  -
+primary  -  64-2096   -  -
+logical  -   0-       -  -
+
+disk_config  disk2
+primary  -  64-256    -  -
+primary  -  64-2096   -  -
+logical  -   0-       -  -
+
+
+disk_config  raid
+raid1  /boot  disk1.1,disk2.1  ext3  rw
+raid1  swap   disk1.2,disk2.2  swap  sw
+raid1  -      disk1.5,disk2.5  -     -
+
+
+disk_config  lvm
+vg  vg_system  md2
+vg_system-root  /      1G-2G     ext3  errors=remount-ro
+vg_system-usr   /usr   2G-20G    ext3  defaults
+vg_system-var   /var   1G-20G    ext3  defaults
+vg_system-home  /lan/mainserver/home0  2G-90%  ext3  defaults
diff --git a/fai/config/disk_config/RAIDLVM7_A b/fai/config/disk_config/RAIDLVM7_A
new file mode 100644
index 0000000..acadfd5
--- /dev/null
+++ b/fai/config/disk_config/RAIDLVM7_A
@@ -0,0 +1,24 @@
+disk_config  disk1
+primary  -  64-256    -  -
+primary  -  64-2096   -  -
+logical  -   0-       -  -
+
+disk_config  disk2
+primary  -  64-256    -  -
+primary  -  64-2096   -  -
+logical  -   0-       -  -
+
+
+disk_config  raid
+raid1  /boot  disk1.1,disk2.1  ext3  rw
+raid1  swap   disk1.2,disk2.2  swap  sw
+raid1  -      disk1.5,disk2.5  -     -
+
+
+disk_config  lvm
+vg  vg_system  md2
+vg_system-root  /      1G-2G     ext3  errors=remount-ro
+vg_system-usr   /usr   2G-20G    ext3  defaults
+vg_system-var   /var   1G-20G    ext3  defaults
+vg_system-opt   /opt   4G-10G    ext3  defaults
+vg_system-home  /lan/mainserver/home0  2G-90%  ext3  defaults
diff --git a/fai/config/package_config/NTP_SERVER b/fai/config/package_config/RAID
similarity index 52%
copy from fai/config/package_config/NTP_SERVER
copy to fai/config/package_config/RAID
index dc0a6a0..2d95eb7 100644
--- a/fai/config/package_config/NTP_SERVER
+++ b/fai/config/package_config/RAID
@@ -1,4 +1,4 @@
-## Only list packages that are essential for the NTPSERVER class.
+## Only list packages that are essential for the RAID class.
 ## Put all setup-dependent packages in the SETUP_* class.
 PACKAGES aptitude
-ntp
+mdadm

-- 
Debian-LAN development and packaging



More information about the debian-lan-devel mailing list