2018-07-30 12:53:30 |
Jean-Baptiste Lallement |
bug |
|
|
added bug |
2018-07-30 12:53:49 |
Didier Roche-Tolomelli |
ubuntu-report (Ubuntu): status |
New |
Triaged |
|
2018-07-30 12:53:51 |
Didier Roche-Tolomelli |
ubuntu-report (Ubuntu): assignee |
|
Didier Roche (didrocks) |
|
2018-07-30 12:55:12 |
Jean-Baptiste Lallement |
description |
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 user.
It would be useful to understand how many disks are installed on a system and their size.
This information is available from /sys/block/<device>/size . The information is in blocks. The block size is available from /sys/block/<device>/queue/{logical|physical}_block_size
For example on my system
$ cat /sys/block/sda/{size,queue/*_block_size}
125045424
512
512
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: ubuntu-report 1.2.0
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
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) |
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/<device>/size . The information is in blocks. The block size is available from /sys/block/<device>/queue/{logical|physical}_block_size
For example on my system
$ cat /sys/block/sda/{size,queue/*_block_size}
125045424
512
512
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: ubuntu-report 1.2.0
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
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) |
|
2018-08-30 08:23:00 |
Didier Roche-Tolomelli |
nominated for series |
|
Ubuntu Bionic |
|
2018-08-30 08:23:00 |
Didier Roche-Tolomelli |
bug task added |
|
ubuntu-report (Ubuntu Bionic) |
|
2018-08-30 08:23:07 |
Didier Roche-Tolomelli |
ubuntu-report (Ubuntu Bionic): status |
New |
Triaged |
|
2018-08-30 08:23:08 |
Didier Roche-Tolomelli |
ubuntu-report (Ubuntu Bionic): assignee |
|
Didier Roche (didrocks) |
|
2018-08-30 11:56:35 |
Didier Roche-Tolomelli |
description |
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/<device>/size . The information is in blocks. The block size is available from /sys/block/<device>/queue/{logical|physical}_block_size
For example on my system
$ cat /sys/block/sda/{size,queue/*_block_size}
125045424
512
512
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: ubuntu-report 1.2.0
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
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) |
[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/<device>/size . The information is in blocks. The block size is available from /sys/block/<device>/queue/{logical|physical}_block_size
For example on my system
$ cat /sys/block/sda/{size,queue/*_block_size}
125045424
512
512
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: ubuntu-report 1.2.0
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
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) |
|
2018-08-30 12:00:18 |
Launchpad Janitor |
ubuntu-report (Ubuntu): status |
Triaged |
Fix Released |
|
2018-08-30 19:33:49 |
Brian Murray |
ubuntu-report (Ubuntu Bionic): status |
Triaged |
Fix Committed |
|
2018-08-30 19:33:51 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-08-30 19:33:54 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2018-08-30 19:33:57 |
Brian Murray |
tags |
amd64 apport-bug cosmic |
amd64 apport-bug cosmic verification-needed verification-needed-bionic |
|
2018-08-31 13:23:26 |
Jean-Baptiste Lallement |
tags |
amd64 apport-bug cosmic verification-needed verification-needed-bionic |
amd64 apport-bug cosmic verification-done verification-done-bionic |
|
2018-09-06 07:45:27 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-09-06 07:55:32 |
Launchpad Janitor |
ubuntu-report (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|