[Bug 1488688] Re: partprobe fails on /dev/mapper/353333330000007d0
Loic Dachary
1488688 at bugs.launchpad.net
Wed Apr 20 16:59:56 UTC 2016
Hi,
Thanks for investigating this issue. It fails the multipath
implementation for Ceph. In the case of multipath the partition must be
created on /dev/mapper/XXX otherwise it's kind of pointless ;-)
When you write "I can confirm that this still applies to Xenial." do you
mean that repeating the steps in the description leads to
lrwxrwxrwx 1 root root 7 Aug 25 23:00 353333330000007d0 -> ../dm-0
brw-rw---- 1 root disk 252, 1 Aug 25 23:00 353333330000007d0-part2
brw-rw---- 1 root disk 252, 2 Aug 25 23:00 353333330000007d0p2
crw------- 1 root root 10, 236 Aug 25 11:45 control
as well ?
Thanks again :-)
--
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/1488688
Title:
partprobe fails on /dev/mapper/353333330000007d0
Status in multipath-tools package in Ubuntu:
Triaged
Bug description:
Steps to reproduce on Ubuntu 14.04 on a virtual machine with no
/dev/sda device
# apt-get install linux-image-extra-3.13.0-61-generic
# modprobe scsi_debug vpd_use_hostno=0 add_host=1 dev_size_mb=200
# ls -l /dev/mapper
total 0
lrwxrwxrwx 1 root root 7 Aug 25 23:00 353333330000007d0 -> ../dm-0
crw------- 1 root root 10, 236 Aug 25 11:45 control
# /sbin/sgdisk --new=2:0:100M --change-name=2:'ceph journal' --partition-guid=2:a94ad65f-fadb-4178-851b-5261c06ee3b9 --typecode=2:45b0969e-8ae0-4982-bf9d-5a8d867af560 --mbrtogpt -- /dev/mapper/353333330000007d0
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
# partprobe /dev/mapper/353333330000007d0
Device /dev/mapper/353333330000007d0p2 not found
device-mapper: table ioctl on failed: No such device or address
Device /dev/mapper/353333330000007d0p2 not found
device-mapper: table ioctl on failed: No such device or address
# ls -l /dev/mapper
total 0
lrwxrwxrwx 1 root root 7 Aug 25 23:00 353333330000007d0 -> ../dm-0
brw-rw---- 1 root disk 252, 2 Aug 25 23:00 353333330000007d0p2
crw------- 1 root root 10, 236 Aug 25 11:45 control
# partprobe /dev/mapper/353333330000007d0
# ls -l /dev/mapper
total 0
lrwxrwxrwx 1 root root 7 Aug 25 23:00 353333330000007d0 -> ../dm-0
brw-rw---- 1 root disk 252, 1 Aug 25 23:00 353333330000007d0-part2
brw-rw---- 1 root disk 252, 2 Aug 25 23:00 353333330000007d0p2
crw------- 1 root root 10, 236 Aug 25 11:45 control
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1488688/+subscriptions
More information about the foundations-bugs
mailing list