On 02/23/2018 10:55 AM, yang zhenyu wrote:
> [root@node-1 linstor-server]# zfs list
> linstorpool 384K 1.76T 96K /linstorpool
> Then I create a storage-pool, I don't understand the args
> 'driver_device' means what?
> Is a zfs zvol name? or zvol device name? like zd0...

The driver_device is the name of a zpool that will be used to create
storage in.

However, the ZFS driver does not yet work properly, and it will probably
only be fixed a few weeks from now because other higher priority
development tasks are scheduled before fixing it.
It might work to some extent if a dummy volume is created in the zpool
before trying to use the zpool with LINSTOR.

> [root@node-1 linstor-server]# linstor create-resource -s zfs -d rstdfn
> node-1
> [root@node-1 linstor-server]# linstor create-resource -s zfs -d rstdfn
> node-4
> [root@node-1 linstor-server]# linstor list-resource
> ╭─────────────────────────────────────────────────╮
> ┊ ResourceName ┊ Node ┊ Port ┊ Device ┊ State ┊
> ╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
> ┊ rstdfn ┊ node-1 ┊ 7000 ┊ DISKLESS ┊ ok ┊
> ┊ rstdfn ┊ node-4 ┊ 7000 ┊ DISKLESS ┊ ok ┊
> ╰─────────────────────────────────────────────────╯
> Why this Device is DISKLESS?

Because you set it to diskless by using the '-d' option on the
create-resource command.

> [root@node-1 linstor-server]# linstor create-volume-definition -d 2
> rstdfn 30G

-d (aka deploy) is a leftover from drbdmanage that is not implemented
and does not belong in creation of volume definitions, this will be
removed in future versions.
(actually, the entire user interface will probably change significantly
in future versions)

> I do not know where is the problem. Is it network communication
> problems? But I `telnet node-4 3366` is no problem.

Information about most errors that occur can be found in LINSTOR's error
reports in its "logs" directory.

best regards,
Robert Altnoeder
+43 1 817 82 92 0

LINBIT | Keeping The Digital World Running
DRBD - Corosync - Pacemaker
f /  t /  in /  g+

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
drbd-user mailing list

Reply via email to