[Bug 1424734] Re: Incorrect multipath device names in /etc/fstab

2015-03-10 Thread Mauricio Faria de Oliveira
*** This bug is a duplicate of bug 1430074 ***
https://bugs.launchpad.net/bugs/1430074

** This bug has been marked a duplicate of bug 1430074
   d-i multipath disk-partition separator overhaul

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

Title:
  Incorrect multipath device names in /etc/fstab

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/1424734/+subscriptions

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


[Bug 1424734] Re: Incorrect multipath device names in /etc/fstab

2015-02-27 Thread Mauricio Faria de Oliveira
Looking at the installer, the p/-part problem is more general than just
this (other components assume '-part', and are not getting them when
multipath is used).

I'll try a more general solution.
Let go of this bug for now.

** Changed in: partman-target (Ubuntu)
   Status: New = Incomplete

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

Title:
  Incorrect multipath device names in /etc/fstab

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/1424734/+subscriptions

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


[Bug 1424734] Re: Incorrect multipath device names in /etc/fstab

2015-02-25 Thread Mauricio Faria de Oliveira
By the way, interesting observation in this content.

The 'p' separator is only used when parted /creates/ partition (thus
adding them through its own call to DM/dm_add_partition()  function).

If the partitions already exist and are only formatted, parted won't have to 
create them, and the '-part' separator from the kpartx call in 
/lib/partman/commit.d/31multipath_partitions kicks in.
Also, existing partitions from other devices (even non-formatted) show up with 
'-part' due to that kpartx call and the absence of parted partition creation.

The remaining problem is that subsequent stages which query partitions
names/path from parted will still receive 'p' separator, and fail, as
the those device names don't exist (e.g., the swap formatting error
above).

Maybe a solution is to remove the devices with parted's 'p'-separator
with 'kpartx -d [-p p]', re-add them with 'kpartx -a -p -part', and
create a symlink for a device name with 'p'.

That will make the '-part' device names available for everywhere (lots
of code use them in partman.. also grub-installer, at least). It still
doesn't fix this bug (as the device names for /etc/fstab come from
parted.. so, with 'p'.. but helps in some way.

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

Title:
  Incorrect multipath device names in /etc/fstab

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/1424734/+subscriptions

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