[DRBD-user] Error in formatting DRBD Disk

Felix Frank ff at mpexnet.de
Thu Feb 7 09:42:23 CET 2013

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


On 02/07/2013 05:04 AM, Salman Riaz wrote:
> Hello,
> I have successfully deployed the tertiary stacked node. 
> [root at n1 ~]# cat /proc/drbd
> version: 8.3.13 (api:88/proto:86-96)
> GIT-hash: 83ca112086600faacab2f157bc5a9324f7bd7f77 build by
> mockbuild at builder10.centos.org <mailto:mockbuild at builder10.centos.org>,
> 2012-05-07 11:56:48
>  0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
>     ns:4542736 nr:0 dw:3490136 dr:1314783 al:572 bm:66 lo:0 pe:0 ua:0
> ap:0 ep:1 wo:n oos:0
> 10: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate A r-----
>     ns:2147221400 nr:0 dw:0 dr:2147221400 al:0 bm:259233 lo:0 pe:0 ua:0
> ap:0 ep:1 wo:b oos:0
> Now I am formatting my DRBD Disk but get this error:
> [root at n1 ~]# mkfs.ext3 /dev/drbd0
> mke2fs 1.39 (29-May-2006)
> /dev/drbd0 is apparently in use by the system; will not make a
> filesystem here!
> Anyone please guide me in this regard

"I'm glad you asked"

...because now that you got the stacking going, you *cannot* ever use
drbd0 again! It's your backing device now, please keep that in mind.
It's now off limits in the same way you cannot use the disk partition
underneath drbd.

What you need to do is create an fs on and mount drbd10.


More information about the drbd-user mailing list