kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #105654
[Bug 1425773] [NEW] multipath command not showing boot disk information
You have been subscribed to a public bug:
== Comment: #0 - GIRISH SHRIGIRI <gshrigir@xxxxxxxxxx> - 2015-02-18 05:57:13 ==
multipath -ll command not showing proper boot disk .
i have assigned 60G ds8k SAN disk and rest IO Disk of sizes 20G and 10G from ds8k and XIV.
lsblk and lsscsi -s shows proper boot disk name ( sdq )
but multipath -ll shows wrong result and also shows wrong size ( showing
20G )
please have a look into it .
root@zop01:/# multipath -ll
mpath2 (200173800277f06f5) dm-4 IBM,2810XIV
size=16G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 2:0:6:2 sdj 8:144 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 2:0:7:2 sdn 8:208 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 3:0:6:2 sdz 65:144 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 3:0:7:2 sdad 65:208 active ready running
mpath1 (200173800277f06f7) dm-6 IBM,2810XIV
size=16G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 2:0:6:4 sdl 8:176 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 2:0:7:4 sdp 8:240 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 3:0:6:4 sdab 65:176 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 3:0:7:4 sdaf 65:240 active ready running
mpath0 (200173800277f06f4) dm-3 IBM,2810XIV
size=16G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 2:0:6:1 sdi 8:128 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 2:0:7:1 sdm 8:192 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 3:0:6:1 sdy 65:128 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 3:0:7:1 sdac 65:192 active ready running
mpath9 (200173800277f06f0) dm-7 IBM,2810XIV
size=16G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 4:0:2:1 sdag 66:0 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 4:0:4:1 sdan 66:112 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 5:0:2:1 sdar 66:176 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 5:0:4:1 sday 67:32 active ready running
mpath8 (200173800277f06f3) dm-10 IBM,2810XIV
size=16G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 4:0:2:4 sdaj 66:48 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 5:0:4:4 sdbb 67:80 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 4:0:4:4 sdaq 66:160 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 5:0:2:4 sdau 66:224 active ready running
mpath14 (36005076309ffc2f00000000000000331) dm-13 IBM,2107900
size=20G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 4:0:3:1076969475 sdam 66:96 active ready running
`- 5:0:3:1076969475 sdax 67:16 active ready running
mpath13 (36005076309ffc2f00000000000000330) dm-12 IBM,2107900
size=20G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 4:0:3:1076903939 sdal 66:80 active ready running
`- 5:0:3:1076903939 sdaw 67:0 active ready running
mpath6 (36005076309ffc2f0000000000000032e) dm-2 IBM,2107900
size=20G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 2:0:0:1076772867 sdd 8:48 active ready running
|- 2:0:1:1076772867 sdh 8:112 active ready running
|- 3:0:0:1076772867 sdt 65:48 active ready running
`- 3:0:1:1076772867 sdx 65:112 active ready running
mpath12 (36005076309ffc2f0000000000000032f) dm-11 IBM,2107900
size=20G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 4:0:3:1076838403 sdak 66:64 active ready running
`- 5:0:3:1076838403 sdav 66:240 active ready running
mpath5 (36005076309ffc2f0000000000000032d) dm-1 IBM,2107900
size=20G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 2:0:0:1076707331 sdc 8:32 active ready running
|- 2:0:1:1076707331 sdg 8:96 active ready running
|- 3:0:0:1076707331 sds 65:32 active ready running
`- 3:0:1:1076707331 sdw 65:96 active ready running
mpath11 (200173800277f06f1) dm-8 IBM,2810XIV
size=16G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 4:0:2:2 sdah 66:16 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 4:0:4:2 sdao 66:128 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 5:0:2:2 sdas 66:192 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 5:0:4:2 sdaz 67:48 active ready running
mpath4 (36005076309ffc2f0000000000000032c) dm-0 IBM,2107900
size=20G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 2:0:0:1076641795 sdb 8:16 active ready running
|- 2:0:1:1076641795 sdf 8:80 active ready running
|- 3:0:0:1076641795 sdr 65:16 active ready running
`- 3:0:1:1076641795 sdv 65:80 active ready running
mpath10 (200173800277f06f2) dm-9 IBM,2810XIV
size=16G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 4:0:2:3 sdai 66:32 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 5:0:4:3 sdba 67:64 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 4:0:4:3 sdap 66:144 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 5:0:2:3 sdat 66:208 active ready running
mpath3 (200173800277f06f6) dm-5 IBM,2810XIV
size=16G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 2:0:6:3 sdk 8:160 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 2:0:7:3 sdo 8:224 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 3:0:6:3 sdaa 65:160 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 3:0:7:3 sdae 65:224 active ready running
root@zop01:/#
root@zop01:/# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 60G 0 disk
??sda1 8:1 0 7M 0 part
??sda2 8:2 0 57.5G 0 part
??sda3 8:3 0 2.5G 0 part
sdb 8:16 0 20G 0 disk
??mpath4 252:0 0 20G 0 mpath
sdc 8:32 0 20G 0 disk
??mpath5 252:1 0 20G 0 mpath
sdd 8:48 0 20G 0 disk
??mpath6 252:2 0 20G 0 mpath
sde 8:64 0 60G 0 disk
??sde1 8:65 0 7M 0 part
??sde2 8:66 0 57.5G 0 part
??sde3 8:67 0 2.5G 0 part
sdf 8:80 0 20G 0 disk
??mpath4 252:0 0 20G 0 mpath
sdg 8:96 0 20G 0 disk
??mpath5 252:1 0 20G 0 mpath
sdh 8:112 0 20G 0 disk
??mpath6 252:2 0 20G 0 mpath
sdi 8:128 0 16G 0 disk
??mpath0 252:3 0 16G 0 mpath
sdj 8:144 0 16G 0 disk
??mpath2 252:4 0 16G 0 mpath
sdk 8:160 0 16G 0 disk
??mpath3 252:5 0 16G 0 mpath
sdl 8:176 0 16G 0 disk
??mpath1 252:6 0 16G 0 mpath
sdm 8:192 0 16G 0 disk
??mpath0 252:3 0 16G 0 mpath
sdn 8:208 0 16G 0 disk
??mpath2 252:4 0 16G 0 mpath
sdo 8:224 0 16G 0 disk
??mpath3 252:5 0 16G 0 mpath
sdp 8:240 0 16G 0 disk
??mpath1 252:6 0 16G 0 mpath
sdq 65:0 0 60G 0 disk
??sdq1 65:1 0 7M 0 part
??sdq2 65:2 0 57.5G 0 part /
??sdq3 65:3 0 2.5G 0 part
sdr 65:16 0 20G 0 disk
??mpath4 252:0 0 20G 0 mpath
sds 65:32 0 20G 0 disk
??mpath5 252:1 0 20G 0 mpath
sdt 65:48 0 20G 0 disk
??mpath6 252:2 0 20G 0 mpath
sdu 65:64 0 60G 0 disk
??sdu1 65:65 0 7M 0 part
??sdu2 65:66 0 57.5G 0 part
??sdu3 65:67 0 2.5G 0 part
sdv 65:80 0 20G 0 disk
??mpath4 252:0 0 20G 0 mpath
sdw 65:96 0 20G 0 disk
??mpath5 252:1 0 20G 0 mpath
sdx 65:112 0 20G 0 disk
??mpath6 252:2 0 20G 0 mpath
sdy 65:128 0 16G 0 disk
??mpath0 252:3 0 16G 0 mpath
sdz 65:144 0 16G 0 disk
??mpath2 252:4 0 16G 0 mpath
sdaa 65:160 0 16G 0 disk
??mpath3 252:5 0 16G 0 mpath
sdab 65:176 0 16G 0 disk
??mpath1 252:6 0 16G 0 mpath
sdac 65:192 0 16G 0 disk
??mpath0 252:3 0 16G 0 mpath
sdad 65:208 0 16G 0 disk
??mpath2 252:4 0 16G 0 mpath
sdae 65:224 0 16G 0 disk
??mpath3 252:5 0 16G 0 mpath
sdaf 65:240 0 16G 0 disk
??mpath1 252:6 0 16G 0 mpath
sdag 66:0 0 16G 0 disk
??mpath9 252:7 0 16G 0 mpath
sdah 66:16 0 16G 0 disk
??mpath11 252:8 0 16G 0 mpath
sdai 66:32 0 16G 0 disk
??mpath10 252:9 0 16G 0 mpath
sdaj 66:48 0 16G 0 disk
??mpath8 252:10 0 16G 0 mpath
sdak 66:64 0 20G 0 disk
??mpath12 252:11 0 20G 0 mpath
sdal 66:80 0 20G 0 disk
??mpath13 252:12 0 20G 0 mpath
sdba 67:64 0 16G 0 disk
??mpath10 252:9 0 16G 0 mpath
sdam 66:96 0 20G 0 disk
??mpath14 252:13 0 20G 0 mpath
sdbb 67:80 0 16G 0 disk
??mpath8 252:10 0 16G 0 mpath
sdan 66:112 0 16G 0 disk
??mpath9 252:7 0 16G 0 mpath
sdao 66:128 0 16G 0 disk
??mpath11 252:8 0 16G 0 mpath
sdap 66:144 0 16G 0 disk
??mpath10 252:9 0 16G 0 mpath
sdaq 66:160 0 16G 0 disk
??mpath8 252:10 0 16G 0 mpath
sdar 66:176 0 16G 0 disk
??mpath9 252:7 0 16G 0 mpath
sdas 66:192 0 16G 0 disk
??mpath11 252:8 0 16G 0 mpath
sdat 66:208 0 16G 0 disk
??mpath10 252:9 0 16G 0 mpath
sdau 66:224 0 16G 0 disk
??mpath8 252:10 0 16G 0 mpath
sdav 66:240 0 20G 0 disk
??mpath12 252:11 0 20G 0 mpath
sdaw 67:0 0 20G 0 disk
??mpath13 252:12 0 20G 0 mpath
sdax 67:16 0 20G 0 disk
??mpath14 252:13 0 20G 0 mpath
sday 67:32 0 16G 0 disk
??mpath9 252:7 0 16G 0 mpath
sdaz 67:48 0 16G 0 disk
??mpath11 252:8 0 16G 0 mpath
root@zop01:/#
root@zop01:/# lsscsi -s
[2:0:0:1076641795]disk IBM 2107900 .850 /dev/sdb 21.4GB
[2:0:0:1076707331]disk IBM 2107900 .850 /dev/sdc 21.4GB
[2:0:0:1076772867]disk IBM 2107900 .850 /dev/sdd 21.4GB
[2:0:0:1083523072]disk IBM 2107900 .850 /dev/sda 64.4GB
[2:0:1:1076641795]disk IBM 2107900 .850 /dev/sdf 21.4GB
[2:0:1:1076707331]disk IBM 2107900 .850 /dev/sdg 21.4GB
[2:0:1:1076772867]disk IBM 2107900 .850 /dev/sdh 21.4GB
[2:0:1:1083523072]disk IBM 2107900 .850 /dev/sde 64.4GB
[2:0:2:0] storage IBM 2810XIV-LUN-0 10.2 - -
[2:0:3:0] storage IBM 2810XIV-LUN-0 10.2 - -
[2:0:4:0] storage IBM 2810XIV-LUN-0 10.2 - -
[2:0:5:0] storage IBM 2810XIV-LUN-0 10.2 - -
[2:0:6:0] storage IBM 2810XIV-LUN-0 0000 - -
[2:0:6:1] disk IBM 2810XIV 0000 /dev/sdi 17.2GB
[2:0:6:2] disk IBM 2810XIV 0000 /dev/sdj 17.2GB
[2:0:6:3] disk IBM 2810XIV 0000 /dev/sdk 17.2GB
[2:0:6:4] disk IBM 2810XIV 0000 /dev/sdl 17.2GB
[2:0:7:0] storage IBM 2810XIV-LUN-0 0000 - -
[2:0:7:1] disk IBM 2810XIV 0000 /dev/sdm 17.2GB
[2:0:7:2] disk IBM 2810XIV 0000 /dev/sdn 17.2GB
[2:0:7:3] disk IBM 2810XIV 0000 /dev/sdo 17.2GB
[2:0:7:4] disk IBM 2810XIV 0000 /dev/sdp 17.2GB
[3:0:0:1076641795]disk IBM 2107900 .850 /dev/sdr 21.4GB
[3:0:0:1076707331]disk IBM 2107900 .850 /dev/sds 21.4GB
[3:0:0:1076772867]disk IBM 2107900 .850 /dev/sdt 21.4GB
[3:0:0:1083523072]disk IBM 2107900 .850 /dev/sdq 64.4GB
[3:0:1:1076641795]disk IBM 2107900 .850 /dev/sdv 21.4GB
[3:0:1:1076707331]disk IBM 2107900 .850 /dev/sdw 21.4GB
[3:0:1:1076772867]disk IBM 2107900 .850 /dev/sdx 21.4GB
[3:0:1:1083523072]disk IBM 2107900 .850 /dev/sdu 64.4GB
[3:0:2:0] storage IBM 2810XIV-LUN-0 10.2 - -
[3:0:3:0] storage IBM 2810XIV-LUN-0 10.2 - -
[3:0:4:0] storage IBM 2810XIV-LUN-0 10.2 - -
[3:0:5:0] storage IBM 2810XIV-LUN-0 10.2 - -
[3:0:6:0] storage IBM 2810XIV-LUN-0 0000 - -
[3:0:6:1] disk IBM 2810XIV 0000 /dev/sdy 17.2GB
[3:0:6:2] disk IBM 2810XIV 0000 /dev/sdz 17.2GB
[3:0:6:3] disk IBM 2810XIV 0000 /dev/sdaa 17.2GB
[3:0:6:4] disk IBM 2810XIV 0000 /dev/sdab 17.2GB
[3:0:7:0] storage IBM 2810XIV-LUN-0 0000 - -
[3:0:7:1] disk IBM 2810XIV 0000 /dev/sdac 17.2GB
[3:0:7:2] disk IBM 2810XIV 0000 /dev/sdad 17.2GB
[3:0:7:3] disk IBM 2810XIV 0000 /dev/sdae 17.2GB
[3:0:7:4] disk IBM 2810XIV 0000 /dev/sdaf 17.2GB
[4:0:0:0] storage IBM 2810XIV-LUN-0 10.2 - -
[4:0:1:0] storage IBM 2810XIV-LUN-0 10.2 - -
[4:0:2:0] storage IBM 2810XIV-LUN-0 0000 - -
[4:0:2:1] disk IBM 2810XIV 0000 /dev/sdag 17.2GB
[4:0:2:2] disk IBM 2810XIV 0000 /dev/sdah 17.2GB
[4:0:2:3] disk IBM 2810XIV 0000 /dev/sdai 17.2GB
[4:0:2:4] disk IBM 2810XIV 0000 /dev/sdaj 17.2GB
[4:0:3:1076838403]disk IBM 2107900 .850 /dev/sdak 21.4GB
[4:0:3:1076903939]disk IBM 2107900 .850 /dev/sdal 21.4GB
[4:0:3:1076969475]disk IBM 2107900 .850 /dev/sdam 21.4GB
[4:0:4:0] storage IBM 2810XIV-LUN-0 0000 - -
[4:0:4:1] disk IBM 2810XIV 0000 /dev/sdan 17.2GB
[4:0:4:2] disk IBM 2810XIV 0000 /dev/sdao 17.2GB
[4:0:4:3] disk IBM 2810XIV 0000 /dev/sdap 17.2GB
[4:0:4:4] disk IBM 2810XIV 0000 /dev/sdaq 17.2GB
[5:0:0:0] storage IBM 2810XIV-LUN-0 10.2 - -
[5:0:1:0] storage IBM 2810XIV-LUN-0 10.2 - -
[5:0:2:0] storage IBM 2810XIV-LUN-0 0000 - -
[5:0:2:1] disk IBM 2810XIV 0000 /dev/sdar 17.2GB
[5:0:2:2] disk IBM 2810XIV 0000 /dev/sdas 17.2GB
[5:0:2:3] disk IBM 2810XIV 0000 /dev/sdat 17.2GB
[5:0:2:4] disk IBM 2810XIV 0000 /dev/sdau 17.2GB
[5:0:3:1076838403]disk IBM 2107900 .850 /dev/sdav 21.4GB
[5:0:3:1076903939]disk IBM 2107900 .850 /dev/sdaw 21.4GB
[5:0:3:1076969475]disk IBM 2107900 .850 /dev/sdax 21.4GB
[5:0:4:0] storage IBM 2810XIV-LUN-0 0000 - -
[5:0:4:1] disk IBM 2810XIV 0000 /dev/sday 17.2GB
[5:0:4:2] disk IBM 2810XIV 0000 /dev/sdaz 17.2GB
[5:0:4:3] disk IBM 2810XIV 0000 /dev/sdba 17.2GB
[5:0:4:4] disk IBM 2810XIV 0000 /dev/sdbb 17.2GB
root@zop01:/#
== Comment: #6 - GIRISH SHRIGIRI <gshrigir@xxxxxxxxxx> - 2015-02-23 11:23:04 ==
multipath command should show boot disk .
== Comment: #14 - Brian J. King <bjking1@xxxxxxxxxx> - 2015-02-25
13:26:41 ==
There is a real issue in this bugzilla, and its related to the boot
device.
The reason the boot disk is not showing up in the multipath output is
because the system is booting off a single path rather than the
multipath device:
root@zop01:/tmp/out# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdq2 59214188 7307684 48875468 14% /
It looks like grub.cfg is mounting the root device by UUID. /etc/fstab
is saying the root device should be /dev/mapper/mpath0p2. So it would
appear there may be a boot time init script issue here. I'm thinking
what might be happening here is that the boot process is not waiting for
the multipath device to proceed with boot and simply mounting by UUID
before the multipath device gets created, which results in us grabbing a
single path rather than the multipath device.
This should probably get mirrored to Canonical for them to have a
look... I'm thinking that their scripts/local file in the initrd may
need some changes to better handle this. You could probably change the
root= parameter in grub to point to /dev/mapper/mpath0p2 and that may
work around the issue.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: architecture-ppc64le bot-comment bugnameltc-121856 severity-medium targetmilestone-inin---
--
multipath command not showing boot disk information
https://bugs.launchpad.net/bugs/1425773
You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.