Incorrect directory size shown.

Things you’d like to miss in the future...
Gandolf
Posts: 1031
Joined: 14 Jun 2004 20:19

Re: Incorrect directory size shown.

Post by Gandolf » 29 Sep 2010 05:17

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.
Those people who think they know everything are a great annoyance to those of us who do.

admin
Site Admin
Posts: 49053
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Incorrect directory size shown.

Post by admin » 29 Sep 2010 09:11

I cannot reproduce it. Might be connected to SCSI (which I don't have here).
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Wear a mask! 😷

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

Re: Incorrect directory size shown.

Post by pdupreez » 24 Aug 2018 18:26

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 628 times

admin
Site Admin
Posts: 49053
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Incorrect directory size shown.

Post by admin » 24 Aug 2018 19:06

Cannot reproduce this. Or are these folders that grow for some reason during or right after the search?
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Wear a mask! 😷

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

Re: Incorrect directory size shown.

Post by pdupreez » 24 Aug 2018 21:02

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: 49053
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Incorrect directory size shown.

Post by admin » 24 Aug 2018 21:31

Do you have any junctions below that folders?
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Wear a mask! 😷

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

Re: Incorrect directory size shown.

Post by pdupreez » 24 Aug 2018 21:53

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 » 24 Aug 2018 22:25

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 609 times

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

Re: Incorrect directory size shown.

Post by pdupreez » 24 Aug 2018 23:16

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 601 times

admin
Site Admin
Posts: 49053
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Incorrect directory size shown.

Post by admin » 24 Aug 2018 23:18

I would go down into that big folder and see what's in there. Maybe you get a clue.
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Wear a mask! 😷

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

Re: Incorrect directory size shown.

Post by pdupreez » 25 Aug 2018 00:06

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: 49053
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Incorrect directory size shown.

Post by admin » 25 Aug 2018 10:34

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
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Wear a mask! 😷

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

Re: Incorrect directory size shown.

Post by pdupreez » 25 Aug 2018 10:55

Windows 10 Home Version 1803 Build 17134.228

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

admin
Site Admin
Posts: 49053
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Incorrect directory size shown.

Post by admin » 25 Aug 2018 11:39

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...
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Wear a mask! 😷

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

Re: Incorrect directory size shown.

Post by pdupreez » 25 Aug 2018 11:50

Thanks

Post Reply