Skip to contentSkip to conversation

make disk ready for drbd

Drbd-dev Philipp Reisner 1 participant 1 message Nov 23, 2004 1 message not in the archive DRBD driver

lore
Share & tools
lore

Philipp Reisner

author maintainer
#1 lore raw
In reply to a message not in the archive

Am Montag, 22. November 2004 17:38 schrieb Tristan Tjerks:

Quoted 10 lines

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