ISST-LTE: KVM:UBUNTU1804: BostonLC: fdisk -l shows the conflicting partitions name for the mpath
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
Medium
|
Canonical Foundations Team | ||
util-linux (Ubuntu) |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Any user of Ubuntu on multipath, where the default path separator has been changed to something else. This possibly affects other scenarios where the partition separator can be changed.
[Test case]
1) Install Ubuntu on multipath system
2) Change /etc/multipath.conf to set "path_separator" to "" or "p".
3) Reboot
4) Run 'sudo fdisk -l /dev/mapper/
[Regression potential]
Minimal. This only affects display. Default separator on Ubuntu remains "-part". If the separator is not one of "", "p", or "-part", then "-part" would be used, as is already the case.
== Comment: #0 - Chanh H. Nguyen <email address hidden> - 2018-01-09 11:14:07 ==
We have the Ubuntu1804 installed on our BostonLC system. Create a SAN via the Emulex adapter to have the mpath disk.
Running the fdisk -l and ls -l showing the conflict name for the mpath.
:~# uname -a
Linux boslcp4 4.13.0-17-generic #20-Ubuntu SMP Mon Nov 6 10:03:08 UTC 2017 ppc64le ppc64le ppc64le GNU/Linux
root@boslcp4:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Bionic Beaver (development branch)"
VERSION_ID="18.04"
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
VERSION_
UBUNTU_
:~# fdisk -l /dev/mapper/mpatha
Disk /dev/mapper/mpatha: 600 GiB, 644245094400 bytes, 1258291200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 32768 bytes / 32768 bytes
Disklabel type: dos
Disk identifier: 0xa5be904b
Device Boot Start End Sectors Size Id Type
/dev/mapper/
/dev/mapper/
/dev/mapper/
:~# ls -l /dev/mapper/mpatha*
lrwxrwxrwx 1 root root 7 Jan 9 04:04 /dev/mapper/mpatha -> ../dm-0
lrwxrwxrwx 1 root root 7 Jan 9 04:03 /dev/mapper/mpatha1 -> ../dm-1
lrwxrwxrwx 1 root root 7 Jan 9 04:03 /dev/mapper/mpatha2 -> ../dm-2
lrwxrwxrwx 1 root root 7 Jan 9 04:03 /dev/mapper/mpatha3 -> ../dm-3
== Comment: #2 - Chanh H. Nguyen <email address hidden> - 2018-01-09 11:35:04 ==
I just modify the partitions and it is still showing the conflicting name on partitions.
:~# ls -l /dev/mapper/mpatha*
lrwxrwxrwx 1 root root 7 Jan 9 04:33 /dev/mapper/mpatha -> ../dm-0
lrwxrwxrwx 1 root root 7 Jan 9 04:33 /dev/mapper/mpatha1 -> ../dm-1
lrwxrwxrwx 1 root root 7 Jan 9 04:33 /dev/mapper/mpatha2 -> ../dm-2
lrwxrwxrwx 1 root root 7 Jan 9 04:33 /dev/mapper/mpatha3 -> ../dm-3
lrwxrwxrwx 1 root root 7 Jan 9 04:33 /dev/mapper/mpatha4 -> ../dm-4
lrwxrwxrwx 1 root root 7 Jan 9 04:33 /dev/mapper/mpatha5 -> ../dm-5
lrwxrwxrwx 1 root root 7 Jan 9 04:33 /dev/mapper/mpatha6 -> ../dm-6
lrwxrwxrwx 1 root root 7 Jan 9 04:33 /dev/mapper/mpatha7 -> ../dm-7
lrwxrwxrwx 1 root root 7 Jan 9 04:33 /dev/mapper/mpatha8 -> ../dm-8
:~# fdisk -l /dev/mapper/mpatha
Disk /dev/mapper/mpatha: 600 GiB, 644245094400 bytes, 1258291200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 32768 bytes / 32768 bytes
Disklabel type: dos
Disk identifier: 0xa5be904b
Device Boot Start End Sectors Size Id Type
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
== Comment: #5 - Kyle Mahlkuch <email address hidden> - 2018-06-26 13:50:12 ==
I have created and submitted a patch that should help with this bug. I will update when/if the patch is accepted.
== Comment: #9 - Kyle Mahlkuch <email address hidden> - 2018-07-27 09:10:44 ==
Here is the patch:
https:/
tags: | added: architecture-ppc64le bugnameltc-163340 severity-high targetmilestone-inin1804 |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → util-linux (Ubuntu) |
Changed in ubuntu-power-systems: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
tags: | added: triage-g |
tags: | added: id-5b5f9c7990f052a107d9963c |
Changed in util-linux (Ubuntu): | |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Foundations Team (canonical-foundations) |
Changed in util-linux (Ubuntu): | |
importance: | Undecided → High |
tags: |
added: triage-a removed: triage-g |
Changed in ubuntu-power-systems: | |
importance: | High → Medium |
Changed in util-linux (Ubuntu): | |
importance: | High → Medium |
description: | updated |
Changed in ubuntu-power-systems: | |
status: | Triaged → Fix Committed |
Changed in util-linux (Ubuntu Bionic): | |
status: | Fix Committed → Incomplete |
Changed in ubuntu-power-systems: | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in util-linux (Ubuntu Bionic): | |
status: | Incomplete → Fix Committed |
Changed in ubuntu-power-systems: | |
status: | Fix Committed → Fix Released |
------- Comment From <email address hidden> 2018-08-08 15:47 EDT-------
Moving to submitted state, waiting for Canonical to pull in the requested patch.