.\" DO NOT MODIFY THIS FILE! It was generated by setup.py 1.2. .TH NFSTEST_INTEROP 1 "21 March 2023" "NFStest 3.2" "nfstest_interop 1.1" .SH NAME nfstest_interop - NFS interoperability tests .SH SYNOPSIS nfstest_interop --server [options] .SH DESCRIPTION Basic interoperability tests verify that a file written with different versions of NFS is written correctly. The contents of the file are verified by reading the file back using one of the NFS versions. The tests append different data from different versions of NFS one at a time then reads the contents of the file to verify it was written correctly. This is done twice for each test: 1) Mount different versions of NFS (NFSv3, NFSv4, NFSv4.1) 2) Create empty file 3) Append data using NFSv3 4) Append data using NFSv4 5) Append data using NFSv4.1 6) Read file and verify contents are correct 7) Append data using NFSv3 8) Append data using NFSv4 9) Append data using NFSv4.1 10) Read file and verify contents are correct .SH OPTIONS .IP "--version" show program's version number and exit .IP "-h, --help" show this help message and exit .IP "-f FILE, --file=FILE" File where options are specified besides the system wide file /etc/nfstest, user wide file $HOME/.nfstest or in the current directory .nfstest file .SS NFS specific options: .IP "-s SERVER, --server=SERVER" Server name or IP address .IP "-e EXPORT, --export=EXPORT" Exported file system to mount [default: '/'] .IP "--nfsversion=NFSVERSION" NFS version, e.g., 3, 4, 4.1, etc. [default: 4.1] .IP "-m MTPOINT, --mtpoint=MTPOINT" Mount point [default: '/mnt/t'] .IP "-p PORT, --port=PORT" NFS server port [default: 2049] .IP "--proto=PROTO" NFS protocol name [default: 'tcp'] .IP "--sec=SEC" Security flavor [default: 'sys'] .IP "--nconnect=NCONNECT" Multiple TCP connections option [default: '1'] .IP "-o MTOPTS, --mtopts=MTOPTS" Mount options [default: 'hard,rsize=4096,wsize=4096'] .IP "--datadir=DATADIR" Data directory where files are created, directory is created on the mount point [default: ''] .SS Logging options: .IP "-v VERBOSE, --verbose=VERBOSE" Verbose level for debug messages [default: \t'opts|info|dbg1|dbg2|dbg3'] .IP "--tverbose=TVERBOSE" Verbose level for test messages [default: '1'] .IP "--createlog" Create log file .IP "--rexeclog" Create rexec log files .IP "--warnings" Display warnings .IP "--tag=TAG" Informational tag, it is displayed as an INFO message [default: ''] .IP "--notty" Do not use terminal colors on output .IP "--isatty" Use terminal colors on output -- useful when running with nohup .SS Packet trace options: .IP "--createtraces" Create a packet trace for each test .IP "--tbsize=TBSIZE" Capture buffer size for tcpdump [default: 192k] .IP "--trcdelay=TRCDELAY" Seconds to delay before stopping packet trace [default: 2.0] .IP "--keeptraces" Do not remove any trace files [default: remove trace files if no errors] .IP "--rmtraces" Remove trace files [default: remove trace files if no errors] .IP "-i INTERFACE, --interface=INTERFACE" Device interface [default: automatically selected] .SS File options: .IP "--nfiles=NFILES" Number of files to create [default: 2] .IP "--filesize=FILESIZE" File size to use for test files [default: 64k] .IP "--rsize=RSIZE" Read size to use when reading files [default: 4k] .IP "--wsize=WSIZE" Write size to use when writing files [default: 4k] .IP "--iodelay=IODELAY" Seconds to delay I/O operations [default: 0.1] .IP "--offset-delta=OFFSET_DELTA" Read/Write offset delta [default: 4k] .SS Path options: .IP "--sudo=SUDO" Full path of binary for sudo [default: '/usr/bin/sudo'] .IP "--kill=KILL" Full path of binary for kill [default: '/usr/bin/kill'] .IP "--nfsstat=NFSSTAT" Full path of binary for nfsstat [default: '/usr/sbin/nfsstat'] .IP "--tcpdump=TCPDUMP" Full path of binary for tcpdump [default: '/usr/sbin/tcpdump'] .IP "--iptables=IPTABLES" Full path of binary for iptables [default: '/usr/sbin/iptables'] .IP "--messages=MESSAGES" Full path of log messages file [default: '/var/log/messages'] .IP "--trcevents=TRCEVENTS" Full path of tracing events directory [default: \t'/sys/kernel/debug/tracing/events'] .IP "--trcpipe=TRCPIPE" Full path of trace pipe file [default: \t'/sys/kernel/debug/tracing/trace_pipe'] .IP "--tmpdir=TMPDIR" Temporary directory [default: '/tmp'] .SS Debug options: .IP "--nocleanup" Do not cleanup created files .IP "--notimestamps" Do not display timestamps in debug messages .IP "--bugmsgs=BUGMSGS" File containing test messages to mark as bugs if they failed .IP "--nomount" Do not mount server and run the tests on local disk space .IP "--basename=BASENAME" Base name for all files and logs [default: automatically generated] .IP "--nfsdebug=NFSDEBUG" Set NFS kernel debug flags and save log messages [default: ''] .IP "--rpcdebug=RPCDEBUG" Set RPC kernel debug flags and save log messages [default: ''] .IP "--tracepoints=TRACEPOINTS" List of trace points modules to enable [default: ''] .IP "--nfsstats" Get NFS stats [default: 'False'] .IP "--pktdisp" Display main packets related to the given test .IP "--nfserrors" Fail every NFS error found in the packet trace .IP "--client-ipaddr=CLIENT_IPADDR" IP address of localhost .SS Reporting options: .IP "--xunit-report" Generate xUnit compatible test report .IP "--xunit-report-file=XUNIT_REPORT_FILE" Path to xout report file .SS Test options: .IP "--runtest=RUNTEST" Comma separated list of tests to run, if list starts with a '^' then all tests are run except the ones listed [default: 'all'] .IP "--datasize=DATASIZE" Size of data to be written by each version of NFS [default: '10'] .SH TESTS .SS test01 .nf Verify appending data with NFSv3 is correctly read using NFSv3 .fi .SS test02 .nf Verify appending data with NFSv3 is correctly read using NFSv4 .fi .SS test03 .nf Verify appending data with NFSv3 is correctly read using NFSv4.1 .fi .SS test04 .nf Verify appending data with NFSv4 is correctly read using NFSv3 .fi .SS test05 .nf Verify appending data with NFSv4 is correctly read using NFSv4 .fi .SS test06 .nf Verify appending data with NFSv4 is correctly read using NFSv4.1 .fi .SS test07 .nf Verify appending data with NFSv4.1 is correctly read using NFSv3 .fi .SS test08 .nf Verify appending data with NFSv4.1 is correctly read using NFSv4 .fi .SS test09 .nf Verify appending data with NFSv4.1 is correctly read using NFSv4.1 .fi .SS test10 .nf Verify appending data with NFSv3 and NFSv4 is correctly read using NFSv3 .fi .SS test11 .nf Verify appending data with NFSv3 and NFSv4 is correctly read using NFSv4 .fi .SS test12 .nf Verify appending data with NFSv3 and NFSv4 is correctly read using NFSv4.1 .fi .SS test13 .nf Verify appending data with NFSv4 and NFSv3 is correctly read using NFSv3 .fi .SS test14 .nf Verify appending data with NFSv4 and NFSv3 is correctly read using NFSv4 .fi .SS test15 .nf Verify appending data with NFSv4 and NFSv3 is correctly read using NFSv4.1 .fi .SS test16 .nf Verify appending data with NFSv3 and NFSv4.1 is correctly read using NFSv3 .fi .SS test17 .nf Verify appending data with NFSv3 and NFSv4.1 is correctly read using NFSv4 .fi .SS test18 .nf Verify appending data with NFSv3 and NFSv4.1 is correctly read using NFSv4.1 .fi .SS test19 .nf Verify appending data with NFSv4.1 and NFSv3 is correctly read using NFSv3 .fi .SS test20 .nf Verify appending data with NFSv4.1 and NFSv3 is correctly read using NFSv4 .fi .SS test21 .nf Verify appending data with NFSv4.1 and NFSv3 is correctly read using NFSv4.1 .fi .SS test22 .nf Verify appending data with NFSv4 and NFSv4.1 is correctly read using NFSv3 .fi .SS test23 .nf Verify appending data with NFSv4 and NFSv4.1 is correctly read using NFSv4 .fi .SS test24 .nf Verify appending data with NFSv4 and NFSv4.1 is correctly read using NFSv4.1 .fi .SS test25 .nf Verify appending data with NFSv4.1 and NFSv4 is correctly read using NFSv3 .fi .SS test26 .nf Verify appending data with NFSv4.1 and NFSv4 is correctly read using NFSv4 .fi .SS test27 .nf Verify appending data with NFSv4.1 and NFSv4 is correctly read using NFSv4.1 .fi .SS test28 .nf Verify appending data with NFSv3, NFSv4 and NFSv4.1 is correctly read using NFSv3 .fi .SS test29 .nf Verify appending data with NFSv3, NFSv4 and NFSv4.1 is correctly read using NFSv4 .fi .SS test30 .nf Verify appending data with NFSv3, NFSv4 and NFSv4.1 is correctly read using NFSv4.1 .fi .SS test31 .nf Verify appending data with NFSv4, NFSv3 and NFSv4.1 is correctly read using NFSv3 .fi .SS test32 .nf Verify appending data with NFSv4, NFSv3 and NFSv4.1 is correctly read using NFSv4 .fi .SS test33 .nf Verify appending data with NFSv4, NFSv3 and NFSv4.1 is correctly read using NFSv4.1 .fi .SS test34 .nf Verify appending data with NFSv4, NFSv4.1 and NFSv3 is correctly read using NFSv3 .fi .SS test35 .nf Verify appending data with NFSv4, NFSv4.1 and NFSv3 is correctly read using NFSv4 .fi .SS test36 .nf Verify appending data with NFSv4, NFSv4.1 and NFSv3 is correctly read using NFSv4.1 .fi .SS test37 .nf Verify appending data with NFSv4.1, NFSv4 and NFSv3 is correctly read using NFSv3 .fi .SS test38 .nf Verify appending data with NFSv4.1, NFSv4 and NFSv3 is correctly read using NFSv4 .fi .SS test39 .nf Verify appending data with NFSv4.1, NFSv4 and NFSv3 is correctly read using NFSv4.1 .fi .SS test40 .nf Verify appending data with NFSv4.1, NFSv3 and NFSv4 is correctly read using NFSv3 .fi .SS test41 .nf Verify appending data with NFSv4.1, NFSv3 and NFSv4 is correctly read using NFSv4 .fi .SS test42 .nf Verify appending data with NFSv4.1, NFSv3 and NFSv4 is correctly read using NFSv4.1 .fi .SS test43 .nf Verify appending data with NFSv3, NFSv4.1 and NFSv4 is correctly read using NFSv3 .fi .SS test44 .nf Verify appending data with NFSv3, NFSv4.1 and NFSv4 is correctly read using NFSv4 .fi .SS test45 .nf Verify appending data with NFSv3, NFSv4.1 and NFSv4 is correctly read using NFSv4.1 .fi .SS all .nf Run all tests: test01, test02, test03, test04, test05, test06, test07, test08, test09, test10, test11, test12, test13, test14, test15, test16, test17, test18, test19, test20, test21, test22, test23, test24, test25, test26, test27, test28, test29, test30, test31, test32, test33, test34, test35, test36, test37, test38, test39, test40, test41, test42, test43, test44, test45 .fi .SH SEE ALSO .BR nfstest.test_util(3), .BR nfstest_alloc(1), .BR nfstest_cache(1), .BR nfstest_delegation(1), .BR nfstest_dio(1), .BR nfstest_fcmp(1), .BR nfstest_file(1), .BR nfstest_io(1), .BR nfstest_lock(1), .BR nfstest_pkt(1), .BR nfstest_pnfs(1), .BR nfstest_posix(1), .BR nfstest_rdma(1), .BR nfstest_sparse(1), .BR nfstest_ssc(1), .BR nfstest_xattr(1), .BR nfstest_xid(1), .BR packet.nfs.nfs3_const(3), .BR packet.nfs.nfs4_const(3) .SH BUGS No known bugs. .SH AUTHOR Jorge Mora (mora@netapp.com)