Discussion:
[DRBD-user] Linstor-server 0.6.3, Linstor-client 0.6.1 release
Rene Peinthor
2018-09-10 13:52:38 UTC
Permalink
Hi All!

After the two hot fix releases from last week, we have another release with
mainly fixes, but not so dramatically and a new feature with supporting ZFS
thin storage pools.

ZFS thin storage pool use the same syntax as all the other storage pool
drivers e.g.:
linstor storage-pool create zfsthin node zfsthinpool tank

linstor-server 0.6.3
--------------------
* Add zfs thin support
* Fix a race condition with drbd reading incomplete res files
* Fix 100% cpu usage on satellite startup if drbd-utils missing
* Fix access to deleted volume data
* Fix satellite timeout if a external command takes too long
* Fix missing resource definition delete on node lost

http://www.linbit.com/downloads/linstor/linstor-server-0.6.3.tar.gz

linstor-client 0.6.1
--------------------
* Add zfs thin to supported storage pool drivers
* Fix possible client waiting forever for a completed reply
* Fix missing lock for replies

http://www.linbit.com/downloads/linstor/python-linstor-0.6.1.tar.gz
http://www.linbit.com/downloads/linstor/linstor-client-0.6.1.tar.gz

Linstor PPA:
https://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack

Best regards,
Rene
--
René Peinthor - Software Developer
***@linbit.com

LIN <http://www.linbit.com/en/>BIT <http://www.linbit.com/en/> | Keeping
the Digital World Running
DRBD HA - Disaster Recovery - Software-defined Storage
t <https://twitter.com/linbit> / f
<https://www.facebook.com/pg/linbitdrbd/posts/> / in
<https://www.linkedin.com/company/linbit> / y
<https://www.youtube.com/user/linbit> / g+
<https://plus.google.com/+Linbit/about>

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
Julien Escario
2018-09-11 13:04:25 UTC
Permalink
Post by Rene Peinthor
Hi All!
Hello !
Post by Rene Peinthor
After the two hot fix releases from last week, we have another release with
mainly fixes, but not so dramatically and a new feature with supporting ZFS thin
storage pools.
ZFS thin storage pool use the same syntax as all the other storage pool drivers
linstor storage-pool create zfsthin node zfsthinpool tank
Great !
One remark : perhaps can you update/close
https://github.com/LINBIT/linstor-server/issues/1 ?

And one question : is there a way to 'convert' an existing storage-pool from zfs
to zfsthin ?

Best regards,
Julien Escario
Rene Peinthor
2018-09-11 13:55:01 UTC
Permalink
Post by Julien Escario
And one question : is there a way to 'convert' an existing storage-pool from zfs
to zfsthin ?
No userfriendly way, it might be possible with 1 or 2 direct database
queries.

Cheers,
Rene
Julien Escario
2018-09-21 16:00:09 UTC
Permalink
Post by Julien Escario
And one question : is there a way to 'convert' an existing storage-pool from zfs
to zfsthin ?
No userfriendly way, it might be possible with 1 or 2 direct database queries.
Hello,
Just about to test another method : what will happen if I run
# linstor storage-pool delete drbdpool nodeA
# linstor storage-pool create nodeA drbdpool zfsthinpool drbdpool

Will this delete my ressources ? Or simply refuse to operate due to ressourcex
existence ?

Thanks a lot,
Julien
Rene Peinthor
2018-09-24 05:42:37 UTC
Permalink
It is not possible to delete a storage pool that is still in use by some
resources/volumes.

Cheers,
Rene
Julien Escario
2018-09-24 07:43:25 UTC
Permalink
Post by Rene Peinthor
It is not possible to delete a storage pool that is still in use by some
resources/volumes.
Thanks !
I removed all ressource then delete storage-pool and recreate it as zfsthin.

linstor storage-pool create zfsthin nodeA drbdpool drbdpool

Everything went fine but when I create a ressource, the initial sync still takes
happens.

Did I miss something or the ZFSthin storage plugin is only for thin for the
creation node ?
Because, as-this, thin provision isn't really used on secondary node(s).

Best regards,
Julien
Robert Altnoeder
2018-09-24 08:12:18 UTC
Permalink
Post by Julien Escario
Did I miss something or the ZFSthin storage plugin is only for thin
for the creation node ?
Is the resource using thin provisioning on all of the nodes?

Mixing fat provisioning on some nodes and thin provisioning on other
nodes for the same volume of a resource is not supported.

br,
Robert
Julien Escario
2018-09-24 08:19:29 UTC
Permalink
Post by Robert Altnoeder
Post by Julien Escario
Did I miss something or the ZFSthin storage plugin is only for thin
for the creation node ?
Is the resource using thin provisioning on all of the nodes?
Mixing fat provisioning on some nodes and thin provisioning on other
nodes for the same volume of a resource is not supported.
Seems to :
╭─────────────────────────────────────────────────────────────────────────────────────────────────────╮
┊ StoragePool ┊ Node ┊ Driver ┊ PoolName ┊ FreeCapacity ┊
TotalCapacity ┊ SupportsSnapshots ┊
╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
┊ drbdpool ┊ nodeA ┊ ZfsThinDriver ┊ drbdpool ┊ 6.93 TiB ┊ 9.06
TiB ┊ true ┊
┊ drbdpool ┊ nodeB ┊ ZfsThinDriver ┊ drbdpool ┊ 6.93 TiB ┊ 9.06
TiB ┊ true ┊
╰─────────────────────────────────────────────────────────────────────────────────────────────────────╯

Julien
Rene Peinthor
2018-09-24 08:33:54 UTC
Permalink
Thanks for reporting, this is a bug in the thin driver.
It wasn't probably marked as a thin driver and will still do full resync,
will be fixed in the next version.

Best regards,
Rene
Julien Escario
2018-09-24 09:15:32 UTC
Permalink
Post by Rene Peinthor
Thanks for reporting, this is a bug in the thin driver.
It wasn't probably marked as a thin driver and will still do full resync, will
be fixed in the next version.
Nice to hear !
Anything of my side I can do to try to fix this and/or confirm bug ? (force thin
mark somewhere ?)

Best regards,
Julien Escario

Loading...