[DRBD-user] LINSTOR snapshots problem

drbd-user-list at szabados.sk drbd-user-list at szabados.sk
Thu Sep 20 10:52:42 CEST 2018


Dear DRBD Community,

I am currently experimenting with LINSTOR + LVM Thin as storage and i
have stumbled upon this Bug (from my point of view) while trying to
assign a resource created from a snapshot to a combined node:

root at coruscant:~# *linstor resource-definition create resource2*
SUCCESS:
Description:
    New resource definition 'resource2' created.
Details:
    Resource definition 'resource2' UUID is:
1d7a79e5-629d-488b-b3a8-a343a855154f
root at coruscant:~# *linstor snapshot volume-definition restore
--from-resource **resource1**--from-snapshot **snap1**--to-resource
resource2*
SUCCESS:
Description:
    Volume definitions of resource definition 'resource2' restored from
resource 'resource1', snapshot 'snap1'.
Details:
    Resource UUIDs:
root at coruscant:~# *linstor resource create coruscant resource2
--storage-pool ssd-pool*
SUCCESS:
Description:
    New resource 'resource2' on node 'coruscant' registered.
Details:
    Resource 'resource2' on node 'coruscant' UUID is:
46d9235a-b726-4dd2-b2b7-d893c75a8212
SUCCESS:
Description:
    Volume with number '0' on resource 'resource2' on node 'coruscant'
successfully registered
Details:
    Volume UUID is: 0a160ebf-c41a-4154-992f-374f5dd95d85
SUCCESS:
Description:
    Volume with number '1' on resource 'resource2' on node 'coruscant'
successfully registered
Details:
    Volume UUID is: 3907d2da-e1bc-4f31-b587-11bccc049b21
*ERROR:**
**Description:**
**    (Node: 'coruscant') Meta data creation for resource 'resource2'
volume 0 failed**
**Cause:**
**    Meta data creation for volume 0 +failed*
root at coruscant:~# *linstor --version*
*linstor 0.6.1;* GIT-hash: 695dda395fb9f25a4655f3d672059685f7fc7b39
root at coruscant:~#

STEPS to reproduce it:

1) Create a snapshot of some resource

linstor snapshot create resource1 snap1

2) Create a new RD

linstor resource-definition create resource2

3) Restore it from SNAP1

linstor snapshot volume-definition restore --from-resource resource1
--from-snapshot snap1 --to-resource resource2

4) Assign

linstor resource create coruscant resource2 --storage-pool ssd-pool


Do you have any suggestion what am i doing wrong?
Thank you!

Best regards

-- 
Roman Szabados
M-AT: +43 664 831 6687

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180920/38cb13bb/attachment.htm>


More information about the drbd-user mailing list