From: michael.christie@oracle.com
To: Forza <forza@tnonline.net>, target-devel@vger.kernel.org
Subject: Re: Stability of FILEIO as backing store?
Date: Thu, 25 Feb 2021 21:41:00 -0600 [thread overview]
Message-ID: <b4397eb1-db51-7cf2-b881-88fe7bcfa7bb@oracle.com> (raw)
In-Reply-To: <af031d3.b2327dec.177db1f2641@tnonline.net>
On 2/25/21 3:36 PM, Forza wrote:
> Hi,
>
> I have a weird issue with using a file as backing store with a Win2016 server as initiator.
>
> Very often if I reboot the Linux server the disk image becomes corrupt so that Windows cannot even detect the gpt partition table on it. It can happen even if I shut down the Windows machine before I reboot the Linux server.
>
> Initially I thought I would be write cache. But I've disabled that with no benefit to this problem.
>
How are you disabling the write cache? What tools do you use? Is
it targetcli or are you doing this manually via configfs?
What is the output of
cat /sys/kernel/config/target/core/fileio_$N/$name/info
cat /sys/kernel/config/target/core/fileio_$N/$name/attrib/write_cache
?
If you do a sync manually after shutting down windows does it help?
Are you accessing this from multiple windows machines at the same time?
What target driver are you using?
next prev parent reply other threads:[~2021-02-26 3:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-25 21:36 Stability of FILEIO as backing store? Forza
2021-02-25 22:09 ` Chaitanya Kulkarni
2021-02-25 22:20 ` Chaitanya Kulkarni
2021-02-26 3:41 ` michael.christie [this message]
2021-02-26 7:19 ` Forza
2021-02-26 16:12 ` Mike Christie
2021-03-01 15:38 ` Forza
2021-03-02 11:22 ` Maurizio Lombardi
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=b4397eb1-db51-7cf2-b881-88fe7bcfa7bb@oracle.com \
--to=michael.christie@oracle.com \
--cc=forza@tnonline.net \
--cc=target-devel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.