New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 652756 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

External storage info in moblab setup page

Project Member Reported by krk@chromium.org, Oct 4 2016

Issue description

Add a box to display external memory (USB etc) info like volume name and disk space.
 
If there was a collapsible panel that when you opened it showed this :

total 0
lrwxrwxrwx 1 root root 11 Oct 11 13:45 EFI-SYSTEM -> ../../sda12
lrwxrwxrwx 1 root root 10 Oct 11 13:45 H-STATE -> ../../sda1
lrwxrwxrwx 1 root root  9 Oct 11 13:45 MOBLAB-STORAGE -> ../../sdb
lrwxrwxrwx 1 root root 10 Oct 11 13:45 OEM -> ../../sda8
lrwxrwxrwx 1 root root 10 Oct 11 13:45 ROOT-A -> ../../sda3
moblab@localhost /usr/local/autotest/site_utils $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       2.0G  1.8G  175M  92% /
devtmpfs        7.8G     0  7.8G   0% /dev
tmp             7.8G  208K  7.8G   1% /tmp
run             7.8G  384K  7.8G   1% /run
shmfs           7.8G  2.1M  7.8G   1% /dev/shm
/dev/sda1       114G  3.4G  105G   4% /var
/dev/sda8        12M   28K   12M   1% /usr/share/oem
media           7.8G     0  7.8G   0% /media
none            7.8G     0  7.8G   0% /sys/fs/cgroup
/dev/sdb        917G  6.1G  865G   1% /mnt/moblab


Would that be sufficient - mostly this is for us just debugging, this shows the volume labels and they free space - I can parse it into a better format but I am not sure it is worth the effort.

Comment 2 by krk@chromium.org, Oct 27 2016

Labels: -M-55 M-56

Comment 3 by krk@chromium.org, Dec 12 2016

Labels: Q117
Summary: External storage info in moblab setup page (was: External memory info in moblab setup page)
Components: Infra>Client>ChromeOS
Owner: ----
Status: Available (was: Assigned)
Owner: mattmallett@chromium.org
Status: Assigned (was: Available)
Project Member

Comment 8 by bugdroid1@chromium.org, May 1 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/moblab/+/257be716917f335c54c08684e049ebe6720dab26

commit 257be716917f335c54c08684e049ebe6720dab26
Author: Matt Mallett <mattmallett@chromium.org>
Date: Tue May 01 09:13:31 2018

[moblab] Create disk info diagnostic for mobmonitor

Allow users to see mounted filesystems and remaining space on
partitions on the mobmonitor UI. Information is gathered with
df -h and lsblk.

BUG= chromium:652756 
TEST=disk_info_unittest.py, osutils_unittest.py

Change-Id: I4a67a463ff52c06a681649b82c7fcc0167ccc616
Reviewed-on: https://chromium-review.googlesource.com/1031554
Commit-Ready: Matt Mallett <mattmallett@chromium.org>
Tested-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>

[modify] https://crrev.com/257be716917f335c54c08684e049ebe6720dab26/src/mobmonitor/diagnostic_checks/manager.py
[modify] https://crrev.com/257be716917f335c54c08684e049ebe6720dab26/src/mobmonitor/diagnostic_checks/cloud_storage_speedtest.py
[modify] https://crrev.com/257be716917f335c54c08684e049ebe6720dab26/src/mobmonitor-ui/src/app/diagnostics/diagnostics.component.scss
[modify] https://crrev.com/257be716917f335c54c08684e049ebe6720dab26/src/mobmonitor/util/osutils.py
[add] https://crrev.com/257be716917f335c54c08684e049ebe6720dab26/src/mobmonitor/diagnostic_checks/disk_info.py
[modify] https://crrev.com/257be716917f335c54c08684e049ebe6720dab26/src/mobmonitor-ui/src/app/diagnostics/diagnostics.component.html
[add] https://crrev.com/257be716917f335c54c08684e049ebe6720dab26/src/mobmonitor/diagnostic_checks/disk_info_unittest.py
[modify] https://crrev.com/257be716917f335c54c08684e049ebe6720dab26/src/mobmonitor/util/osutils_unittest.py

Status: Fixed (was: Assigned)

Sign in to add a comment