XYcopy doesn't detect correct available space on mountpoints
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
XYcopy doesn't detect correct available space on mountpoints
When we mount partitions to directories XYplorer shows the correct available space for the mount but when we copy or move files to it XYcopy detects the available space of the main drive where the mount point is created not the available space of the mount itself.
Basically:
dirve C, 40GB available
drive X with 500GB of free space
mount drive X to C:\mount
Copy 400GB of files to C:\mount
XYcopy warns about not available space detecting 40GB as the available space.
Also, if we accept, the XYcopy window keeps reporting 40GB as free space but it decreases it per-file and then resets back to initial value when each file finishes
XYplorer seems to report the correct free space.
Basically:
dirve C, 40GB available
drive X with 500GB of free space
mount drive X to C:\mount
Copy 400GB of files to C:\mount
XYcopy warns about not available space detecting 40GB as the available space.
Also, if we accept, the XYcopy window keeps reporting 40GB as free space but it decreases it per-file and then resets back to initial value when each file finishes
XYplorer seems to report the correct free space.
-
admin
- Site Admin
- Posts: 64750
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XYcopy doesn't detect correct available space on mountpoints
The next beta has an air fix (no time currently for reproducing).
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 64750
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XYcopy doesn't detect correct available space on mountpoints
I assume the silence is a good sign?
FAQ | XY News RSS | XY X
Re: XYcopy doesn't detect correct available space on mountpoints
Sorry. I tried latest beta but it didn't work, XYcopy is reporting an incorrect free space not the mount's.
I tried copying a big file and the reported space was wrong, I don't know what is using because right now my C drive has 21GB free, the mount has 25GB free and XYcopy reported 30GB, I've noticed that upon cancelling very quickly the free space changes to that one of the C drive.
I have no drive with 30GB of free space.
I tried copying a big file and the reported space was wrong, I don't know what is using because right now my C drive has 21GB free, the mount has 25GB free and XYcopy reported 30GB, I've noticed that upon cancelling very quickly the free space changes to that one of the C drive.
I have no drive with 30GB of free space.
Re: XYcopy doesn't detect correct available space on mountpoints
By the way, you can test this using VHDs, Windows allows mounting them in directories. You can create them from Disk Management.
-
admin
- Site Admin
- Posts: 64750
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XYcopy doesn't detect correct available space on mountpoints
Just to be clear, XYcopy.exe is only used for background operations. I was investigating under the premise that it works in the foreground but not in the background. Is that the case?
FAQ | XY News RSS | XY X
Re: XYcopy doesn't detect correct available space on mountpoints
Yes, I have background processing enabled but I also have enabled "Use Custom Copy".
Even disabling background processing for copy or disabling it completely this still happens.
Even disabling background processing for copy or disabling it completely this still happens.
-
admin
- Site Admin
- Posts: 64750
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XYcopy doesn't detect correct available space on mountpoints
So, this isn't about XYcopy. After your initial post, however, I found and fixed a bug in XYcopy, so your post was not in vain. 
But did I get you right that the error even occurs when you completely disable Custom Copy? In that case, also the Windows shell does not see the available space which points to some issue in the mounting.
But did I get you right that the error even occurs when you completely disable Custom Copy? In that case, also the Windows shell does not see the available space which points to some issue in the mounting.
FAQ | XY News RSS | XY X
Re: XYcopy doesn't detect correct available space on mountpoints
I thought it was XYcopy since the reported available space in the XYcopy window is incorrect.So, this isn't about XYcopy.
No, you talked about the background operations, so I disabled "Background Processing" altogether but kept "Use Custom Copy" and this still happened. I only ever use "Custom Copy".But did I get you right that the error even occurs when you completely disable Custom Copy?
Also in Windows 10, Windows' transfer window doesn't show the current available space so I can't tell.
So to summarize:
- The XYcopy window shows an available space number that doesn't belong to neither the mount nor the drive where the mount is mounted.
- When copying files, XYplorer shows a warning about not available space because it uses the available space of the drive where the mountpoint is mounted instead of the available space of the mount itself.
-
admin
- Site Admin
- Posts: 64750
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XYcopy doesn't detect correct available space on mountpoints
If Windows can't do it, then it's hard for XY to do any better. It relies on what Windows reports.
FAQ | XY News RSS | XY X
Re: XYcopy doesn't detect correct available space on mountpoints
This same bug is happening on normal network mounts.
On a linux server I have a folder on the root drive (let's call it /mounts_root) and I've mounted two other hard drives there, if I share this "mounts_root" folder through SMB and mount it on Windows on drive letter A, XYplorer reports the available space for A as the available space for the server's root drive, this is OK, but if I enter any of the two subdirectories, XYplorer keeps reporting the same available space instead that of the mounted hard drive. Kinda similar to what I reported in this thread. M$ File Explorer does report the correct available space for both of the subdirectories.
So to make it crystal clear, in M$ File Explorer "A" reports the available space for the server's root drive, one of the subdirs reports the available space of one of the hard drives and the other subdir reports the avail space of the other drive, whereas XYplorer reports for everything the same available space.
On a linux server I have a folder on the root drive (let's call it /mounts_root) and I've mounted two other hard drives there, if I share this "mounts_root" folder through SMB and mount it on Windows on drive letter A, XYplorer reports the available space for A as the available space for the server's root drive, this is OK, but if I enter any of the two subdirectories, XYplorer keeps reporting the same available space instead that of the mounted hard drive. Kinda similar to what I reported in this thread. M$ File Explorer does report the correct available space for both of the subdirectories.
So to make it crystal clear, in M$ File Explorer "A" reports the available space for the server's root drive, one of the subdirs reports the available space of one of the hard drives and the other subdir reports the avail space of the other drive, whereas XYplorer reports for everything the same available space.
- On linux create a folder on the root
- Mount hard drives (or any other devices) to sub directories inside the folder created before
- Share the folder created in the root through SMB
- On Windows mount this share to a drive letter
-
admin
- Site Admin
- Posts: 64750
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XYcopy doesn't detect correct available space on mountpoints
Hm, why shouldn't it work?
You can play with this script (replace "E:\Test" with your paths) to find out what works and what doesn't:
You can play with this script (replace "E:\Test" with your paths) to find out what works and what doesn't:
Code: Select all
echo get("freespace", "E:\Test");FAQ | XY News RSS | XY X
Re: XYcopy doesn't detect correct available space on mountpoints
Code: Select all
echo get("freespace", "A:\");Code: Select all
echo get("freespace", "A:\drive_1");Code: Select all
echo get("freespace", "A:\drive_2");The drive mounted in "drive_1" has 5TB of free space, the one mounted in "drive_2" has 300GB, the server's root drive does has 61.02 GB free.
Re: XYcopy doesn't detect correct available space on mountpoints
For completeness:
Code: Select all
DIR A:\.*
El volumen de la unidad A es zfs_datasets_alt
El número de serie del volumen es: 931A-7395
Directorio de A:\
17/09/2025 16:50 <DIR> .
17/09/2025 16:50 <DIR> ..
0 archivos 0 bytes
2 dirs 65,522,429,952 bytes libres
Code: Select all
DIR A:\drive_1\.*
El volumen de la unidad A es zfs_datasets_alt
El número de serie del volumen es: 931A-7395
Directorio de A:\drive_1
17/09/2025 21:43 <DIR> .
17/09/2025 16:50 <DIR> ..
0 archivos 0 bytes
2 dirs 4,756,886,972,416 bytes libres
Code: Select all
DIR A:\drive_2\.*
El volumen de la unidad A es zfs_datasets_alt
El número de serie del volumen es: 931A-7395
Directorio de A:\drive_2
17/09/2025 16:44 <DIR> .
17/09/2025 16:50 <DIR> ..
0 archivos 0 bytes
2 dirs 311,643,118,592 bytes libres
-
admin
- Site Admin
- Posts: 64750
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XYcopy doesn't detect correct available space on mountpoints
Does this show the correct mount point (at "MountPoint: ...")?
Code: Select all
exist "A:\drive_1";FAQ | XY News RSS | XY X
XYplorer Beta Club