Incorrect directory size shown.

Things you’d like to miss in the future...
Gandolf

Re: Incorrect directory size shown.

Post by Gandolf »

Four sub-directories, all with sub-directories.

Deleting the files in the sub-sub-directories did not show any change in size of the directories.

Deleting the files in the sub-directories, two showed as empty. The two that showed as empty were the first and last directories in the list, which were the first and second directories emptied. They were also emptied in two stages, since they contained some non-matching files. Hence, a large number of files were deleted rapidly (using Beyond Compare) and the remaining (six in one directory, and one in the other) were deleted individually after a visual compare. Both drives were SCSI removable.

Manual refresh works. I have re-assigned Ctrl+R to refresh, if that makes any difference.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Incorrect directory size shown.

Post by admin »

I cannot reproduce it. Might be connected to SCSI (which I don't have here).

pdupreez
Posts: 19
Joined: 15 Aug 2018 11:40

Re: Incorrect directory size shown.

Post by pdupreez »

I have a similar experience, huge directory tree, multiple subdirectories. I did a search on size (<1Mb), folders attribute and when XYplorer finished with the search, it presents a folder list which includes folders >1Mb. See attached screenshot.

Maybe I am doing something wrong, but this is a bit of concern. If the program tells me a folder is empty, I have to have absolute trust that it is empty as the consequences in some cases might be disastrous.
Attachments
2018-08-24 17-47-17.png
2018-08-24 17-47-17.png (99.96 KiB) Viewed 1894 times

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Incorrect directory size shown.

Post by admin »

Cannot reproduce this. Or are these folders that grow for some reason during or right after the search?

pdupreez
Posts: 19
Joined: 15 Aug 2018 11:40

Re: Incorrect directory size shown.

Post by pdupreez »

This is the immediate result from "Find Now".

Nothing done before or after the "Find Now", it was executed immediately after start-up of XYplorer.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Incorrect directory size shown.

Post by admin »

Do you have any junctions below that folders?

pdupreez
Posts: 19
Joined: 15 Aug 2018 11:40

Re: Incorrect directory size shown.

Post by pdupreez »

No, this was a recovered snapshot, no junctions below that. Rough estimation of folder structure

n:\RecoveredSnapShot\
Old
>5000 Folders
>>30000 subfolders in total
Unsorted
>5000 Folders
>>30000 subfolders in total

where N: is a Samba share

Just two folders, on top of a forest of folders. I am running a "Find Now" on subset (one of the two top folders) now (third time already) becuase "finding folder size" aborts everytime.

When I get a result of that "Find Now" I will post feedback here.

pdupreez
Posts: 19
Joined: 15 Aug 2018 11:40

Re: Incorrect directory size shown.

Post by pdupreez »

With a smaller subset (187k files vs 480k, 39k folders vs 62k) the results are fine. It seems to go wrong above a certain point. I will run it again on the original set to see what it does, this time around
Attachments
2018-08-24 22-20-37.png
2018-08-24 22-20-37.png (97.06 KiB) Viewed 1875 times

pdupreez
Posts: 19
Joined: 15 Aug 2018 11:40

Re: Incorrect directory size shown.

Post by pdupreez »

Original set of folders. Different result, but still with "errors"
Attachments
2018-08-24 23-13-56.png
2018-08-24 23-13-56.png (102.26 KiB) Viewed 1867 times

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Incorrect directory size shown.

Post by admin »

I would go down into that big folder and see what's in there. Maybe you get a clue.

pdupreez
Posts: 19
Joined: 15 Aug 2018 11:40

Re: Incorrect directory size shown.

Post by pdupreez »

Interesting. It gave me two folders, same spelling but different case (ABC vs abc), each with the same file name in it, with a size of 1796kb.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Incorrect directory size shown.

Post by admin »

pdupreez wrote:Interesting. It gave me two folders, same spelling but different case (ABC vs abc), each with the same file name in it, with a size of 1796kb.
Oha.

- Which Windows version is that?
- Can you check the value of this registry key: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel\obcaseinsensitive

pdupreez
Posts: 19
Joined: 15 Aug 2018 11:40

Re: Incorrect directory size shown.

Post by pdupreez »

Windows 10 Home Version 1803 Build 17134.228

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel\obcaseinsensitive = 1

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Incorrect directory size shown.

Post by admin »

Ok, so I assume those folders that only differ in case have been created in a different environment (maybe even non-Windows?). This is obviously a rather rare thing to happen. I'm not sure right now why this confuses XY but I will find out. I come back later...

pdupreez
Posts: 19
Joined: 15 Aug 2018 11:40

Re: Incorrect directory size shown.

Post by pdupreez »

Thanks

Post Reply