[Bug 1571707] Comment bridged from LTC Bugzilla
bugproxy at us.ibm.com
Mon May 23 14:50:04 UTC 2016
------- Comment From irina-yashina at ru.ibm.com 2016-05-23 10:45 EDT-------
I tried to use 'chzdev -a' option instead of 'chccwdev' in the script.
This doesn't solve the problem with parallel execution,
the script hangs for 256 FCP disks.
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to multipath-tools in Ubuntu.
The created partitions can be seen in the system only partly when
partitioning 256 FCP devices with multipathing
Status in Ubuntu on IBM z Systems:
Status in multipath-tools package in Ubuntu:
== 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
# ll /dev/disk/by-path | grep 40244000
lrwxrwxrwx 1 root root 10 Apr 14 22:03 ccw-0.0.1800-fc-0x5005076303135401-lun-0x4024400000000000 -> ../../sddq
lrwxrwxrwx 1 root root 10 Apr 14 20:58 ccw-0.0.1800-fc-0x5005076303535401-lun-0x4024400000000000 -> ../../sdnv
lrwxrwxrwx 1 root root 10 Apr 14 20:58 ccw-0.0.1840-fc-0x5005076303135401-lun-0x4024400000000000 -> ../../sdxo
lrwxrwxrwx 1 root root 11 Apr 14 20:58 ccw-0.0.1840-fc-0x5005076303535401-lun-0x4024400000000000 -> ../../sdahh
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 at s35lp12:~/limit# fdisk -l | grep /sddq
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
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 ==
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.
To manage notifications about this bug go to:
More information about the foundations-bugs