2003-09-17 05:46:53

by Amir Hermelin

[permalink] [raw]
Subject: remounting with a different blocksize

Hi,
I'm using RH Linux 2.4.20 on both machines. When I first mount one of =
the
machines with a 4k read/write blocksize, the READ requests are 4K bytes.
However, when I umount and then mount again with read/write blocksize of =
8K,
the READ requests are still 4K bytes.

Any ideas on how I can properly change the blocksizes?

Thanks,
Amir.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2003-09-17 10:58:06

by Steve Dickson

[permalink] [raw]
Subject: Re: remounting with a different blocksize


Amir Hermelin wrote:

>I'm using RH Linux 2.4.20 on both machines. When I first mount one of the
>machines with a 4k read/write blocksize, the READ requests are 4K bytes.
>However, when I umount and then mount again with read/write blocksize of 8K,
>the READ requests are still 4K bytes.
>
>Any ideas on how I can properly change the blocksizes?
>
I just ran a quick experiment on with my 2.4.20 kernel and everything
seem to work as expected... How are you verifying the blocks sizes?

SteveD.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2003-09-17 13:05:46

by Amir Hermelin

[permalink] [raw]
Subject: RE: remounting with a different blocksize

Steve,
I turn on nfsd debugging using '/sbin/sysctl -w =
sunrpc.nfsd_debug=3D65535'.
There I see that the READ requests come in 4k blocks. Other than that =
the
operation works fine (since both the client and the server agree on this
4k).

Amir.


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Steve Dickson
Sent: =E3 17 =F1=F4=E8=EE=E1=F8 2003 12:57
To: Amir Hermelin
Cc: [email protected]
Subject: Re: [NFS] remounting with a different blocksize



Amir Hermelin wrote:

>I'm using RH Linux 2.4.20 on both machines. When I first mount one of=20
>the machines with a 4k read/write blocksize, the READ requests are 4K=20
>bytes. However, when I umount and then mount again with read/write=20
>blocksize of 8K, the READ requests are still 4K bytes.
>
>Any ideas on how I can properly change the blocksizes?
>
I just ran a quick experiment on with my 2.4.20 kernel and everything =
seem
to work as expected... How are you verifying the blocks sizes?

SteveD.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs