ISST-LTE: pmac-fdisk doesn't work with mpath devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mac-fdisk (Ubuntu) |
Fix Released
|
High
|
Adam Conrad | ||
Trusty |
Fix Released
|
High
|
Adam Conrad | ||
Vivid |
Fix Released
|
Undecided
|
Unassigned | ||
util-linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned | ||
Vivid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
---Problem Description---
1. fdisk -l doesn't work with mpath device:
% sudo fdisk -l /dev/mapper/mpath0
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Disk /dev/sda: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/sda1 1 1 135324277143551+ ee Unknown
Partition 1 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 127, 32)
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Disk /dev/sdb: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/sdb1 1 1 21 42992 83 Linux native
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 6f00 of partition table 4 will be corrected by w(rite)
Disk /dev/sdc: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 6f00 of partition table 4 will be corrected by w(rite)
Disk /dev/sdd: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 6f00 of partition table 4 will be corrected by w(rite)
Disk /dev/sde: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 6f00 of partition table 4 will be corrected by w(rite)
Disk /dev/sdf: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 6f00 of partition table 4 will be corrected by w(rite)
Disk /dev/sdg: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 6f00 of partition table 4 will be corrected by w(rite)
Disk /dev/sdh: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
%
2. when trying to partition a mpath device with fdisk, it asks user to sed sectors and cylindes:
% sudo fdisk /dev/mapper/mpath4
You must set heads sectors and cylinders.
You can do this from the extra functions menu.
Warning: invalid flag 6f00 of partition table 4 will be corrected by w(rite)
Command (m for help): p
Disk /dev/mapper/mpath4: 0 heads, 0 sectors, 0 cylinders
Units = cylinders of 1 * 512 bytes
Device Boot Begin Start End Blocks Id System
Command (m for help): n
You must set heads sectors and cylinders.
You can do this from the extra functions menu.
Command (m for help):
3.fdisk will show a wrong partition name:
% ls /dev/mapper/
/dev/mapper/
% sudo fdisk /dev/mapper/mpath3
You must set heads sectors and cylinders.
You can do this from the extra functions menu.
Command (m for help): p
Disk /dev/mapper/mpath3: 0 heads, 0 sectors, 0 cylinders
Units = cylinders of 1 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/mapper/mpath31 63 255428710427714
Command (m for help):
---uname output---
Linux dilllp1 3.19.0-22-generic #22~14.04.1-Ubuntu SMP Wed Jun 17 10:03:39 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = na
---Debugger---
A debugger is not configured
---Steps to Reproduce---
1. install ubuntu 14.04.3 on a system which has mpath devices
2. using "fdisk" to check mpath device:
* fdisk -l <mpath device>
* fdisk <mpath device> (partition the device)
Userspace tool common name: fdisk(symbol link to pmac-fdisk)
The userspace tool has the following bit modes: 64-bit
Userspace package: pmac-fdisk, version: 0.1-16ubuntu2
tags: | added: architecture-ppc64le bugnameltc-127442 severity-high targetmilestone-inin--- |
affects: | ubuntu → mac-fdisk (Ubuntu) |
summary: |
- ISST-LTE: fdisk doesn't work with mpath devices + ISST-LTE: pmac-fdisk doesn't work with mpath devices |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1473934/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]