All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yale Zhang <yzhang1985-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: SMB 2 & later leaves files in bad inconsistent state
Date: Tue, 28 Nov 2017 03:24:34 -0800	[thread overview]
Message-ID: <CALQF7Zwk7HGGkU0MXLGrSrA7JHwQP5m1e3U2J6_5O0A7+uJfzw@mail.gmail.com> (raw)
In-Reply-To: <CALQF7ZyjHDqW+8WiA=Xo3-he6jdVtse+ULme2zj9CJm8G5jX_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Can anyone help?

On Sat, Nov 18, 2017 at 7:55 PM, Yale Zhang <yzhang1985-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> I'm having a very annoying problem when compiling my code on GNU/Linux
> that's mounted from a Windows 10 desktop.
>
> When I press Ctrl-C to interrupt make, sometimes it leaves the object
> or executable files in a bad inconsistent state. The file cannot be
> deleted on Linux or Windows until you reboot Windows, a huge
> productivity killer.
>
> If you try to see the file's owner, it's undefined, which explains why
> it can't be deleted. See 1st screenshot.
>
>
> I used lsof to check if anyone is holding on to that file, but no one.
> I also used ProcessExplorer to check on the server side and found the
> "system" process holding it. For some reason, I can't forcefully close
> that file. See 2nd screenshot.
>
> So is this a problem with the SMB client or server? Any work arounds
> besides switching back to CIFS?
>
> -Yale

       reply	other threads:[~2017-11-28 11:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CALQF7ZyjHDqW+8WiA=Xo3-he6jdVtse+ULme2zj9CJm8G5jX_g@mail.gmail.com>
     [not found] ` <CALQF7ZyjHDqW+8WiA=Xo3-he6jdVtse+ULme2zj9CJm8G5jX_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-28 11:24   ` Yale Zhang [this message]
     [not found]     ` <CALQF7Zwk7HGGkU0MXLGrSrA7JHwQP5m1e3U2J6_5O0A7+uJfzw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-28 13:06       ` SMB 2 & later leaves files in bad inconsistent state Aurélien Aptel
     [not found]         ` <87induft7u.fsf-IBi9RG/b67k@public.gmane.org>
2017-11-29  6:17           ` Björn Brala

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=CALQF7Zwk7HGGkU0MXLGrSrA7JHwQP5m1e3U2J6_5O0A7+uJfzw@mail.gmail.com \
    --to=yzhang1985-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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.