Collect number of disks and disk size
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-report (Ubuntu) |
Fix Released
|
Undecided
|
Didier Roche-Tolomelli | ||
Bionic |
Fix Released
|
Undecided
|
Didier Roche-Tolomelli |
Bug Description
[Impact]
* Currently the guided methods of the Ubuntu installer only address single disk setup. When a user have several disks on his machine he has to use the manual partitioning which is prone to failure for inexperienced users.
* It would be useful to understand how many disks are installed on a system and their size to determine how update the installer to best suit users' needs.
* We only report mounted partitions size
[Test Case]
* Install the new version from -proposed
* run `ubuntu-report show`
-> check that there is a Disks field, corresponding to arrays in GiB of disk sizes attached to the system. Non spinning disks, ssds or virtual machine disks are ignored.
[Regression Potential]
* As with the rest of ubuntu-report code, any error results in an empty, and so ommitted field. We report as many valid values as possible and discare invalid ones.
* Backed up via a lot of new and existing tests, checking corner cases like no valid size/number of block, empty size/number of block file, missing partial informations from the kernel, ignoring loop and other random devices…
____
Currently the guided methods of the Ubuntu installer only address single disk setup. When a user have several disks on his machine he has to use the manual partitioning which is prone to failure for inexperienced users.
It would be useful to understand how many disks are installed on a system and their size to determine how update the installer to best suit users' needs.
This information is available from /sys/block/
For example on my system
$ cat /sys/block/
125045424
512
512
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: ubuntu-report 1.2.0
ProcVersionSign
Uname: Linux 4.15.0-23-generic x86_64
ApportVersion: 2.20.10-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Jul 30 14:42:25 2018
Dependencies:
gcc-8-base 8.2.0-1ubuntu2
libc6 2.27-3ubuntu1
libgcc1 1:8.2.0-1ubuntu2
InstallationDate: Installed on 2014-07-15 (1476 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
SourcePackage: ubuntu-report
UpgradeStatus: Upgraded to cosmic on 2018-03-24 (127 days ago)
Changed in ubuntu-report (Ubuntu): | |
status: | New → Triaged |
assignee: | nobody → Didier Roche (didrocks) |
description: | updated |
Changed in ubuntu-report (Ubuntu Bionic): | |
status: | New → Triaged |
assignee: | nobody → Didier Roche (didrocks) |
description: | updated |
This bug was fixed in the package ubuntu-report - 1.3.0
---------------
ubuntu-report (1.3.0) cosmic; urgency=medium
* Include optional DCD OEM file (LP: #1786432)
* Collect number of disks and their sizes (LP: #1784383)
* Misc grammar updates, thanks Robin Hood
-- Didier Roche <email address hidden> Thu, 30 Aug 2018 10:05:54 +0200