[pve-devel] r6181 - pve-installer/pve2

svn-commits at proxmox.com svn-commits at proxmox.com
Mon Jun 27 08:42:31 CEST 2011


Author: dietmar
Date: 2011-06-27 08:42:30 +0200 (Mon, 27 Jun 2011)
New Revision: 6181

Modified:
   pve-installer/pve2/changelog
   pve-installer/pve2/proxinstall
Log:


Modified: pve-installer/pve2/changelog
===================================================================
--- pve-installer/pve2/changelog	2011-06-27 05:45:49 UTC (rev 6180)
+++ pve-installer/pve2/changelog	2011-06-27 06:42:30 UTC (rev 6181)
@@ -2,6 +2,8 @@
 
   * use ext4 fs
 
+  * mount with barrier=0 during install (speedup)
+	
   * write keyboard settings to /etc/pve-installer.cfg
 
   * adjust for pve2

Modified: pve-installer/pve2/proxinstall
===================================================================
--- pve-installer/pve2/proxinstall	2011-06-27 05:45:49 UTC (rev 6180)
+++ pve-installer/pve2/proxinstall	2011-06-27 06:42:30 UTC (rev 6181)
@@ -639,11 +639,11 @@
 	    syscmd ("udevadm trigger --subsystem-match block");
 	    syscmd ("udevadm settle --timeout 10");
 
-	    syscmd ("mount -n $rootdev $targetdir") == 0 ||
+	    syscmd ("mount -n $rootdev -o barrier=0 $targetdir") == 0 ||
 		die "unable to mount $rootdev\n";
 
 	    mkdir "$targetdir/boot";
-	    syscmd ("mount -n $bootdev $targetdir/boot") == 0 ||
+	    syscmd ("mount -n $bootdev -o barrier=0 $targetdir/boot") == 0 ||
 		die "unable to mount $bootdev\n";
 
 	    mkdir "$targetdir/var";




More information about the pve-devel mailing list