SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
FUSE mount: report max volume count available disk space
Chris Lu34a0d424f87c
diff --git a/weed/server/master_grpc_server_volume.go b/weed/server/master_grpc_server_volume.goindex 856c07890b..282c75679a 100644--- a/weed/server/master_grpc_server_volume.go+++ b/weed/server/master_grpc_server_volume.go@@ -121,8 +121,10 @@ func (ms *MasterServer) Statistics(ctx context.Context, req *master_pb.StatisticvolumeLayout := ms.Topo.GetVolumeLayout(req.Collection, replicaPlacement, ttl)stats := volumeLayout.Stats()+ totalSize := ms.Topo.GetMaxVolumeCount() * int64(ms.option.VolumeSizeLimitMB) * 1024 * 1024+resp := &master_pb.StatisticsResponse{- TotalSize: stats.TotalSize,+ TotalSize: uint64(totalSize),UsedSize: stats.UsedSize,FileCount: stats.FileCount,}