[DRBD-user] Fresh DRBD installation

Helmut Wollmersdorfer helmut.wollmersdorfer at gmx.at
Fri Aug 26 16:05:07 CEST 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


jlarrea at gadisa.es wrote:

> I've been playing with DRBD for a while and now I want to set up a 'fresh 
> installation' without having to reinstall the whole OS and software. I've tried 
> with drbdadm invalidate, with dd /dev/zero to the phisical device, mkfs, and so 
> on and I allways notice that the size of drbd partitions don't match the real 
> drive size. What can I do?

- stop everything, which maybe uses the drbd device
- umount
- stop drbd (e.g. /etc/init.d/drbd stop) or
   stop the drbd-resource (drbdadm stop <resource>)
- delete the partition (or lvremove in case of LVM)
- begin from start

Helmut Wollmersdorfer



More information about the drbd-user mailing list