Please Whitelist This Site?

I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)

If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.

If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on tcpipguide.com". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||tcpipguide.com^$document". Then just click OK.

Thanks for your understanding!

Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide


NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

Read offline with no ads or diagram watermarks!
The TCP/IP Guide

Custom Search







Table Of Contents  The TCP/IP Guide
 9  TCP/IP Application Layer Protocols, Services and Applications (OSI Layers 5, 6 and 7)
      9  Network File and Resource Sharing Protocols and the TCP/IP Network File System (NFS)
           9  TCP/IP Network File System (NFS)

Previous Topic/Section
NFS Client/Server Operation Using Remote Procedure Calls (RPCs)
Previous Page
Pages in Current Topic/Section
1
2
3
Next Page
NFS File System Model and the Mount Protocol
Next Topic/Section

NFS Server Procedures and Operations
(Page 2 of 3)

NFS Version 2 and Version 3 Server Procedures

Table 182 shows the server procedures defined in versions 2 and 3 of NFS. The table shows the procedure numbers for both NFSv2 and NFSv3, as well as the name of each procedure and a description of what it does. I have kept the descriptions short so the table can serve as a useful summary of what NFS can do. They are listed in order of the procedure number used in NFSv2.


Table 182: NFS Version 2 and Version 3Server Procedures

Procedure # (v2)

Procedure # (v3)

Procedure Name

Procedure Summary

Description

0

0

null

Do Nothing

Dummy procedure provided for testing purposes.

1

1

getattr

Get File Attributes

Retrieves the attributes of a file on a remote server.

2

2

setattr

Set File Attributes

Sets (changes) the attributes of a file on a remote server.

3

root

Get Filesystem Root (obsolete)

This procedure was originally defined to allow a client to find the root of a remote file system, but is now obsolete. This function is instead now implemented as part of the Mount protocol. It was removed in NFSv3.

4

3

lookup

Look Up File Name

Returns the file handle of a file for the client to use.

5

5

readlink

Read From Symbolic Link

Reads the name of a file specified using a symbolic link.

6

6

read

Read From File

Reads data from a file.

7

writecache

Write To Cache

Proposed for future use in version 2 but abandoned and removed from version 3.

8

7

write

Write To File

Writes data to a file.

9

8

create

Create File

Creates a file on the server.

10

12

remove

Remove File

Deletes a file from the server.

11

14

rename

Rename File

Changes the name of a file.

12

15

link

Create Link To File

Creates a “hard' (non-symbolic) link to a file.

13

10

symlink

Create Symbolic Link

Creates a symbolic link to a file.

14

9

mkdir

Create Directory

Creates a directory on the server.

15

13

rmdir

Remove Directory

Deletes a directory.

16

16

readdir

Read From Directory

Reads the contents of a directory.

17

statfs

Get File System Attributes

Provides to the client general information about the remote file system, including the size of the file system and the amount of free space remaining.

In NFSv3 this was replaced by fsstat and fsinfo.

4

access

Check Access Permission

(New in NFSv3.) Determines the access rights that a user has for a particular file system object.

11

mknod

Create A Special Device

(New in NFSv3.) Creates a special file such as a named pipe or device file.

17

readdirplus

Extended Read From Directory

(New in NFSv3.) Retrieves additional information from a directory.

18

fsstat

Get Dynamic File System Information

(New in NFSv3.) Returns volatile (dynamic) file system status information such as the current amount of file system free space and the number of free file slots.

19

fsinfo

Get Static File System Information

(New in NFSv3.) Returns static information about the file system, such as general data about how the file system is used, and parameters for how requests to the server should be structured.

20

pathconf

Retrieve POSIX Information

(New in NFSv3.) Retrieves additional information for a file or directory.

21

commit

Commit Cached Data On A Server To Stable Storage

(New in NFSv3.) Flushes any data that the server is holding in a write cache to storage. This is used to ensure that any data that the client has sent to the server but that the server has held pending write to storage is in fact written out.


Previous Topic/Section
NFS Client/Server Operation Using Remote Procedure Calls (RPCs)
Previous Page
Pages in Current Topic/Section
1
2
3
Next Page
NFS File System Model and the Mount Protocol
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.