[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2532: storage server running 1.10.2 shows 2^64 bytes available to clients (was: storage server running ~1.9.1 shows 2^64 bytes available to clients)

Tahoe-LAFS trac at tahoe-lafs.org
Tue Oct 13 21:52:20 UTC 2015


#2532: storage server running 1.10.2 shows 2^64 bytes available to clients
-----------------------------------+------------------------------------
     Reporter:  daira              |      Owner:
         Type:  defect             |     Status:  new
     Priority:  normal             |  Milestone:  undecided
    Component:  code-frontend-web  |    Version:  1.10.1
   Resolution:                     |   Keywords:  storage status welcome
Launchpad Bug:                     |
-----------------------------------+------------------------------------

Comment (by warner):

 Hm. I only see one place in the code where `2**64` makes an appearance,
 which is in the storage server, when `fileutil_get_available_space()`
 returns None. I've seen this return None on some virtual servers (maybe
 with network-based disks?), when the `os.statvfs` call fails: #2290 was
 for this happening on the Travis-CI build machines.

 If that function returns None, then the server will indeed report that
 moon-sized available space.

 The server in question was my own, and when I ran `get_available_space()`
 just now, it return about 10GB as expected. I did restart the server once
 or twice while we were setting up the demo (changing the webapi port's
 interface= so I could see it remotely). Maybe the statvfs failed the first
 time it came up, but succeeded the second time?

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2532#comment:4>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list