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
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to