core icon indicating copy to clipboard operation
core copied to clipboard

Windows 7 x64 WebDAV shows disk size same as local drive

Open MTRichards opened this issue 13 years ago • 14 comments

Transferred from bug genie: http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-1973

Reproduced on Dec 13 4.5 daily build.

Description: Couldn't find any reports like this on here so decided to add one.

Whenever I mount the storage using Web DAV under Windows 7 x64 the owncloud drive shows that it is the exact same size as my local disk.

As an example, say I had 1GB free space on local hard drive. If i try and move a 2GB file or group of files that size to the owncloud drive Windows gives an error saying there is not enough space left on the drive.

Here's a screenshot to show what I mean: http://i.imgur.com/4RRME.png

Is there any way to show the quota set for the user instead of what my local drive has free? Is there any way to just disable showing the drive size to get past moving files to the owncloud drive issue i explained above?

I've tested this on two different owncloud servers, one was runnning 4.5 and the most recent one is running 5. Tried on multiple Windows 7 x64 clients and get this same result.

Is this something server side or client side? Thanks!

Reproduction steps: Mount "Network Drive" in Windows 7 x64 using Web DAV address

Refresh My Computer screen once drive is connected

MTRichards avatar Dec 16 '12 03:12 MTRichards

@evert Is this a know webdav issue within windows? THX

DeepDiver1975 avatar Dec 17 '12 10:12 DeepDiver1975

Hi!. Can you check if PHP is running 64bit or 32bit? Even if the operating system is 64bit, PHP itself could still run as 32.

Easiest way to check if to create a small php script that echoes:

echo PHP_MAX_INT;

evert avatar Dec 17 '12 12:12 evert

I have exactly same issue. My operating system is: Windows 7 32 bit. Server operating system is Windows Server 2008 64-bit, PHP is 32-bit.

disaderp avatar Jan 26 '13 16:01 disaderp

Microsoft reports this to be a WebDAV issue.

http://support.microsoft.com/kb/2386902

I haven't tried WebDAV on another OS, yet, so I do not know if that is true. Maybe it is a Windows issue (would not surprise me).

irgsmirx avatar Feb 01 '13 10:02 irgsmirx

I’m closing this bug because it has been inactive for a few months. This probably means it’s not reproducible or it has been fixed.

Please reopen if the error still persists with ownCloud 5.0.9 (the latest stable version) and then please use the issue template.

Thank you!

jancborchardt avatar Aug 05 '13 11:08 jancborchardt

This is decidedly still an issue, seen on OC 5.0.10.

Expected behaviour

Drive space usage should show actual information from ownCloud.

Actual behaviour

Drive space usage mirrors System Drive usage, gives out of space errors when you exceed the available space on your local system drive. If drive C: is 60 GB, then the mapped ownCloud drive will show as 60 GB. If 58 GB is used on drive C:, then the mapped ownCloud drive will show that there is 58 GB used. If you then attempt to copy a 3 GB file to the mapped ownCloud drive, you will receive an out of space error from Windows, even if the ownCloud drive has 100's of GB of available space.

Steps to reproduce

  1. Map ownCloud in Windows
  2. Check drive space usage (In use/free) on Windows Explorer
  3. Try to fill the ownCloud drive with more space than your local system drive has available/free, but with less than the ownCloud drive actually has free/available.

Server configuration

Operating system: Centos6

Web server: Apache

Database: MySQL

PHP version: 5.3.3

ownCloud version: 5.0.10

Client configuration

Browser: Windows Explorer

Operating system: Windows 7, Win7

gah242s avatar Aug 19 '13 15:08 gah242s

@gah242s

What's the output of this script on your php server:

<?php

echo PHP_INT_MAX;

?>

evert avatar Aug 19 '13 15:08 evert

@evert Hrm ... Not sure that huge quite describes it: 9223372036854775807

gah242s avatar Aug 22 '13 18:08 gah242s

It does, it tells me that your PHP is compiled as a 64 bit application.

Also, I'm not sure then what the problem could be...

evert avatar Aug 22 '13 19:08 evert

As irgsmix stated, this is an issue with Windows. I encounter the same issue on both Windows 8 and Windows 7 (both are 64bit). I am experimenting by transferring "smaller" blobs of data. I reportedly have 59,1GB of space on my SSD and ~80GB of data to transfer across three main folders. Transferring each of these separately offers three transfers under the remaining size of my SSD and I expect that it should complete without any fuss. If this is successful, then there is a work-around for this Microsoft shortcoming - at least for people with space left on their C:\ drive...

Is there any other protocol that is better supported on all major OSes that allows ownCloud to behave as designed? Or was webdav settled upon as the most suitable?

bigdavedev avatar Nov 13 '13 21:11 bigdavedev

See http://support.microsoft.com/kb/2386902

It seems that it's by design that Windows WebDAV shows the same space as the current drive... so not an ownCloud issue.

PVince81 avatar Jan 23 '14 18:01 PVince81

@bigdavedev from what I heard webdav was chosen as it was the most suitable.

PVince81 avatar Jan 23 '14 18:01 PVince81

@DeepDiver1975 Can this be closed as it is out of our scope but within Microsoft's? Installing the ownCloud client should fix this too.

bantu avatar Feb 05 '14 23:02 bantu

@DeepDiver1975 Can this be closed as it is out of our scope but within Microsoft's? Installing the ownCloud client should fix this too.

agreed -> case closed

DeepDiver1975 avatar Feb 06 '14 12:02 DeepDiver1975