Discussion:
How to check file system(Data) consistency in case of NFS i/o ?
(too old to reply)
zorba
2007-10-29 11:40:51 UTC
Permalink
Hi,

How to check file system(Data) consistency in case of NFS i/o ?

thanks & regards
Parinay
bcwalrus
2007-10-31 22:29:45 UTC
Permalink
Post by zorba
Hi,
How to check file system(Data) consistency in case of NFS i/o ?
thanks & regards
Parinay
The question is quite unclear. Consistency is a relation between two
things. Can you tell me what the two things in your question are? It
could be consistency between what the server receives and what's in
the file system, or what the server receives and what appears on disk,
or what the client sends and that the server receives, and so on.

Cheers,
bc
zorba
2007-11-01 02:35:24 UTC
Permalink
Post by bcwalrus
Post by zorba
Hi,
How to check file system(Data) consistency in case of NFS i/o ?
thanks & regards
Parinay
The question is quite unclear. Consistency is a relation between two
things. Can you tell me what the two things in your question are? It
could be consistency between what the server receives and what's in
the file system, or what the server receives and what appears on disk,
or what the client sends and that the server receives, and so on.
Cheers,
bc
What the client sends and that the server receives ...
bcwalrus
2007-11-02 23:41:38 UTC
Permalink
Post by zorba
Post by bcwalrus
Post by zorba
Hi,
How to check file system(Data) consistency in case of NFS i/o ?
thanks & regards
Parinay
The question is quite unclear. Consistency is a relation between two
things. Can you tell me what the two things in your question are? It
could be consistency between what the server receives and what's in
the file system, or what the server receives and what appears on disk,
or what the client sends and that the server receives, and so on.
Cheers,
bc
What the client sends and that the server receives ...
The only cause of inconsistency there (that I can think of) is data
corruption when the packets are in the network. The transport layer is
supposed to prevent that. Are you using TCP or UDP? Both have "good
enough" checksum for most people. If you're paranoid, you can use
Kerberos signing with NFS.

Cheers,
bc
zorba
2007-11-04 07:42:03 UTC
Permalink
Post by bcwalrus
Post by zorba
Post by bcwalrus
Post by zorba
Hi,
How to check file system(Data) consistency in case of NFS i/o ?
thanks & regards
Parinay
The question is quite unclear. Consistency is a relation between two
things. Can you tell me what the two things in your question are? It
could be consistency between what the server receives and what's in
the file system, or what the server receives and what appears on disk,
or what the client sends and that the server receives, and so on.
Cheers,
bc
What the client sends and that the server receives ...
The only cause of inconsistency there (that I can think of) is data
corruption when the packets are in the network. The transport layer is
supposed to prevent that. Are you using TCP or UDP? Both have "good
enough" checksum for most people. If you're paranoid, you can use
Kerberos signing with NFS.
Cheers,
bc
I am using TCP but no kerberos.
Can you explain( if you have time ) the other 2-relations that you
mentioned w.r.t. consistency (i.e.consistency between what the server
receives and what's in the file system, or what the server receives
and what appears on disk ) ?
bcwalrus
2007-11-05 19:26:26 UTC
Permalink
Post by zorba
I am using TCP but no kerberos.
Can you explain( if you have time ) the other 2-relations that you
mentioned w.r.t. consistency (i.e.consistency between what the server
receives and what's in the file system, or what the server receives
and what appears on disk ) ?
The data typically travels through this path:

user program --> client VFS/NFS --> network --> server NFS/VFS -->
server underlying FS (ext3, reiser, xfs, etc.) --> disk

If you're using a stable OS, the NFS/VFS layers are unlikely to
corrupt your data. If you're using an experimental file system, or
have a faulty disk, then you should check there first. What kind of
data inconsistency have you observed?

Cheers,
bc

Loading...