Re: [RFC] New attempt to a better "btrfs fi df"
From: Martin Steigerwald <hidden>
Date: 2012-10-28 13:22:38
Am Sonntag, 28. Oktober 2012 schrieb Goffredo Baroncelli:
On 2012-10-28 12:18, Michael Kjörling wrote:quoted
On 28 Oct 2012 11:59 +0100, from kreijack@gmail.com (Goffredo
Baroncelli):
quoted
quoted
On 2012-10-28 11:38, Martin Steigerwald wrote:quoted
But still if if can be arbitrarily long due to that per object replication config, a vertical output might and leaving graphical representation to a Qt Quick application or so might be better.Yes, this is my same feel: For console I prefer a text representation in rows, leaving to a graphical GUI to show the information in columns..So a sysadmin who logs on to a server (which uses btrfs) over plain SSH should need to install a good chunk of X11 plus a load of support libraries on the server, plus have a X11 server on the machine they are connecting from, simply to get a tabular view of the disk space?As reported in another email, I like the tabular format. The point is that it is not usable because the combination of Chunk-type (Data, Metadata, System) and Profile (DUP, Single, RAID1, RAID10, RAID0...RAID5/6) doesn't fit in 80 columns width. Even tough the simple case (Only one profile, Data,Metadata,System chunk type) could fit, this solution doesn't scale when will be possible to select different profiles per subvolume basis. [...]
The vertical output makes it quite difficult to spot unbalanced drives tough. A simplified output might help: Just show how much is used/unused on each drive. This helps the usecase to spot unbalanced drives, I think. And it can fit in tabular output. I think its good to go from the use cases. What questions may the user have and how to answer them in a clear and concise way? Then for details the vertical output might be a good option. Anyway, I think first go for the summary thing… since I think that is clear. -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7