#1871 assigned enhancement

provide interface to query lease storage information

Reported by: gdt Owned by: davidsarah
Priority: normal Milestone: undecided
Component: code-frontend-cli Version: 1.9.2
Keywords: transparency accounting operations storage usability leases Cc: zooko
Launchpad Bug:

Description

As a node operator, I want to be able to know what's going on. The following is notional and fuzzy, but trying to be specific.

tahoe storage-summary
=> displays the total number of shares and bytes of storage used (as "du" would??), both total and with leases, or for each category of expired lease, unexpired lease, etc.
tahoe storage-users
==> displays the above, but only for leased data, per user, where "user" is some token/cap used to ask for leases.
This would be logically equivalent to "du -s /home/*" in a loose sense.
tahoe storage-user username
==> as above, but perhaps after the same format line, more data

Change History (6)

comment:1 Changed at 2012-11-21T17:52:24Z by zooko

  • Component changed from code-storage to code-frontend-cli
  • Keywords transparency accounting operations storage added

Excellent ticket. Thanks!

comment:2 Changed at 2012-11-21T17:53:37Z by zooko

  • Keywords usability added

comment:3 Changed at 2012-11-21T17:54:06Z by zooko

  • Cc zooko added

comment:4 Changed at 2012-12-05T00:01:05Z by davidsarah

Note that the lease dumping functionality of tahoe debug is no longer present, so this is needed as a (more user-friendly) replacement.

comment:5 Changed at 2012-12-05T00:06:41Z by davidsarah

  • Owner set to davidsarah
  • Status changed from new to assigned

comment:6 Changed at 2012-12-05T00:07:44Z by davidsarah

  • Keywords leases added
Note: See TracTickets for help on using tickets.