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

Re: [Nbd] NBD blocksize question



Hi,

----- Original Message ----- 
From: "Wouter Verhelst" <wouter@...3...>
To: "JaniD++" <djani22@...60...>
Cc: <nbd-general@lists.sourceforge.net>
Sent: Monday, December 05, 2005 1:37 PM
Subject: Re: [Nbd] NBD blocksize question


> On Mon, Dec 05, 2005 at 11:43:56AM +0100, JaniD++ wrote:
> > Hello, list,
> >
> > It is a relatively easy way to change (hack) the NBD-blocksize to 8192
for
> > jumbo ethernet frames? :-)
>
> You'd need to patch the kernel to do that; dunno how hard it's going to
> be.

Ah. This is bad news. :(

>
> That being said, I don't think it's a fairly good idea to do that; the
> block size is also used by the file system; if you have a block device
> with a large block size, you'll lose a lot of space.

Wait a minute!

blocksize = request size = sector size ?

I think bs is only equal to one NBD-request size.

Or not?

Additionally i use 8TB with NBD, and "big" files.
The 4K or 8K sector size is not bad for me. ;-)

But my current system is "formatted" with 1K bs.
I need to rebuild my FS with 4K bs ?

Cheers,
Janos

>
> -- 
> .../ -/ ---/ .--./ / .--/ .-/ .../ -/ ../ -./ --./ / -.--/ ---/ ..-/ .-./
/ -/
> ../ --/ ./ / .--/ ../ -/ ..../ / -../ ./ -.-./ ---/ -../ ../ -./ --./
/ --/
> -.--/ / .../ ../ --./ -./ .-/ -/ ..-/ .-./ ./ .-.-.-/ / --/ ---/ .-./ .../
./ /
> ../ .../ / ---/ ..-/ -/ -../ .-/ -/ ./ -../ / -/ ./ -.-./ ..../ -./ ---/
.-../
> ---/ --./ -.--/ / .-/ -./ -.--/ .--/ .-/ -.--/ .-.-.-/ / ...-.-/
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Nbd-general mailing list
> Nbd-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nbd-general




Reply to: