Re: SMB 2 & later leaves files in bad inconsistent state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can anyone help?

On Sat, Nov 18, 2017 at 7:55 PM, Yale Zhang <yzhang1985@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux