[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAD+1EGNiUMhrbH6cWXKXEN5hWagiUcGCXb1E9Z_knCbKrniXbA@mail.gmail.com>
Date: Mon, 25 Jul 2011 14:13:53 +0800
From: harryxiyou <harryxiyou@...il.com>
To: wouter@...ian.org
Cc: hua kang <xiyoucloud@...il.com>, linux-kernel@...r.kernel.org,
linux-kernel@...kernel.org,
Américo Wang <xiyou.wangcong@...il.com>,
孔建军 <kongjianjun@...il.com>, pavel@....cz,
Paul.Clements@...eleye.com
Subject: [RFC]nbd-client connect error
Hi all,
When i use ndb-server and nbd-client tools, something wrong(maybe a
bug) happens to like following.
Server: (IP: 192.168.1.103)
# uname -a
Linux wangzhe-laptop 2.6.32-33-generic #68-Ubuntu SMP Fri Jun 17
16:25:19 UTC 2011 i686 GNU/Linux
# cat /usr/etc/nbd-server/config
[generic]
[export]
exportname = /root/1.c
port = 2001
# nbd-server
Client: (IP: 192.168.1.30)
# uname -a
Linux localhost.localdomain 2.6.18-238.12.1.el5 #1 SMP Tue May 31
13:23:01 EDT 2011 i686 i686 i386 GNU/Linux
# nbd-client 192.168.1.103 2001 /dev/nbd0
Negotiation: ..size = 0MB
Error: Ioctl/1.1a failed: Inappropriate ioctl for device
Exiting.
# nbd-client 192.168.1.103 2001 /dev/sda1
Negotiation: ..size = 0MB
Error: Ioctl/1.1a failed: Invalid argument
Exiting.
I suspect the client machine's kernel version is too low to run the
command nbd-client.
Maybe the same problem with server machine. Could anyone give me some
suggestions?
Thanks in advance
Harry Wei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists