[DRBD-user] can't mount on secondary node

Lawrence Strydom qholloi at gmail.com
Wed Feb 1 10:02:13 CET 2012

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


Hi List.

I am having trouble mounting my drbd device on the seccondary node.  It
mounts fine on the primary but when i try and mount it on the seccondary I
get this error:

mount /dev/drbd0 /var/www
mount: block device /dev/drbd0 is write-protected, mounting read-only
mount: Wrong medium type


Here is my config file:

============================================================
resource r0 {
  on af-jbm1 {
    device    /dev/drbd0;
    disk      /dev/sda4;
    address   10.0.0.1:7789;
    meta-disk internal;
  }
  on af-jbm2 {
    device    /dev/drbd0;
    disk      /dev/sda4;
    address   10.0.0.2:7789;
    meta-disk internal;
  }
}
==============================================================

dmesg doesnt show anything other than the initial syncing:

[ 2658.439831] block drbd0: helper command: /sbin/drbdadm
before-resync-target minor-0
[ 2658.441852] block drbd0: helper command: /sbin/drbdadm
before-resync-target minor-0 exit code 0 (0x0)
[ 2658.441859] block drbd0: conn( WFSyncUUID -> SyncTarget )
[ 2658.441867] block drbd0: Began resync as SyncTarget (will sync 984 KB
[246 bits set]).
[ 2661.464367] block drbd0: Resync done (total 3 sec; paused 0 sec; 328
K/sec)
[ 2661.464376] block drbd0: conn( SyncTarget -> Connected ) disk(
Inconsistent -> UpToDate )
[ 2661.464382] block drbd0: helper command: /sbin/drbdadm
after-resync-target minor-0
[ 2661.466359] block drbd0: helper command: /sbin/drbdadm
after-resync-target minor-0 exit code 0 (0x0)


What am I missing here?

Thanks

Lawrence
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120201/d980a0a8/attachment.htm>


More information about the drbd-user mailing list