On 23/04/2016 00:42, Robert Altnoeder wrote:
The client volumes are not there because they have not been assigned.

Just like a normal resource (with local storage), a client resource must
be assigned to the node where it is supposed to become available.

Normally, client resources are assigned by running:
assign --client <resource> <node> [ <node> [ ... ] ]

If the node is a storage-less node, then the '--client' option can be
skipped, because storage-less nodes always get client assignments by
default.

This is a sample from my test cluster:

criminy:~ # drbdmanage nodes
╭────────────────────────────────────────────────────────────────────────────────────────────────────╮
┊ Name ┊ Pool Size ┊ Pool Free ┊ ┊ State ┊
╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
┊ criminy ┊ 508 ┊ 500 ┊ ┊ ok ┊
┊ dionysus ┊ 0 ┊ 0 ┊ ┊ no storage ┊
┊ grimes ┊ 0 ┊ 0 ┊ ┊ no storage ┊
┊ lilith ┊ 508 ┊ 500 ┊ ┊ ok ┊
╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
criminy:~ # drbdmanage new-volume files 100m --deploy 2
Operation completed successfully
Operation completed successfully
criminy:~ # drbdmanage deploy files 2 --with-clients
Operation completed successfully
criminy:~ # drbdmanage new-volume archive 100m
Operation completed successfully
criminy:~ # drbdmanage assign archive criminy lilith dionysus grimes

Thank you, this is what I was missing, initial tests worked.

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

Reply via email to