[Drbd-dev] Re: make disk ready for drbd

Philipp Reisner philipp.reisner at linbit.com
Tue Nov 23 08:13:28 CET 2004


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




More information about the drbd-dev mailing list