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

Re: [Nbd] using nbd after kernel compile



On Thu, Aug 26, 2010 at 11:24 AM, Wouter Verhelst <w@...112...> wrote:
> On Mon, Aug 16, 2010 at 06:09:37PM +0530, srimugunthan dhandapani wrote:
>> Hi all,
>> I was able to use nbd-server and client on my installed ubuntu 10.04 system
>> with kernel 2.6.32-21-generic.
>> But after I compiled linux kernel 2.6.35.2 and installed it, i am not able to
>> use nbd-server and client correctly.
>>
>> $cd nbd-2.9.18/
>> $./nbd-server 12345 /dev/sdb1
>> $sudo modprobe nbd
>> $sudo ./nbd-client 127.0.0.1 12345 /dev/nbd0
>> Negotiation: Error: Server closed connection
>> Exiting.
>
> What does the server's syslog say at this point?
> What does the client's kernel log say at this point?


He figured this out privately with me. The nbd-server was running
non-root and didn't have perms for the disk.

Thanks,
Paul



Reply to: