wiki: http://linux-nfs.org/wiki/index.php/NFStest
1、安装
wget http://www.linux-nfs.org/~mora/nfstest/releases/NFStest-2.1.5.tar.gz
tar -zxvf NFStest-2.1.5.tar.gz
cd NFStest-2.1.5
python setup.py install
#创建默认挂载点
sudo mkdir /mnt/t
sudo chmod 777 /mnt/t
可用指令:
nfstest_alloc nfstest_delegation nfstest_file nfstest_io nfstest_pkt nfstest_posix nfstest_ssc
nfstest_cache nfstest_dio nfstest_interop nfstest_lock nfstest_pnfs nfstest_sparse nfstest_xid
运行参数:
NFS specific options:
-s SERVER, --server=SERVER
Server name or IP address
-e EXPORT, --export=EXPORT
Exported file system to mount [default: '/']
--nfsversion=NFSVERSION
NFS version, e.g., 3, 4, 4.1, etc. [