The created partitions can be seen in the system only partly when partitioning 256 FCP devices with multipathing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Medium
|
Unassigned | ||
multipath-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
== Comment: #0 - IRINA YASHINA - 2016-04-15 07:14:54 ==
During the Limit Testing the script limit.tar.gz was used for partitioning 256 FCP devices,
a partition per device should be created ("./limit.sh fcp_partition").
The created partitions can be seen in the system only partly, e.g. 89 instead of 256,
in /proc/partitions, in /dev/disk/by-path.
For example, in /dev/disk/by-path for LUN 40244000 there is no partition sddq1:
# ll /dev/disk/by-path | grep 40244000
lrwxrwxrwx 1 root root 10 Apr 14 22:03 ccw-0.0.
lrwxrwxrwx 1 root root 10 Apr 14 20:58 ccw-0.0.
lrwxrwxrwx 1 root root 10 Apr 14 20:58 ccw-0.0.
lrwxrwxrwx 1 root root 11 Apr 14 20:58 ccw-0.0.
It also can't be seen in the output of "ll /proc/partitions":
. . .
71 128 1048576 sddq
71 144 1048576 sddr
71 160 1048576 sdds
71 161 1047552 sdds1
71 176 1048576 sddt
71 192 1048576 sddu
71 193 1047552 sddu1
. . .
But fdisk shows that the partition sddq1 was created:
root@s35lp12:
Disk /dev/sddq: 1 GiB, 1073741824 bytes, 2097152 sectors
/dev/sddq1 2048 2097151 2095104 1023M 83 Linux
The output of the commands 'cat /proc/partitions' and 'fdisk -l' are attached.
The number of seen partitions in the system after partitioning 256 FCP devices is differ from time to time.
With partitioning 30 FCP devices all the created partitions are reflected in the system correctly.
== Comment: #3 - IRINA YASHINA - 2016-04-18 04:03:40 ==
Additional info:
investigations show that the script hangs for 256 FCP disks.
Incorrect and different number of devices in /proc/partitions and /dev/disk/by-path
is the result of this hanging.
The system may be repaired by using partx and kpartx.
This problem is connected with parallel execution of commands in the script.
When parallel execution is removed from the script for partitioning FCP disks,
then there is no hang and all the data in /proc/partitions and /dev/disk/by-path are correct.
affects: | ubuntu → multipath-tools (Ubuntu) |
tags: |
added: targetmilestone-inin16041 removed: targetmilestone-inin1604 |
Changed in ubuntu-z-systems: | |
importance: | Undecided → Medium |
Changed in ubuntu-z-systems: | |
status: | New → Triaged |
Changed in ubuntu-z-systems: | |
status: | Triaged → Fix Released |
Changed in multipath-tools (Ubuntu): | |
status: | New → Fix Released |
Changed in ubuntu-z-systems: | |
status: | Fix Released → Triaged |
Changed in multipath-tools (Ubuntu): | |
status: | Fix Released → New |
Changed in multipath-tools (Ubuntu): | |
status: | New → Incomplete |
Changed in ubuntu-z-systems: | |
status: | Triaged → Incomplete |
Changed in multipath-tools (Ubuntu): | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → nobody |
Changed in multipath-tools (Ubuntu): | |
status: | Incomplete → Fix Released |
Changed in ubuntu-z-systems: | |
status: | Incomplete → Fix Released |
Default Comment by Bridge