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

[Nbd] Fwd: nbd-server ignoring configuration file



Sorry, because my wrong reply my last mail (and its answer) hasn't
been sent to the mailing list.
I forward the last.

---
On Tue, Aug 09, 2011 at 09:41:51PM +0200, Valerio Pachera wrote:
> 1) Since wich version is used the new export protocol?

2.9.17

> From the man and the help of nbd-client I'm using nothing about the
> new protocol (debian squeeze).

Ah, yes, I postponed that change until squeeze had been released.
Squeeze does indeed not yet contain this code. Wheezy does, since a week
or two; but I've had the code in unstable since a few days before the
release of squeeze, actually :-)

Which version of the server are you running?

> from man:
> Usage: nbd-client [bs=blocksize] [timeout=sec] host port nbd_device
> [-swap] [-sdp] [-persist] [-nofork]
> Or   : nbd-client -d nbd_device
> Or   : nbd-client -c nbd_device
>
> I also followed the man of nbd-server. The exaples report:
>              [generic]
>              [export]
>                  exportname = /export/blkdev
>                  port = 12345
>
> 2) So, with the new protocol, is a single port used for all exported
> resources?

Yes. That's also why I had IANA assign me a port, since it makes sense
to have that now.
---

Right now, on my laptop there is versione 2.9.16 (so before the new protocol).
On my job laptop I remember I compiled the latest nbd version. I have
to check but it was using the port i wrote in the config file (alway
debian squeeze but nbd-server 2.9.23).

Bye



Reply to: