Hi,
thanks for the nice setup with scsi_debug that helps.
I also ran it against some real FCP devices I had around.

I can confirm that this still applies to Xenial.
1. working without issue on the device itself e.g. /dev/sd*
2. when using on /dev/mapper devices reporting issues

ubuntu@s1lp5:~$ sudo partprobe /dev/mapper/36005076306ffd6b6000000000000240
36005076306ffd6b60000000000002402        
36005076306ffd6b60000000000002402-part2  36005076306ffd6b60000000000002403      
  
ubuntu@s1lp5:~$ sudo /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/36005076306ffd6b60000000000002403
Creating new GPT entries.
Setting name!
partNum is 1
REALLY setting name!
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
ubuntu@s1lp5:~$ sudo partprobe /dev/mapper/36005076306ffd6b60000000000002403
device-mapper: create ioctl on 
36005076306ffd6b60000000000002403p2part2-mpath-36005076306ffd6b60000000000002403
 failed: Device or resource busy
ubuntu@s1lp5:~$ echo $?
0
ubuntu@s1lp5:~$ ll /dev/mapper/36005076306ffd6b60000000000002403*
lrwxrwxrwx 1 root root 7 Apr 20 10:53 
/dev/mapper/36005076306ffd6b60000000000002403 -> ../dm-1
lrwxrwxrwx 1 root root 7 Apr 20 10:53 
/dev/mapper/36005076306ffd6b60000000000002403-part2 -> ../dm-3


But then as you have shown as well, it is just a message about the ioctl that 
likely isn't handled/forwarded correctly by the device mapper.

It doesn't even have a bad return code - so it might just be about
making more clear that this is a warning, but not an error at all right?

** Changed in: multipath-tools (Ubuntu)
       Status: New => Triaged

** Changed in: multipath-tools (Ubuntu)
   Importance: Undecided => Low

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

Title:
  partprobe fails on /dev/mapper/353333330000007d0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1488688/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to