[DRBD-user] Error in creating file system (After drbd is up)

Gianluca Cecchi gianluca.cecchi at gmail.com
Tue Jun 8 16:27:21 CEST 2010

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


On Tue, Jun 8, 2010 at 11:55 AM, Praveen Kumar <vicky_2279 at yahoo.com> wrote:

> Hi,
>      I am getting error when I am creating file system for partition.
> My /etc/drbd.conf file is ::
>
>   on host1.hsc.com  {
>     device    /dev/drbd10;
>     disk      /dev/sda5;
>     address   192.180.2.59:7789;
>     meta-disk internal;
>   }
>
>



>
> 10: cs:Connected st:Secondary/Secondary ds:Inconsistent/Inconsistent C r---
>     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
>         resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0
>         act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0
>

You also need to read these lines at the end of the drbd page
http://www.drbd.org/docs/install/ you probably followed:
"
By now, DRBD has successfully allocated both disk and network resources and
is ready for operation. What it does not know yet is which of your nodes
should be used as the source of the initial device synchronization.
"
So go to:
http://www.drbd.org/users-guide-emb/s-initial-full-sync.html

and read on (also chapter 6 then)


> 4. mke2fs -j  /dev/sda5
> mke2fs 1.39 (29-May-2006)
> /dev/sda5 is apparently in use by the system; will not make a filesystem
> here!
>

If you read, you also will now know that you have to refer to /dev/drbd10 on
host1, not /dev/sda5...

 mke2fs -j  /dev/drbd10

HIH,
Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20100608/b705cefd/attachment.htm>


More information about the drbd-user mailing list