[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

multipath-tools regression? (was: Re: Bug#704073: [multipath-tools-boot] error when update-initramfs)



Hi Adam, Ritesh,

On Tue, Jul 02, 2013 at 10:48:37PM +0100, Adam D. Barratt wrote:
> On Mon, 2013-07-01 at 12:44 +0530, Ritesh Raj Sarraf wrote:
> > On Sunday 30 June 2013 11:36 PM, Adam D. Barratt wrote:
> > > +multipath-tools (0.4.9+git0.4dfdaf2b-7+stable1) stable-proposed-updates; urgency=low
> > >
> > > That version number won't work, for a couple of reasons - not least
> > > because it's _higher_ than the version you uploaded to unstable.
> > >
> > > Please use 0.4.9+git0.4dfdaf2b-7~deb7u1 instead and feel free to upload.
> > Thank you Adam. I just uploaded it to s-p-u.
>
> Flagged for acceptance; thanks.

After updating kpartx and multipath-tools from the Wheezy point
release to version 0.4.9+git0.4dfdaf2b-7~deb7u1 there where some
changes to the udev rule, and in my  case the -part1 symlinks are not
created anymore:

# ls -l /dev/dm-1
brw-rw---T 1 root disk 253, 1 Oct 14 08:50 /dev/dm-1
# /sbin/dmsetup -c --noheadings info -j253 -m1
360050768018086336800000000000293:253:1:L--w:0:1:1:mpath-360050768018086336800000000000293
# /sbin/dmsetup -c --noheadings info -j253 -m1 -oUUID
mpath-360050768018086336800000000000293
# /sbin/dmsetup -c --noheadings info -j253 -m1 -oattr
L--w
# /sbin/dmsetup -c --noheadings info -j253 -m1 -oname
360050768018086336800000000000293
# ls -l /dev/disk/by-id/dm-uuid-mpath-360050768018086336800000000000293*
lrwxrwxrwx 1 root root 10 Oct 14 08:50 /dev/disk/by-id/dm-uuid-mpath-360050768018086336800000000000293 -> ../../dm-1
# ls -l /dev/mapper/360050768018086336800000000000293*
lrwxrwxrwx 1 root root 7 Oct 14 08:50 /dev/mapper/360050768018086336800000000000293 -> ../dm-1

Now only running manually

# kpartx -u -p -part /dev/dm-1

gives me

# ls -l /dev/mapper/360050768018086336800000000000293*
lrwxrwxrwx 1 root root 7 Oct 14 08:50 /dev/mapper/360050768018086336800000000000293 -> ../dm-1
lrwxrwxrwx 1 root root 7 Oct 14 09:10 /dev/mapper/360050768018086336800000000000293-part1 -> ../dm-4
# ls -l /dev/disk/by-id/dm-uuid-*mpath-360050768018086336800000000000293*
lrwxrwxrwx 1 root root 10 Oct 14 08:50 /dev/disk/by-id/dm-uuid-mpath-360050768018086336800000000000293 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Oct 14 09:10 /dev/disk/by-id/dm-uuid-part1-mpath-360050768018086336800000000000293 -> ../../dm-4

If I downgrade to -0.4.9+git0.4dfdaf2b-6 this works again, and after
booting both symlinks in /dev/disk/by-id and /dev/mapper are present.

I first wanted to ask here, before filling a regression bugreport.

Regards,
Salvatore


Reply to: