ocfs2-devel.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Wengang Wang <wen.gang.wang@oracle.com>
To: "Lentes, Bernd" <bernd.lentes@helmholtz-muenchen.de>
Cc: ocfs2-devel <ocfs2-devel@oss.oracle.com>
Subject: Re: [Ocfs2-devel] error message in log: ocfs2_reflink_ioctl:4431 ERROR:	status = -17
Date: Thu, 25 Feb 2021 16:43:05 +0000	[thread overview]
Message-ID: <4CCBAF2C-837A-41B9-BA87-825C5AEC0501@oracle.com> (raw)
In-Reply-To: <923372681.62923711.1614256785266.JavaMail.zimbra@helmholtz-muenchen.de>


[-- Attachment #1.1: Type: text/plain, Size: 2254 bytes --]



On Feb 25, 2021, at 4:39 AM, Lentes, Bernd <bernd.lentes@helmholtz-muenchen.de<mailto:bernd.lentes@helmholtz-muenchen.de>> wrote:



----- On Feb 24, 2021, at 10:49 PM, Wengang Wang wen.gang.wang@oracle.com<mailto:wen.gang.wang@oracle.com> wrote:

On Feb 24, 2021, at 1:11 AM, Lentes, Bernd <bernd.lentes@helmholtz-muenchen.de<mailto:bernd.lentes@helmholtz-muenchen.de>>
wrote:


----- On Feb 23, 2021, at 11:24 PM, Wengang Wang wen.gang.wang@oracle.com<mailto:wen.gang.wang@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


[-- Attachment #1.2: Type: text/html, Size: 19020 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

  reply	other threads:[~2021-02-25 16:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-23 20:08 [Ocfs2-devel] error message in log: ocfs2_reflink_ioctl:4431 ERROR: status = -17 Lentes, Bernd
2021-02-23 22:24 ` Wengang Wang
2021-02-24  9:11   ` Lentes, Bernd
2021-02-24  9:27     ` Gang He
2021-02-24 21:49     ` Wengang Wang
2021-02-25 12:39       ` Lentes, Bernd
2021-02-25 16:43         ` Wengang Wang [this message]
2021-02-25 20:48           ` Lentes, Bernd
2021-02-26  2:41             ` Joseph Qi
2021-02-26 16:42             ` Wengang Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CCBAF2C-837A-41B9-BA87-825C5AEC0501@oracle.com \
    --to=wen.gang.wang@oracle.com \
    --cc=bernd.lentes@helmholtz-muenchen.de \
    --cc=ocfs2-devel@oss.oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).