From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Philipp Reisner To: "Tristan Tjerks" Date: Tue, 23 Nov 2004 08:13:28 +0100 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411230813.28869.philipp.reisner@linbit.com> Cc: drbd-dev@linbit.com Subject: [Drbd-dev] Re: make disk ready for drbd List-Id: Coordination of development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Am Montag, 22. November 2004 17:38 schrieb Tristan Tjerks: > Thank you, > > Now Idea what went wrong. It was formatted okay as ext3. Now it works okay, > I just formatted it again and saved the partition again with fdisk. > > Is it normal that when you restart drbd on one server the whole system > crashes? I can not even kill anything, the whole Linux system hangs and I > have to press the reset button (it is a brand new Dell 2800 Dual Xeon > server)... > No, of course not! It should not hang or crash! Please, retry it and do it in this order: 1. Freshly boot the machine. 2. Start DRBD, (i.e. attach the /dev/drbd0 onto /dev/sda2 3. [optional] Start the peer node and start DRBD there, wait until the two are connected. 4. drbdadm primary r0 4. mkfs -t ext3 /dev/drbd0 5. mount /dev/drbd0 /mnt/something What I want to say here, do not access the backing storage directly: no mkfs -t ext3 on /dev/sda2, do not mount /dev/sda2 ! -philipp