Project

General

Profile

Bug #1493

Disk Stats

Added by bigfoot65 about 5 years ago. Updated about 4 years ago.

Status:
Assigned
Priority:
High
Assignee:
Target version:
-
Start date:
07/26/2014
Due date:
% Done:

0%


Description

When selecting the tab, it displays the graph but not the partitions. If you click on the bar above the graphs, the partitions show.

This is not documented on the screen, so wouldn't it make more sense to not hide it or maybe put a button on the page for show/hide partitions?

Capture1.PNG View (45.8 KB) bigfoot65, 08/10/2014 12:36 PM

Capture2.PNG View (61.6 KB) bigfoot65, 08/10/2014 12:36 PM

Capture3.PNG View (56 KB) bigfoot65, 08/10/2014 12:37 PM

Capture4.PNG View (39.2 KB) bigfoot65, 08/10/2014 12:39 PM

History

#1 Updated by bigfoot65 about 5 years ago

Those using mount shares locally script for Greyhole will notice a tone of partitions and graphs. It's almost unmanageable.

Recommend we exclude the /mnt/samba/ from the partition and graphs area.

#2 Updated by bigfoot65 about 5 years ago

BTW, the /mnt/samba/* are included in the disk totals, so throws everything off. I have 3.58 TB roughly of disk space, but reported at almost 40TB with the /mnt/samba/* included.

#3 Updated by bigfoot65 about 5 years ago

Should this be assigned to one of the GSOC students?

#4 Updated by cpg about 5 years ago

this is too abstract. is there a screenshot?

#5 Updated by bigfoot65 about 5 years ago

Attached are some screen shots to show what I mean. I did not do all mounts, but you get the idea.

#6 Updated by bigfoot65 about 5 years ago

This is what it should show. I stopped mount_shares_locally.

#7 Updated by bigfoot65 about 5 years ago

In the file disk_utils.rb, change line 69 portion of
df -BK
to be
df -BK --exclude-type=cifs

the cifs mounts disappear.

#8 Updated by bigfoot65 about 5 years ago

On the same line, add -x tmpfs to exclude the /var/spool/greyhole/mem
df -BK -x cifs -x tmpfs

#9 Updated by bigfoot65 about 5 years ago

  • Status changed from New to Assigned
  • Assignee set to cpg

I see this message when selecting Stats from the Disk tab.

translation missing: en.Disk Stats

#10 Updated by cpg almost 5 years ago

  • Project changed from plugins to amahi 8 platform

#11 Updated by bigfoot65 about 4 years ago

We need to fix this one. There are two disk_utils.rb files that need fixed:

030-disks/lib/disks/disk_utils.rb and 1001-disks_info/lib/disks_info/disk_utils.rb

I believe one is part of the platform and the other is in the Disk-Utils Plugin.

#12 Updated by bigfoot65 about 4 years ago

BTW, the tmpfs might need to be left along as /var/spool/greyhole/mem is important to the Greyhole process. If it maxes out, Greyhole will not work correctly.

#13 Updated by bigfoot65 about 4 years ago

  • Priority changed from Normal to High

#14 Updated by bigfoot65 about 4 years ago

I would like to fix this myself. Maybe you can walk me through the process via Hangouts at sometime.

Also available in: Atom