diff --git a/src/allmydata/storage.py b/src/allmydata/storage.py index 66f668863..f3fd98360 100644 --- a/src/allmydata/storage.py +++ b/src/allmydata/storage.py @@ -871,6 +871,8 @@ class StorageServer(service.MultiService, Referenceable): for name,v in ld.items(): stats['storage_server.latencies.%s.%s' % (category, name)] = v writeable = True + if self.readonly_storage: + writeable = False try: s = os.statvfs(self.storedir) disk_total = s.f_bsize * s.f_blocks