Leap 42.2, samba/cifs access to files in deduplicated Windows 2012server

Hi,
At work there is a server that I access via dolphin using the smb://
protocol.
I can see files in the server, but according to the IT service they have
implemented something called deduplication (it is a windows 2012 server)
and when I try to click on some of the files (oddly it is not all of
them) it says "Could not read file smb://{link to the file}

Has anybody seen this problem? I noticed that there was at least
something similar reported some time ago, but my system is up to date…

https://forums.opensuse.org/showthread.php/494646-Problems-with-
deduplication-on-windows-2012-server-and-samba

Also found this
http://serverfault.com/questions/697393/centos-cifs-client-sees-
windows-2012-deduplicated-files-as-symlinks

and this

https://bugs.centos.org/view.php?id=7897

Many thanks for any clues!

Both your links suggest that the problem should have been resolved a long time ago with a kernel upgrade, and both kernel updates were a very, very long time ago.

If you don’t see any more recent posts, particularly referencing 4.xc kernels I don’t think that they are likely relevant.

BTW - as always, you should update your system just to make sure your system is fully updated in all ways by running the following in an elevated console(don’t rely on apper or any other method).

zypper update

Without digging deeper, you should also do at least what was described in the serverfault link which is to read the file size to see if it’s very tiny compared to what it should be. It’s circumstantial if the size is tiny, but would be a useful hint.

On a side note, I’m a bit surprised that MS would do duplication this way, relying on the client to put the pieces together… It would make better sense the client to request the file and the Server puts the pieces together. Maybe the problem could be not just de-duplication but versioning, and the client is requesting a specific version of the file…

TSU

On Mon, 09 Jan 2017 15:16:01 +0000, tsu2 wrote:
> Both your links suggest that the problem should have been resolved a
> long time ago with a kernel upgrade, and both kernel updates were a
> very, very long time ago.

Thanks Tsu2 for your reply. Yes, well I have been trying to find out and
that is all I can find with regards to deduplication. I do not even know
if this is the problem, but the symptoms sounded similar: Cannot find the
file when clicking on it or even when copy past from dolphin.
I just tried with konqueror and the error is the same (the error window
title say “Error - KIOExec”, I forgot to mention this).

> BTW - as always, you should update your system

Thanks, yes, it is updated an updated system and it was the same in an
updated 13.2).

> Without digging deeper, you should also do at least what was described
> in the serverfault link which is to read the file size to see if it’s
> very tiny compared to what it should be.

Right clicking on the file gives the file size (not tiny). Is that what
you suggested?

Sorry I do not know enough about samba and cifs, so I am at a loss on
even on how to report this! I can retrieve and open the file in windows,
not sure how opensuse would request a different version of the same file.
I find it odd that some files are OK and some are not but I do wonder
about your versioning comment.

I also can access other server folders where I was told this deduplication
is not implemented and I can access all files without a problem.
Most annoying, the IT dept. support win and mac :-/ and was told to try a
different linux distribution (not keen, I’ve been a user since suse 8.0)
so I am more or less at a loss and wondering what to try next.

Thanks again,

-G-

A Google search doesn’t seem to turn up any hits within the past 2 years (at least 2015 or later) and every article that mentions a problem was resolved by a kernel update. I don’t know that any LEAP 42.2 kernel is that different than that used in other distros.

Recommend:

  • Install and try another kernel. If your openSUSE has been running for awhile, it might even have older kernels still loaded and available, you only have to select in the GRUB menu when you boot.

  • Verify what the Windows Server version is, and whether it also is fully updated (using Windows Update). Several versions support deduplication including Win2012 Server, Win2012 Server R2, Windows Server 2012 Storage and there may be more.

  • The cause for one result is that he ran out of free space on his root partition. Display your used and free disk space with the following

df -H
  • If you end up submitting a bug report, be sure to include your kernel version which can be displayed with
uname -a

TSU

On Wed, 11 Jan 2017 15:46:02 +0000, tsu2 wrote:
> Recommend:
> - Install and try another kernel. If your openSUSE has been running for
> awhile, it might even have older kernels still loaded and available, you
> only have to select in the GRUB menu when you boot.

No older kernels. I mentioned this before, it is an up to date system.
and also happened in 13.2.

> - Verify what the Windows Server version is, and whether it also is
> fully updated (using Windows Update). Several versions support
> deduplication including Win2012 Server, Win2012 Server R2, Windows
> Server 2012 Storage and there may be more.

Win2012 Server R2, unfortunately I do not have control of those servers.

> - The cause for one result is that he ran out of free space on his root
> partition. Display your used and free disk space with the following

No, there is no shortage of space in the root partition.

Most odd, some files are opened fine, and some are not found (but can be
opened in windows). The ones “not found” are always the same ones.

Thank you for all the suggestions so far.

-G-

By default, today openSUSE keeps its older kernels when you install a newer kernel (IIRC this should have been the case in 13.2 as well, the change to keep multiple kernels was made sometime… maybe around 12.2?)

So, if your system was initially installed at least a month ago, it’s likely that if you select the “Advanced” option in the Grub menu during bootup, you’ll find other kernels you can try.

TSU