* nfsroot 8k block size
@ 2005-05-09 11:13 Aleksey Senin
2005-05-09 11:43 ` Trond Myklebust
0 siblings, 1 reply; 6+ messages in thread
From: Aleksey Senin @ 2005-05-09 11:13 UTC (permalink / raw)
To: linux-fsdevel
Is there any reason, why when I using nfsroot, I NFS client not using
block size larger then 8k, even if I define it on command line :
nfsroot=XXX:/bla/bla/bla,rsize=32768,wsize=32768,v3,tcp
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: nfsroot 8k block size
2005-05-09 11:13 nfsroot 8k block size Aleksey Senin
@ 2005-05-09 11:43 ` Trond Myklebust
2005-05-09 11:53 ` Aleksey Senin
0 siblings, 1 reply; 6+ messages in thread
From: Trond Myklebust @ 2005-05-09 11:43 UTC (permalink / raw)
To: Aleksey Senin; +Cc: linux-fsdevel
må den 09.05.2005 Klokka 14:13 (+0300) skreiv Aleksey Senin:
> Is there any reason, why when I using nfsroot, I NFS client not using
> block size larger then 8k, even if I define it on command line :
>
> nfsroot=XXX:/bla/bla/bla,rsize=32768,wsize=32768,v3,tcp
Does your server actually support >8k r/wsize?
Cheers,
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: nfsroot 8k block size
2005-05-09 11:43 ` Trond Myklebust
@ 2005-05-09 11:53 ` Aleksey Senin
2005-05-09 12:33 ` Trond Myklebust
0 siblings, 1 reply; 6+ messages in thread
From: Aleksey Senin @ 2005-05-09 11:53 UTC (permalink / raw)
Cc: linux-fsdevel
Yes. If I boot client from the disk with the same kernel, I can mount
directory /bla/bla/bla with block size 32k, it meant the command
mount -t nfs -o rsize=32768,wsize=32768 XXX:/bla/bla/bla /tmp/client
work fine.
I'm using kernel 2.4.25 on the server side, and kernel 2.4.30 on the
client side.
Trond Myklebust wrote:
> må den 09.05.2005 Klokka 14:13 (+0300) skreiv Aleksey Senin:
>
>>Is there any reason, why when I using nfsroot, I NFS client not using
>>block size larger then 8k, even if I define it on command line :
>>
>>nfsroot=XXX:/bla/bla/bla,rsize=32768,wsize=32768,v3,tcp
>
>
> Does your server actually support >8k r/wsize?
>
> Cheers,
> Trond
>
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: nfsroot 8k block size
2005-05-09 11:53 ` Aleksey Senin
@ 2005-05-09 12:33 ` Trond Myklebust
2005-05-09 12:35 ` Trond Myklebust
0 siblings, 1 reply; 6+ messages in thread
From: Trond Myklebust @ 2005-05-09 12:33 UTC (permalink / raw)
To: Aleksey Senin; +Cc: linux-fsdevel
må den 09.05.2005 Klokka 14:53 (+0300) skreiv Aleksey Senin:
> Yes. If I boot client from the disk with the same kernel, I can mount
> directory /bla/bla/bla with block size 32k, it meant the command
> mount -t nfs -o rsize=32768,wsize=32768 XXX:/bla/bla/bla /tmp/client
> work fine.
> I'm using kernel 2.4.25 on the server side, and kernel 2.4.30 on the
> client side.
Only the 2.6 kernels support 32k by default. knfsd in kernel 2.4.25 only
supports 8k r/wsizes unless you have been applying special patches. How
are you checking that the block size is indeed being set to 32k on the
client?
Note that /etc/fstab will lie: it just repeats your command line. The
only way to really check is to use tcpdump or ethereal.
Cheers,
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: nfsroot 8k block size
2005-05-09 12:33 ` Trond Myklebust
@ 2005-05-09 12:35 ` Trond Myklebust
2005-05-09 12:45 ` Aleksey Senin
0 siblings, 1 reply; 6+ messages in thread
From: Trond Myklebust @ 2005-05-09 12:35 UTC (permalink / raw)
To: Aleksey Senin; +Cc: linux-fsdevel
må den 09.05.2005 Klokka 08:33 (-0400) skreiv Trond Myklebust:
> må den 09.05.2005 Klokka 14:53 (+0300) skreiv Aleksey Senin:
> > Yes. If I boot client from the disk with the same kernel, I can mount
> > directory /bla/bla/bla with block size 32k, it meant the command
> > mount -t nfs -o rsize=32768,wsize=32768 XXX:/bla/bla/bla /tmp/client
> > work fine.
> > I'm using kernel 2.4.25 on the server side, and kernel 2.4.30 on the
> > client side.
>
> Only the 2.6 kernels support 32k by default.
Note: this applies to the knfsd server only. The clients have supported
32k ever since 2.4.0.
Cheers,
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: nfsroot 8k block size
2005-05-09 12:35 ` Trond Myklebust
@ 2005-05-09 12:45 ` Aleksey Senin
0 siblings, 0 replies; 6+ messages in thread
From: Aleksey Senin @ 2005-05-09 12:45 UTC (permalink / raw)
Cc: linux-fsdevel
I'm looking on the output from 'mount' command and in /proc/mounts file
It shows that nfsroot mounted with 8k block size when I using nfsroot.
If client booted from disk it shows 32k.
I applied patches to the kernel on the server side, and it support 32k.
Trond Myklebust wrote:
> må den 09.05.2005 Klokka 08:33 (-0400) skreiv Trond Myklebust:
>
>>må den 09.05.2005 Klokka 14:53 (+0300) skreiv Aleksey Senin:
>>
>>>Yes. If I boot client from the disk with the same kernel, I can mount
>>>directory /bla/bla/bla with block size 32k, it meant the command
>>>mount -t nfs -o rsize=32768,wsize=32768 XXX:/bla/bla/bla /tmp/client
>>>work fine.
>>>I'm using kernel 2.4.25 on the server side, and kernel 2.4.30 on the
>>>client side.
>>
>>Only the 2.6 kernels support 32k by default.
>
>
> Note: this applies to the knfsd server only. The clients have supported
> 32k ever since 2.4.0.
>
> Cheers,
> Trond
>
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-05-09 12:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-09 11:13 nfsroot 8k block size Aleksey Senin
2005-05-09 11:43 ` Trond Myklebust
2005-05-09 11:53 ` Aleksey Senin
2005-05-09 12:33 ` Trond Myklebust
2005-05-09 12:35 ` Trond Myklebust
2005-05-09 12:45 ` Aleksey Senin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).