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

Re: [Nbd] Large (> 2TB) NBD devices?

On Tue, Oct 23, 2007 at 06:45:25PM +0200, Peter Daum wrote:
> Is it possible to use NBD on devices > 2TB?
> I don't see anything about it in the documentation.
> When I export a larger device, the nbd client process
> prints the usual Negotiation: ..size = xxx and then
> silently exits (Large File Support is on, the kernel
> is compiled with CONFIG_LBD).

In theory, it should be possible; the protocol works with 64bit file
offsets everywhere, so it is able to handle files of up to 2^64 in size.

In practice, I've never really tested it. When I try to run
nbd-tester-client against an nbd-server that exports two files of 1.5T
using the multifile option, that works; so it would appear that any
failure would be caused by something else than the server. I don't think
I can pinpoint it, though.

> Regards,
>                      Peter Daum
>       Heute schon einen Blick in die Zukunft von E-Mails wagen? www.yahoo.de/mail
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Nbd-general mailing list
> Nbd-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nbd-general

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

Reply to: