[DRBD-user] Trying to create my first resource, but

Nelson Hicks nelsonh at socket.net
Wed May 16 22:22:03 CEST 2018


On 05/16/2018 11:09 AM, Henning Svane wrote:
>
> Hi Robert
>
> Thanks for the explanation
>
> I have now follow your recommendation
>
> But get the following error:
>
> [root at esos-b drbd.d]# drbdadm create-md r1001.res 'r1001.res' not 
> defined in your config (for this host).
>

...

> [root at san-a ~]# drbdadm create-md r1001.res 'r1001.res' not defined in 
> your config (for this host).
>

The drbdadm create-md command is looking for a resource name, not a 
filename.


> [root at san-a ~]# cat /etc/drbd.d/r1001.res resource r1001 {
>
>   net {
>

Here in your file, you define the resource name as "r1001", so that's 
what you should pass to the create-md command:

drbdadm create-md r1001


-- 
Nelson Hicks
Network Operations
SOCKET
(573) 817-0000 ext. 210
nelsonh at socket.net



More information about the drbd-user mailing list