incorrect size information

Bug #1052595 reported by Rolf Leggewie on 2012-09-18
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
davfs2 (Ubuntu)
Undecided
Unassigned

Bug Description

I mounted an online hard disk from strato.de via davfs. The provider allows me 150G of storage of which less than 1G is used. "df -h" returns some funny numbers that have no resemblence to reality.

$ df -h|grep strato
https://webdav.hidrive.strato.com/
                       26G 13G 13G 50% /mnt/strato

Rolf Leggewie (r0lf) on 2014-04-15
tags: added: trusty
Rolf Leggewie (r0lf) wrote :

This is still unchanged as of today. I would appreciate some help in triaging this. I only seem to experience this with strato.de so I wonder if they are supplying incorrect information somehow.

Rolf Leggewie (r0lf) wrote :

I believe this is caused by the hoster not implementing quota-available-bytes and quota-used-bytes as defined in RFC 4331 (www.ietf.org/rfc/rfc4331.txt). Nonetheless, even if this is the case, davfs2 should not return some fantasy value.

Here is the information I collected with cadaver from two hosters. The first one is Strato and does not return a value for above variables while the second one does. The second hoster is also showing correctly in df.

Strato as dav host:
dav:/users/XYZ/> propget .
Fetching properties for `.':
DAV: resourcetype = <DAV:collection></DAV:collection>
DAV: creationdate = 2015-03-05T06:27:07Z
DAV: getlastmodified = Thu, 05 Mar 2015 06:27:07 GMT
DAV: getetag = "a-b-51084a83426d1"
DAV: supportedlock =
<DAV:lockentry>
<DAV:lockscope><DAV:exclusive></DAV:exclusive></DAV:lockscope>
<DAV:locktype><DAV:write></DAV:write></DAV:locktype>
</DAV:lockentry>
<DAV:lockentry>
<DAV:lockscope><DAV:shared></DAV:shared></DAV:lockscope>
<DAV:locktype><DAV:write></DAV:write></DAV:locktype>
</DAV:lockentry>

DAV: lockdiscovery =

Other dav hoster:
dav:/> propget .
Fetching properties for `.':
http://webdav.org/cadaver/custom-properties/ imageheight = unknown
http://webdav.org/cadaver/custom-properties/ thumbnailuri = unknown
http://webdav.org/cadaver/custom-properties/ imagewidth = unknown
DAV: supportedlock =
<DAV:lockentry>
<DAV:lockscope><DAV:exclusive></DAV:exclusive></DAV:lockscope>
<DAV:locktype><DAV:write></DAV:write></DAV:locktype>
</DAV:lockentry>

DAV: iscollection = TRUE
DAV: resourcetype =
<DAV:collection></DAV:collection>
DAV: creationdate = Thu, 05 Mar 2015 15:06:11 GMT
DAV: lockdiscovery =

DAV: quota-used-bytes = 490387428
DAV: isreadonly = FALSE
DAV: quota-available-bytes = 26353158172
DAV: getcontenttype = text/html; charset=utf-8
DAV: name =
DAV: getcontentlength = 0
DAV: getlastmodified = Thu, 05 Mar 2015 15:06:11 GMT
DAV: getcreated = Thu, 05 Mar 2015 15:06:11 GMT
DAV: getetag = "0-0-0-1425567971028"
DAV: displayname =

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in davfs2 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers