I use a single node to test basic operations:

# drbdadm status
.drbdctrl role:Secondary
  volume:0 disk:UpToDate
  volume:1 disk:UpToDate

 # drbdmanage n
+------------------------------------------------------------------------------+
| Name | Pool Size | Pool Free | Site |                                | State |
|------------------------------------------------------------------------------|
| elsa |     51200 |     50974 |  N/A |                                |    ok |
+------------------------------------------------------------------------------+

# drbdmanage add-volume  test1 4G -d 1
Operation completed successfully 

# drbdmanage a
+------------------------------------------------------------------------------+
| Node | Resource | Vol ID |                                           | State |
|------------------------------------------------------------------------------|
| elsa | test1    |      * |                                           |    ok |
+------------------------------------------------------------------------------+

# drbdadm status
.drbdctrl role:Secondary
  volume:0 disk:UpToDate
  volume:1 disk:UpToDate

test1 role:Secondary
  disk:Inconsistent

# drbdadm dump test1
/var/lib/drbd.d/drbdmanage_test1.res:1: in resource test1:
        a host sections ('on elsa { ... }') is missing.

# cat /var/lib/drbd.d/drbdmanage_test1.res 
resource test1 {
template-file "/var/lib/drbd.d/drbdmanage_global_common.conf";

   net {
       shared-secret "giwHYO9tcnUdXm7oVRmw";
       cram-hmac-alg sha1;
   }
}

Any ideas?

_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to