------- Comment From ckuma...@in.ibm.com 2015-02-21 22:05 EDT-------
Dave,

You are right GNU-fdisk is deprecated/not_maintained, but to my
knowledge fdisk.distrib is maintained and shipped with util-linux.

fdisk-distrib works fine as far as disk partitioning is concerned, but
it creates block device with file names as mpath23-partN, but the
expected one is mpath23pN as can be seen in the outputs of kpartx and
'fdisk.distrib -l'

Commands 'kpartx' and 'fdisk.distrib -l' reads partition as
"/dev/mapper/mpath23p1"
but actually file created by 'fdisk.distrib'  is "/dev/mapper/mpath23-part1"

So referring to the output of commands "kpartx and fdisk.distrib -l" (which 
most scripts do to get partition path list), we can see a failure while trying 
to create FS on one of the partitions.
Which is obvious because  "fdisk.distrib" created the file with different name 
in directory "/dev/mapper" while lists it with a different name.

Let me know, if this issue makes enough sense?

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1422305

Title:
  ISST-SAN: failing to create FS on multipath disk partition

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnu-fdisk/+bug/1422305/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to