[debian-lan-devel] [SCM] Debian-LAN development and packaging branch, squeeze, updated. 0.6-18-g763b078

Andreas B. Mundt andi at debian.org
Sun Sep 2 10:27:23 UTC 2012


The following commit has been merged in the squeeze branch:
commit 763b078fd470d967bc75d4736d72f061743672c1
Author: Andreas B. Mundt <andi at debian.org>
Date:   Sun Sep 2 11:50:35 2012 +0200

    Rework disk configuration.
    
    Add backup partition if no backup disk is used.  Increase the size of
    the root partition.  (Not necessarily needed, but convenient).

diff --git a/fai/config/class/50-host-classes b/fai/config/class/50-host-classes
index ee531e1..55c2f89 100755
--- a/fai/config/class/50-host-classes
+++ b/fai/config/class/50-host-classes
@@ -19,7 +19,8 @@
 ##
 ##     LVM*_A | RAIDLVM*_A RAID -->  RAID1 (mirroring)
 ##
-##     *BAK_A  -->  extra backup disk
+##     *BAK_A  -->  Extra backup disk, recommended.  Setups without backup
+##                  disk are intended for testing only.
 ##
 ##   Example classes that might be added:
 ##
diff --git a/fai/config/disk_config/LVM6BAK_A b/fai/config/disk_config/LVM6BAK_A
index bf70d64..1f25b7b 100644
--- a/fai/config/disk_config/LVM6BAK_A
+++ b/fai/config/disk_config/LVM6BAK_A
@@ -5,7 +5,7 @@ logical  -           0-        -       -
 
 disk_config lvm
 vg  vg_system  disk1.5
-vg_system-root  /      1G-2G     ext3  errors=remount-ro
+vg_system-root  /      1G-5G     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-70%  ext3  defaults
diff --git a/fai/config/disk_config/LVM6_A b/fai/config/disk_config/LVM6_A
index 7654bb8..8d6e878 100644
--- a/fai/config/disk_config/LVM6_A
+++ b/fai/config/disk_config/LVM6_A
@@ -5,7 +5,8 @@ logical  -           0-        -       -
 
 disk_config lvm
 vg  vg_system  disk1.5
-vg_system-root  /      1G-2G     ext3  errors=remount-ro
+vg_system-root  /      1G-5G     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-70%  ext3  defaults
+vg_system-home  /lan/mainserver/home0  1G-40%  ext3  defaults
+vg_system-backup /backup 1G-40%  ext3  defaults
diff --git a/fai/config/disk_config/LVM7BAK_A b/fai/config/disk_config/LVM7BAK_A
index 1218043..3e47385 100644
--- a/fai/config/disk_config/LVM7BAK_A
+++ b/fai/config/disk_config/LVM7BAK_A
@@ -5,7 +5,7 @@ logical  -           0-        -       -
 
 disk_config lvm
 vg  vg_system  disk1.5
-vg_system-root  /      1G-2G     ext3  errors=remount-ro
+vg_system-root  /      1G-5G     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
diff --git a/fai/config/disk_config/LVM7_A b/fai/config/disk_config/LVM7_A
index e8298f2..221d5f1 100644
--- a/fai/config/disk_config/LVM7_A
+++ b/fai/config/disk_config/LVM7_A
@@ -5,8 +5,9 @@ logical  -           0-        -       -
 
 disk_config lvm
 vg  vg_system  disk1.5
-vg_system-root  /      1G-2G     ext3  errors=remount-ro
+vg_system-root  /      1G-5G     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-70%  ext3  defaults
+vg_system-home  /lan/mainserver/home0  1G-40%  ext3  defaults
+vg_system-backup /backup 1G-40%  ext3  defaults
diff --git a/fai/config/disk_config/RAIDLVM6BAK_A b/fai/config/disk_config/RAIDLVM6BAK_A
index c6c2deb..37409a1 100644
--- a/fai/config/disk_config/RAIDLVM6BAK_A
+++ b/fai/config/disk_config/RAIDLVM6BAK_A
@@ -16,7 +16,7 @@ raid1  -      disk1.5,disk2.5  -     -
 
 disk_config  lvm  fstabkey:uuid
 vg  vg_system  md2
-vg_system-root  /      1G-2G     ext3  errors=remount-ro
+vg_system-root  /      1G-5G     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-70%  ext3  defaults
diff --git a/fai/config/disk_config/RAIDLVM6_A b/fai/config/disk_config/RAIDLVM6_A
index 2421a67..7f4fd1f 100644
--- a/fai/config/disk_config/RAIDLVM6_A
+++ b/fai/config/disk_config/RAIDLVM6_A
@@ -16,7 +16,8 @@ raid1  -      disk1.5,disk2.5  -     -
 
 disk_config  lvm  fstabkey:uuid
 vg  vg_system  md2
-vg_system-root  /      1G-2G     ext3  errors=remount-ro
+vg_system-root  /      1G-5G     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-70%  ext3  defaults
+vg_system-home  /lan/mainserver/home0  1G-40%  ext3  defaults
+vg_system-backup /backup 1G-40%  ext3  defaults
diff --git a/fai/config/disk_config/RAIDLVM7BAK_A b/fai/config/disk_config/RAIDLVM7BAK_A
index 095369c..014aef3 100644
--- a/fai/config/disk_config/RAIDLVM7BAK_A
+++ b/fai/config/disk_config/RAIDLVM7BAK_A
@@ -16,7 +16,7 @@ raid1  -      disk1.5,disk2.5  -     -
 
 disk_config  lvm  fstabkey:uuid
 vg  vg_system  md2
-vg_system-root  /      1G-2G     ext3  errors=remount-ro
+vg_system-root  /      1G-5G     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
diff --git a/fai/config/disk_config/RAIDLVM7_A b/fai/config/disk_config/RAIDLVM7_A
index 76dc5ae..da95318 100644
--- a/fai/config/disk_config/RAIDLVM7_A
+++ b/fai/config/disk_config/RAIDLVM7_A
@@ -16,8 +16,9 @@ raid1  -      disk1.5,disk2.5  -     -
 
 disk_config  lvm  fstabkey:uuid
 vg  vg_system  md2
-vg_system-root  /      1G-2G     ext3  errors=remount-ro
+vg_system-root  /      1G-5G     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-70%  ext3  defaults
+vg_system-home  /lan/mainserver/home0  1G-40%  ext3  defaults
+vg_system-backup /backup 1G-40%  ext3  defaults

-- 
Debian-LAN development and packaging



More information about the debian-lan-devel mailing list