[Bug 1427859] Comment bridged from LTC Bugzilla
bugproxy
bugproxy at us.ibm.com
Wed Mar 11 16:20:42 UTC 2015
------- Comment From hellerda at us.ibm.com 2015-03-11 16:16 EDT-------
Hi Mauricio,
Thanks for your detailed analysis, but I think we already knew this:
that the separator was an issue, that you have submitted patches to
Ubuntu to resolve it; that we still don't know (per LP 1430074) whether
we'll end up with the 'p' separator or the '-path' separator when it all
shakes out. And understood, most of the real issues are in udev (and
the installer), which actually affect which device nodes are created and
removed.
That's why the focus of this bug was intended to be just the
inconsistency in the way the tools report. And I think your comments
above confirm that the default output does *not* match the device nodes
as they actually exist.
Again: this is a cosmetic issue and so not a hot bug. But I'd like to
keep it open until the "separator" issues are resolved. If we end up
with -part, there may be no work required at all. But if we go with 'p'
as you are proposing... then I'd like to see if Canonical is willing to
fix the tools so they accurately reflect the device nodes as exist, as
they seem to do for devices other than mpath.
If you strongly disagree I'll leave it closed. Otherwise I'd like to
reopen. Give me your thoughts, please. Thanks for all your work here!
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1427859
Title:
ISST-SAN:Need a common format for partition listing using
kpartx,fdisk.distrib and ls -l
Status in multipath-tools package in Ubuntu:
New
Bug description:
== Comment: #0 - LEKSHMI C. PILLAI <lekshmi.cpillai at in.ibm.com> - 2015-02-25 09:02:18 ==
This is a KVM guest with Ubuntu 15.04.
I am facing issues with format with partition listing using different
commands
In zap06 I created partitions on mpath29 using fdisk.distrib
Before partition creation:
root at zap06:/dev/mapper# fdisk.distrib -l /dev/mapper/mpath29---------->
Disk /dev/mapper/mpath29: 15 GiB, 16106127360 bytes, 31457280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root at zap06:/dev/mapper# kpartx -r /dev/mapper/mpath29--------------->
root at zap06:/dev/mapper# ls -l mpath29--------------------------------->
lrwxrwxrwx 1 root root 7 Feb 24 08:46 mpath29 -> ../dm-6
root at zap06:/dev/mapper#
After Partition creation:
root at zap06:/dev/mapper# fdisk.distrib -l
/dev/mapper/mpath29--------------->
Disk /dev/mapper/mpath29: 15 GiB, 16106127360 bytes, 31457280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xce509b1c
Device Boot Start End Sectors Size Id Type
/dev/mapper/mpath29p1 2048 2048 0 0B 83 Linux
/dev/mapper/mpath29p2 4096 10489855 10485760 5G 83 Linux
/dev/mapper/mpath29p3 10489856 20975615 10485760 5G 83 Linux
root at zap06:/dev/mapper# kpartx -r /dev/mapper/mpath29
mpath29p2 : 0 10485760 /dev/mapper/mpath29 4096--------------
mpath29p3 : 0 10485760 /dev/mapper/mpath29 10489856-------------------
But instead of names like mpath29pX, the actual device nodes have
names like mpath29-partX:
root at zap06:/dev/mapper# ls -l /dev/mapper/mpath29*
lrwxrwxrwx 1 root root 7 Feb 25 01:30 /dev/mapper/mpath29 -> ../dm-6
brw-rw---- 1 root disk 252, 68 Feb 25 01:30 /dev/mapper/mpath29-part2
brw-rw---- 1 root disk 252, 69 Feb 25 01:30 /dev/mapper/mpath29-part3
root at zap06:/dev/mapper#
After that I created the filesystem on these partitions using the
convention "mpath-part2".Its created successfully and I am able to
mount it
root at zap06:/dev/mapper# mount | grep "29"
/dev/mapper/mpath29-part2 on /Fs29 type ext4 (rw)
/dev/mapper/mpath29-part3 on /FS29_1 type xfs (rw)
root at zap06:/dev/mapper#
Thanks
Lekshmi
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1427859/+subscriptions
More information about the foundations-bugs
mailing list