NFSv3 would help you with this; it is supposed to return NFS3ERR_JUKEBOX
in this case (and then you need a client that can grok this error).
> Question 2 is: what should nfs server do while trying to read block?
> My current version just drops the request...
This service should most likely be used over a TCP connection only.
In this case, you can hook a procedure into the TCP SVCXPRT receive
routine that forks whenever a TCP connection comes in (you'll need
a recent unfsd for this that does work multi-threaded).
Note that you'll run into bad problems with NFS clients, though. I
don't think that there are NFS clients that will easily tolerate
round-trip times of 2 hours...
Olaf
-- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play okir@monad.swb.de | / | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax okir@caldera.de +-------------------- Why Not?! ----------------------- UNIX, n.: Spanish manufacturer of fire extinguishers.- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu