[Bug 861656] Re: Kernel oops when nbd device is removed before it is unmounted

Serge Hallyn 861656 at bugs.launchpad.net
Fri Sep 30 21:04:15 UTC 2011


The kernel should (imo) return -EBUSY when when asked to disconnect a
mounted nbd device.  It'd be trivial to do.  But consensus is that it'd
be refused because it should behave like all other disks.

Kvm's qemu-nbd.c *could* detect the condition as well.  But the check
there would be racy.

So we will propose a patch to have nova refuse the disconnect if the
device is busy.

** Also affects: nova (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: nova (Ubuntu)
       Status: New => Confirmed

** Changed in: qemu-kvm (Ubuntu)
       Status: New => Confirmed

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

Title:
  Kernel oops when nbd device is removed before it is unmounted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/861656/+subscriptions



More information about the Ubuntu-server-bugs mailing list