[Ocfs2-devel] error message in log: ocfs2_reflink_ioctl:4431 ERROR: status = -17
Wengang Wang
wen.gang.wang at oracle.com
Thu Feb 25 08:43:05 PST 2021
On Feb 25, 2021, at 4:39 AM, Lentes, Bernd <bernd.lentes at helmholtz-muenchen.de<mailto:bernd.lentes at helmholtz-muenchen.de>> wrote:
----- On Feb 24, 2021, at 10:49 PM, Wengang Wang wen.gang.wang at oracle.com<mailto:wen.gang.wang at oracle.com> wrote:
On Feb 24, 2021, at 1:11 AM, Lentes, Bernd <bernd.lentes at helmholtz-muenchen.de<mailto:bernd.lentes at helmholtz-muenchen.de>>
wrote:
----- On Feb 23, 2021, at 11:24 PM, Wengang Wang wen.gang.wang at oracle.com<mailto:wen.gang.wang at oracle.com> wrote:
#define EEXIST 17 /* File exists */
You may already have the file created from the other node.
wengang
Hi Wengang,
thanks for your help.
The reflink is created via:
reflink -fv /path/to/domain.raw /mnt/ocfs2/reflink
Of course this file exists already because the skript ran also one day before.
But from which node the previous one was created is unpredictable, it might be
the same
but also the other one.
Is the message severe or don't i have to bother about it ?
OCFS2 is a shared-storage cluster FS. For the reflinks, you need and should
create them only from one of the nodes. Don’t do duplicated work (reflink) on
other nodes.
Hi Wengang,
thanks for your help.
Just to be sure that i understand you completely:
we reflink some raw file from host 1 and OTHER raw files (not the same !) from host 2.
Is that already a problem ? Or are you talking about reflinking the SAME file concurrently from both nodes ?
No, that’s not a problem. Make sure your applications does the same as you want.
From the error message, your app could be creating duplicated reflinks from one or two nodes.
That’s what we can know by the error message. I am suspecting the problem is in your app, you could try to debug it.
thanks,
wengang
Bernd
Helmholtz Zentrum München
Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de<http://www.helmholtz-muenchen.de/>
Aufsichtsratsvorsitzende: MinDir.in Prof. Dr. Veronika von Messling
Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Kerstin Guenther
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20210225/50915c94/attachment-0001.html
More information about the Ocfs2-devel
mailing list