[DRBD-user] Some question about linstor

yang zhenyu cdyangzhenyu at gmail.com
Thu Feb 22 07:09:39 CET 2018


Hello,
I am a linstor newbie and very interested in it. I have installed
drbd, linstor-server, linstor-client. But I encountered some problems,
when I use it. And did not find the corresponding guidance document.
so I would like to ask you to help look.

My questions:
1. How to create a cluster of drbd.?
2. When I create a controller node, but it's state always is 'offline'. why?
3. Why some cmd return: 'This command is deprecated or not implemented', why?
4. Can you give me some guide doc about using linstor?

[root at node-1 ~]# linstor list-node
╭────────────────────────────────────────────╮
┊ Node   ┊ NodeType   ┊ IPs        ┊ State   ┊
╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
┊ node-1 ┊ CONTROLLER ┊ 10.10.0.72 ┊ OFFLINE ┊
┊ node-4 ┊ CONTROLLER ┊ 10.10.0.75 ┊ OFFLINE ┊
╰────────────────────────────────────────────╯

I use zfs:
[root at node-1 ~]# linstor list-resource
╭─────────────────────────────────────────────────╮
┊ ResourceName ┊ Node   ┊ Port ┊ Device   ┊ State ┊
╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
┊ test         ┊ node-1 ┊ 7000 ┊ /dev/zd0 ┊    ok ┊
╰─────────────────────────────────────────────────╯

[root at node-1 ~]# linstor connect-resource test node-1
This command is deprecated or not implemented
[root at node-1 ~]# linstor modify-resource test
This command is deprecated or not implemented

[root at node-1 ~]# linstor list-volumes
╭──────────────────────────────────────────────────╮
┊ Node   ┊ Resource ┊ VolumeNr ┊ MinorNr ┊   State ┊
╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
┊ node-1 ┊ test     ┊ 0        ┊ 1000    ┊ unknown ┊
┊ node-1 ┊ test     ┊ 1        ┊ 1001    ┊ unknown ┊
┊ node-1 ┊ test     ┊ 2        ┊ 1002    ┊ unknown ┊
╰──────────────────────────────────────────────────╯

The /dev/ directory has no any device. When I run the cmd in node-4:
[root at node-4 ~]# linstor list-node
╭───────────────────────────────╮
┊ Node ┊ NodeType ┊ IPs ┊ State ┊
╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
╰───────────────────────────────╯

How to connect node-1 and node-4?


More information about the drbd-user mailing list