[DRBD-cvs] svn commit by lars - r1986 - in branches/drbd-0.7: . debian documentation drbd - some documentation cleanups

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Mon Oct 17 16:29:24 CEST 2005


Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: lars
Date: 2005-10-17 16:29:23 +0200 (Mon, 17 Oct 2005)
New Revision: 1986

Removed:
   branches/drbd-0.7/documentation/NFS-Server-README.txt
Modified:
   branches/drbd-0.7/INSTALL
   branches/drbd-0.7/README
   branches/drbd-0.7/debian/drbd0.7-utils.docs
   branches/drbd-0.7/drbd/drbd_sizeof_sanity_check.c
Log:
some documentation cleanups

Modified: branches/drbd-0.7/INSTALL
===================================================================
--- branches/drbd-0.7/INSTALL	2005-10-17 13:40:11 UTC (rev 1985)
+++ branches/drbd-0.7/INSTALL	2005-10-17 14:29:23 UTC (rev 1986)
@@ -22,7 +22,7 @@
 	http://www.drbd.org
 	http://www.drbd.org/drbd-article.html
 	http://www.linux-mag.com/2003-11/toc.html
-	http://linuxha.trick.ca/DRBD , and of course,
+	http://www.linux-ha.org/DRBD , and of course,
 	http://www.drbd.org/support.html
 
 == Prerequisites ==
@@ -244,7 +244,7 @@
    Added on your feedback and request, if necessary... ;-)
 
    Also, have a look at http://www.drbd.org , the FAQ at
-   http://linuxha.trick.ca/DRBD , and the other links mentioned
+   http://www.linux-ha.org/DRBD , and the other links mentioned
    at the top of this page.
 
 == Building a .rpm of it ==

Modified: branches/drbd-0.7/README
===================================================================
--- branches/drbd-0.7/README	2005-10-17 13:40:11 UTC (rev 1985)
+++ branches/drbd-0.7/README	2005-10-17 14:29:23 UTC (rev 1986)
@@ -3,13 +3,17 @@
 				======
         		   by Philipp Reisner
 		   		   
-
 Reference documentation is included in the documentation directory.
 
+Please refer to the web pages at
+http://www.drbd.org/ and 
+http://www.linux-ha.org/DRBD
+http://www.linux-ha.org/DRBD/FAQ
+to find maintained information.
+
 Please have a look at INSTALL or INSTALL.html, too.
 BTW, if there is no INSTALL.html, say "make INSTALL.html" :)
 
-
 DEBUGING:
 ---------
 
@@ -25,15 +29,3 @@
 
 Read INSTALL.
 
- 
-GENERAL ISSUES
---------------
-
-Unfortunately our time does not allow us to
-maintain this README besides the software. 
-
-Please refer to the web pages at
-http://www.drbd.org/ and 
-http://linuxha.trick.ca/DRBD
-to find maintained information.
-

Modified: branches/drbd-0.7/debian/drbd0.7-utils.docs
===================================================================
--- branches/drbd-0.7/debian/drbd0.7-utils.docs	2005-10-17 13:40:11 UTC (rev 1985)
+++ branches/drbd-0.7/debian/drbd0.7-utils.docs	2005-10-17 14:29:23 UTC (rev 1986)
@@ -1,3 +1,3 @@
-documentation/NFS-Server-README.txt
+documentation/README
 upgrade_0.6.x_to_0.7.0.txt
 upgrade_0.7.0_to_0.7.1.txt

Deleted: branches/drbd-0.7/documentation/NFS-Server-README.txt
===================================================================
--- branches/drbd-0.7/documentation/NFS-Server-README.txt	2005-10-17 13:40:11 UTC (rev 1985)
+++ branches/drbd-0.7/documentation/NFS-Server-README.txt	2005-10-17 14:29:23 UTC (rev 1986)
@@ -1,99 +0,0 @@
-
-NOTE:
-  with recent drbd (>= 0.7)
-  you typically NOT place any entries in /etc/fstab,
-  and the device names are /dev/drbdX instead of /dev/nbX
-
-This file should be replaced by a proper howto.
-someone vonlunteers to write one?
-
-see also the pages at linux-ha.org,
-  there should be more, and more recent,
-  info on this and related topics:
-  
-  http://linuxha.trick.ca/
-  http://www.linux-ha.org/
-
--- lge
-
-=========================================
-
-
-From: Erik de Wilde <E.deWilde at eijsink.nl>
-Subject: Re: [DRBD-dev] Bad performance when disks mounted with sync but data
-+corruption without sync
-To: Philipp Reisner <philipp.reisner at linbit.com>
-Cc: drbd-devel at lists.sourceforge.net
-From E.deWilde at eijsink.nl  Tue Feb 26 14:10:30 2002
-
-Hi,
-
-I did some testing, and I think I know what gave me the bad throughput
-
-I rebuild the filesystem on /dev/nb0 with reiserfs v3.6 in order not to
-have to use the sync option for mounting /dev/nbo
-on the server.  This didn't give me a good throughput, but it doubled
-from 64kB/sec to 128kB/sec, without data corruption on failover.
-
-I discovered I was using the sync option while mounting the filesystem
-on the workstation. I turned this off and guess what,
-througput now is about 2.5MB/sec, also without data-corruption during
-fail-over.
-
-I was wondering what would happen if I also turned off sync and
-no_wdelay on the server.
-Well, I tried and througput was 4.2MB/sec BUT I got DATA-CORRUPTION
-during failover.
-
-Conclusions:
-
-If using a non-journalling filesystem like ext2 one should mount
-/dev/nb0 with the sync option. (Why things where messed up for me using
-ext3 is still not clear to me). The sync option is not needed for
-journalling filesystems like reiserfs
-Example fstab entries (Just use one for each nbd device) for mounting
-/dev/nb0 on /drbd0:
-/dev/nb0        /drbd0  ext2             noauto,sync  0 0
-/dev/nb0        /drbd0  reiserfs        noauto          0 0
-
-Use the sync and no_wdelay option in your /etc/exports file on the
-server or else you will get data-corruption on fail-over
-Exampe exports entries:
-/drbd0/export         *(rw,no_root_squash,sync,no_wdelay)
-
-Do NOT USE THE SYNC OPTION while mounting the NFS filesystem on your
-client (workstation). When you do, things
-will slow down terribly
-
-Regards, Erik de Wilde
-
-
-From: Erik de Wilde <E.deWilde at eijsink.nl>
-Subject: [DRBD-dev] Stale NFS handles
-Date: Tue, 05 Mar 2002 16:27:34 +0100
- 
-Hello,
- 
-I read some messages about stale NFS handles and I thought some of you
-would be interested in this information.
-Until a few hours ago I got Stale NFS handles during fail-back
-operation, and it was reproducable.
-I first thought there was something wrong with DRBD's sync or that it
-had to do with heartbeat, but no, it
-was my nfsserver script that was causing them.
-In my nfsserver script there was the following line:
-/usr/sbin/exportfs -au
-This causes an unexport of all directories, which means that your server
-is really telling to its clients that it is going down, and this
-definitly is something YOU DO NOT WANT TO HAPPEN.
-Just execute the command on your server while copying big files to your
-server and look at the screen of your workstation.
- 
-So, if you don't want the Stale NFS handles to occur, just get rid of
-the line containing something like /usr/sbin/exportfs -au
-And, do not forget to do the same for the script in the /etc/rc.d (or
-/etc/init.d) directory or you will still get the same
-to happen when rebooting your fileserver (the one that is  actually
-exporting the filesystem at that moment)
- 
-Regards, Erik de Wilde

Modified: branches/drbd-0.7/drbd/drbd_sizeof_sanity_check.c
===================================================================
--- branches/drbd-0.7/drbd/drbd_sizeof_sanity_check.c	2005-10-17 13:40:11 UTC (rev 1985)
+++ branches/drbd-0.7/drbd/drbd_sizeof_sanity_check.c	2005-10-17 14:29:23 UTC (rev 1986)
@@ -1,10 +1,6 @@
 #include <linux/drbd.h>
-#include <linux/linkage.h>
+#include <linux/kernel.h>
 
-/* from linux/kernel.h */
-asmlinkage int printk(const char * fmt, ...)
-	__attribute__ ((format (printf, 1, 2)));
-
 #define SZO(type,size) \
 	s = sizeof(type); \
 	if (s != size) { \



More information about the drbd-cvs mailing list