Wednesday, August 25, 2010

Netfs explained according to sourceforge.

NetFS Overview


NetFS is a peer-to-peer protocol for distributing and incrementally updating entire file systems of files. It can handle many small files, mixed with really large ones with near optimal download speed for most users most of the time. Like BitTorrent, it allows a publisher to distribute files to very many peers with minimal load on itself, since the peers upload mostly from each other.
With NetFS, peers are typically not downloading anything at all. Instead, they serve up the file pieces they've cached on-demand, as needed at high bandwidth, and occasionally download a file when it's accessed for the first time. Most of the time, the network connection is idle. They are available to relay data that is in high demand, however, enabling NetFS to be far faster than BitTorrent for downloading large files when demand surges.

Autofs with the intr option

I have been mounting NFS from client side without the intr option but came across several books which uses the intr option. So, I did a little of search-and-explorations. A typical auto mount in would look like this:

#nano /etc/auto.master

/localdir /etc/auto.misc

#nano /etc/auto.misc

* -rw,soft,intr nfsserver.example.com:/exporteddir/*

The process cannot be interrupted or killed (except by a "sure kill") unless you also specify intr, which I would think stands for interrupt. Then again, if you are not in a hurry, then you can do without the intr option.