[DRBD-cvs] r1473 - in trunk: . debian drbd/linux
drbd-user@lists.linbit.com
drbd-user@lists.linbit.com
Fri, 30 Jul 2004 14:33:05 +0200 (CEST)
Author: phil
Date: 2004-07-30 14:33:05 +0200 (Fri, 30 Jul 2004)
New Revision: 1473
Modified:
trunk/debian/changelog
trunk/drbd.spec.in
trunk/drbd/linux/drbd_config.h
trunk/upgrade_0.7.0_to_0.7.1.txt
Log:
Slowly preparing the 0.7.1 release...
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2004-07-30 12:26:17 UTC (rev 1472)
+++ trunk/debian/changelog 2004-07-30 12:33:05 UTC (rev 1473)
@@ -1,3 +1,20 @@
+drbd (0.7.1-1) unstable; urgency=low
+
+ * Upgrade instructions for 0.6.x -> 0.7.0 and 0.7.0 -> 0.7.1
+ * Workaround for XFS' IO requests with page count of zero.
+ * Handle the human and the timeout count correctly in the new init script.
+ * The implementation of the incon-degr-cmd was missing, added.
+ * Longer timeouts in drbdadm for drbdsetup commands witch operate on
+ meta data.
+ * New major number 147 (officially registered at lanana.org).
+ * Added a missing w_resume_next_wg() in case we stop syncing because
+ of connection loss.
+ * Fixed a Linux-2.2-ismus in recieve_data_tail(). Should considerably
+ speed up protocols A and B.
+ * Some work on vendor kernel compatibility
+
+ -- Philipp Reisner <phil@linbit.com> Fri, 30 Jul 2004 13:50:33 +0200
+
drbd (0.7.0-1) unstable; urgency=low
* s/WriteHint/UnplugRemote/g
@@ -18,7 +35,7 @@
* makefile adjusted to recognize svn revision and date tags
* updates and fixes to the test helpers and bash test cases
- -- Philipp Reisner <phil@linbit.com> Fri, 16 Jul 2004 10:13:33 +0200
+ -- Philipp Reisner <phil@linbit.com> Fri, 16 Jul 2004 10:13:33 +0200
drbd (0.7_pre10-1) unstable; urgency=low
Modified: trunk/drbd/linux/drbd_config.h
===================================================================
--- trunk/drbd/linux/drbd_config.h 2004-07-30 12:26:17 UTC (rev 1472)
+++ trunk/drbd/linux/drbd_config.h 2004-07-30 12:33:05 UTC (rev 1473)
@@ -22,7 +22,7 @@
extern const char * drbd_buildtag(void);
-#define REL_VERSION "0.7.0"
+#define REL_VERSION "0.7.1"
#define API_VERSION 75
#define PRO_VERSION 74
Modified: trunk/drbd.spec.in
===================================================================
--- trunk/drbd.spec.in 2004-07-30 12:26:17 UTC (rev 1472)
+++ trunk/drbd.spec.in 2004-07-30 12:33:05 UTC (rev 1473)
@@ -177,6 +177,21 @@
/sbin/depmod -a -F /boot/System.map-%{kernelversion} %{kernelversion} >/dev/null 2>&1 || true
%changelog
+* Fri Jul 30 2004 13:50:38 +0200 Philipp Reisner <phil@linbit.com>
+- drbd (0.7.1-1)
+ * Upgrade instructions for 0.6.x -> 0.7.0 and 0.7.0 -> 0.7.1
+ * Workaround for XFS' IO requests with page count of zero.
+ * Handle the human and the timeout count correctly in the new init script.
+ * The implementation of the incon-degr-cmd was missing, added.
+ * Longer timeouts in drbdadm for drbdsetup commands witch operate on
+ meta data.
+ * New major number 147 (officially registered at lanana.org).
+ * Added a missing w_resume_next_wg() in case we stop syncing because
+ of connection loss.
+ * Fixed a Linux-2.2-ismus in recieve_data_tail(). Should considerably
+ speed up protocols A and B.
+ * Some work on vendor kernel compatibility
+
* Mon Jul 26 2004 18:39:38 +0200 Lars Ellenberg <l.g.e@web.de>
- update to SVN revision http://svn.drbd.org/drbd/trunk@1456
- drbd (0.7.0-1)
Modified: trunk/upgrade_0.7.0_to_0.7.1.txt
===================================================================
--- trunk/upgrade_0.7.0_to_0.7.1.txt 2004-07-30 12:26:17 UTC (rev 1472)
+++ trunk/upgrade_0.7.0_to_0.7.1.txt 2004-07-30 12:33:05 UTC (rev 1473)
@@ -4,23 +4,36 @@
With drbd-0.7.1 we have our own major number, and our own device
files. (=No longer misuse /dev/nbX)
-* Start on the node, on which all devices are secondary.
-* /etc/init.d/drbd stop
-* Install drbd-0.7.1
-* Run these commands as root:
+You can either go with the new major number: Plan A (recommendet)
+Or stay with the old major number: Plan B
-sed -e "s,/dev/nb,/dev/drbd,g" < /etc/drbd.conf > /etc/drbd.conf_new
-mv /etc/drbd.conf /etc/drbd.conf_old ; mv /etc/drbd.conf_new /etc/drbd.conf
-sed -e "s,/dev/nb,/dev/drbd,g" < /etc/fstab > /etc/fstab_new
-mv /etc/fstab /etc/fstab_old ; mv /etc/fstab_new /etc/fstab
-sed -e "s,/dev/nb,/dev/drbd,g" < /etc/ha.d/haresources > /etc/ha.d/haresources_new
-mv /etc/ha.d/haresources /etc/ha.d/haresources_old ; mv /etc/ha.d/haresources_new /etc/ha.d/haresources
+Plan A)
+ * Start on the node, on which all devices are secondary.
+ * /etc/init.d/drbd stop
+ * Install drbd-0.7.1
+ * Run these commands as root:
- or alternatively:
- perl -i_old 's,/dev/nb,/dev/drbd,g' /etc/{drbd.conf,fstab,ha.d/haresources}
+ sed -e "s,/dev/nb,/dev/drbd,g" < /etc/drbd.conf > /etc/drbd.conf_new
+ mv /etc/drbd.conf /etc/drbd.conf_old ; mv /etc/drbd.conf_new /etc/drbd.conf
+ sed -e "s,/dev/nb,/dev/drbd,g" < /etc/fstab > /etc/fstab_new
+ mv /etc/fstab /etc/fstab_old ; mv /etc/fstab_new /etc/fstab
+ sed -e "s,/dev/nb,/dev/drbd,g" < /etc/ha.d/haresources > /etc/ha.d/haresources_new
+ mv /etc/ha.d/haresources /etc/ha.d/haresources_old ; mv /etc/ha.d/haresources_new /etc/ha.d/haresources
-for i in `seq 0 15` ; do mknod /dev/drbd$i b 147 $i; done
+ or alternatively:
+ perl -i_old 's,/dev/nb,/dev/drbd,g' /etc/{drbd.conf,fstab,ha.d/haresources}
-* /etc/init.d/drbd start
-* migrate all services to the just upgraded node and
- upgrade the other node.
+ for i in `seq 0 15` ; do mknod /dev/drbd$i b 147 $i; done
+
+ * /etc/init.d/drbd start
+ * migrate all services to the just upgraded node and
+ upgrade the other node.
+
+Plan B)
+ * Create the file "/etc/default/drbd" with the content
+ --snip--
+ ADD_MOD_PARAM="use_nbd_major=1"
+ --snap--
+ * Do the usual update procedure.
+
+