Anyway to find out free space available and space used by collection?

68 views
Skip to first unread message

Davis

unread,
Dec 30, 2015, 9:59:59 PM12/30/15
to Seaweed File System
Hi, just wondering whether any API or plan to include such features?

We plan to use this as part of multi-tenant service and needs to know how much storage each client is using.

Thanks.

Chris Lu

unread,
Jan 1, 2016, 8:55:31 PM1/1/16
to seaw...@googlegroups.com
Not planned. But welcome to any pull request for such APIs.

Depending on your use case, maybe you can store the collection->volume ids mapping somewhere, and query the volume server status for each volume's size.

How many collections you have in mind?

Chris

--
You received this message because you are subscribed to the Google Groups "Seaweed File System" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seaweedfs+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages