[Fai-commit] r6769 - trunk/man

Michael Tautschnig mt at alioth.debian.org
Sun Oct 23 18:39:05 UTC 2011


Author: mt
Date: 2011-10-23 18:39:05 +0000 (Sun, 23 Oct 2011)
New Revision: 6769

Modified:
   trunk/man/setup-storage.8
Log:
setup-storage.8: added Holger's example for SW RAID+LVM

Closes: #645167

Added the proposed example together with the Thomas' suggested change of using
GB for larger quantities.

Thanks: Holger Levsen


Modified: trunk/man/setup-storage.8
===================================================================
--- trunk/man/setup-storage.8	2011-10-23 18:36:27 UTC (rev 6768)
+++ trunk/man/setup-storage.8	2011-10-23 18:39:05 UTC (rev 6769)
@@ -1,4 +1,4 @@
-.TH setup-storage 8 "June 29, 2010" "Debian/GNU Linux"
+.TH setup-storage 8 "October 23, 2011" "Debian/GNU Linux"
 .SH NAME
 \fBsetup-storage\fP
 \- automatically prepare storage devices
@@ -270,6 +270,45 @@
 This volume group hosts two logical volumes: _swap and _root.
 
 .TP
+LVM on software RAID
+.sp
+.nf
+.ta 18n 28n 38n 45n 55n
+disk_config sda
+primary	-	256	-	-
+primary	swap	8G	swap	sw
+primary	-	0-	-	-
+
+disk_config sdb
+primary	-	256	-	-
+primary	swap	8G	swap	sw
+primary	-	0-	-	-
+
+disk_config raid fstabkey:uuid
+raid1	/	sda1,sdb1	ext4	rw,noatime,errors=remount-ro
+raid1	-	sda3,sdb3	ext4	default
+
+disk_config lvm fstabkey:uuid
+vg	vg_system	md1
+vg_system-usr	/usr	8G	ext4	rw,noatime
+vg_system-var	/var	16G	ext4	rw,noatime
+vg_system-varlog	/var/log	8G	ext4	rw,noatime
+vg_system-srv	/srv	32G	ext4	rw,noatime
+vg_system-tmp	/tmp	32G	ext4	rw,noatime
+.sp
+.fi
+.PP
+.IP \(bu
+Configure /dev/sda and /dev/sdb with three partitions each.
+.IP \(bu
+The first partitions of each device are bundled into a RAID 1 (/dev/md0), which
+will be mounted at /.
+.IP \(bu
+The third partitions of each device are combined as another RAID 1, but not
+mounted. Instead, the resulting device /dev/md1 is used to host the LVM volume
+group vg_system.
+
+.TP
 Crypt example
 .sp
 .nf
@@ -697,7 +736,7 @@
 
 .SH CAVEATS
 .IP \(bu
-Machine does not boot because not partition is marked as bootable: If the
+Machine does not boot because no partition is marked as bootable: If the
 bootable option is not specified, not partition will be marked as such. Modern
 BIOSes don't seem to require such markers anymore, but for some systems it may
 still be necessary. Previous versions of setup-storage by default marked the




More information about the Fai-commit mailing list