# nfsrahead - Configure the readahead for NFS mounts - man(5) - [phpMan]

[_man_(5)](https://www.chedong.com/phpMan.php/man/man/5/markdown)                                   nfsrahead man page                                   [_man_(5)](https://www.chedong.com/phpMan.php/man/man/5/markdown)

## NAME
       nfsrahead - Configure the readahead for NFS mounts


## SYNOPSIS
       nfsrahead [-F] [-d] <device>


## DESCRIPTION
       _nfsrahead_  is  a tool intended to be used with udev to set the _read_ahead_kb_ parameter of NFS
       mounts, according to the configuration file (see _CONFIGURATION_). _device_ is the device  number
       for the NFS backing device as provided by the kernel.


## OPTIONS
### -F     


### -d     


## CONFIGURATION
       _nfsrahead_  is  configured  in _/etc/nfs.conf_, in the section titled _nfsrahead_.  It accepts the
       following configurations.


### nfs=<value>
              The readahead value applied to NFSv3 mounts.


### nfs4=<value>
              The readahead value applied to NFSv4 mounts.


### default=<value>
              The default configuration when none of the configurations above is set.


## EXAMPLE CONFIGURATION
       [nfsrahead]
       nfs=15000              # readahead of 15000 for NFSv3 mounts
       nfs4=16000             # readahead of 16000 for NFSv4 mounts
       default=128            # default is 128


## SEE ALSO
       [**mount.nfs**(8)](https://www.chedong.com/phpMan.php/man/mount.nfs/8/markdown), [**nfs**(5)](https://www.chedong.com/phpMan.php/man/nfs/5/markdown), [**nfs.conf**(5)](https://www.chedong.com/phpMan.php/man/nfs.conf/5/markdown), [**udev**(7)](https://www.chedong.com/phpMan.php/man/udev/7/markdown), [**bcc-readahead**(8)](https://www.chedong.com/phpMan.php/man/bcc-readahead/8/markdown)


## BUGS
       No known bugs.


## AUTHOR
       Thiago Rafael Becker <<trbecker@gmail.com>>

1.0                                          08 Mar 2022                                      [_man_(5)](https://www.chedong.com/phpMan.php/man/man/5/markdown)
