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

Re: [Nbd] USB disk from Xen host to Xen VM



On Wed, Jun 11, 2008 at 02:26:53PM +0200, Thomas Karcher wrote:
> Hi folks,
> 
> I'd like to do backups from inside a Xen VM that is in a heartbeat
> cluster, i. e. I have two physical servers with a DRBD link and a Xen VM
> that is managed via heartbeat. Everything is OpenSuSE 10.3.
> 
> The backup shall be done to a USB disk that is physically connected to
> one of the physical servers, but shall be disconnectable during runtime.
> So I decided to use NBD to "link" the USB device on one server inside
> the VM and mount the USB-NBD disk in the VM. After a couple of seconds
> after successfully connecting, I get inside the VM:
> 
> Jun 10 22:05:44 lukas kernel: nbd0: Receive control failed (result -32)

Looks like nbd-server hit an error of which the literal value of errno
is 32. Since errno values are architecture-specific, could you tell me
on what architecture nbd-server is running?

(yes, perhaps we should define that *slightly* more).

> Jun 10 22:05:44 lukas kernel: nbd0: shutting down socket
> Jun 10 22:05:44 lukas kernel: nbd0: queue cleared
> 
> .... and the NBD device is gone ...

Not very good, indeed.

-- 
<Lo-lan-do> Home is where you have to wash the dishes.
  -- #debian-devel, Freenode, 2004-09-22



Reply to: