[Bug 1503286] Re: ISST-LTE: Boot of Ubuntu15.10 lpar fails: "mounting /dev/sdn2 on /root failed: Device or resource busy" [multipath]

Mauricio Faria de Oliveira mauricfo at linux.vnet.ibm.com
Fri Feb 5 16:22:07 UTC 2016


Verified on 14.04.
Marking verification-done.

As mentioned in the description test-case, the issue is hard to reproduce.
Trying to force it to happen, I modified the updated package local-premount/multipath 
script to remove/rescan the SCSI devices in the background right before the 
udevadm settle command, and could not reproduce the failure.
The system booted successfully.

More assurance is given since the patch is the same as that verified by
the tester on the original environment (comment #12).

 . /scripts/functions
 
+multipath -F
+
+for sd_delete in /sys/block/sd*/device/delete; do
+        echo 1 > $sd_delete
+done
+
+for host_scan in /sys/class/scsi_host/host*/scan; do
+        echo '- - -' > $host_scan
+done &
+
 if [ -x /sbin/multipathd ]
 then
         [ "$quiet" != "y" ] && log_begin_msg "Waiting for udev to settle (multipath)"
         udevadm settle --timeout=121 || true
         [ "$quiet" != "y" ] && log_end_msg
 fi
 
 exit 0

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1503286

Title:
  ISST-LTE: Boot of Ubuntu15.10 lpar fails: "mounting /dev/sdn2 on /root
  failed: Device or resource busy" [multipath]

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



More information about the Ubuntu-server-bugs mailing list