[DRBD-user] Some question about linstor
Robert Altnoeder
robert.altnoeder at linbit.com
Fri Feb 23 11:15:19 CET 2018
On 02/23/2018 10:55 AM, yang zhenyu wrote:
>
> [root at node-1 linstor-server]# zfs list
> NAME USED AVAIL REFER MOUNTPOINT
> 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 at node-1 linstor-server]# linstor create-resource -s zfs -d rstdfn
> node-1
> [root at node-1 linstor-server]# linstor create-resource -s zfs -d rstdfn
> node-4
> [root at 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 at 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
robert.altnoeder at linbit.com
LINBIT | Keeping The Digital World Running
DRBD - Corosync - Pacemaker
f / t / in / g+
DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
More information about the drbd-user
mailing list