Skip to content

NFS Testing Tools

Below are scripts and tools authored by OSDL for use in NFSv4 testing.

collect_system_info
Collects output from system utilities useful for debugging. Also accepts a file list for additional logs, config files, etc. to collect. Places everything in a UNIX-style directory tree (Example Output).
package_retriever
Scans a web or ftp site for newly posted files and downloads them to a local filesystem. It then prints out the file names of the files it downloads to stdout, suitable for passing to other tools in a pipe.
build_kernel
Builds a kernel on Gentoo. The kernel must be present in /usr/src, with any needed patches already applied. It takes care of setting up the .config, builds it and its modules, installs it to /boot along with the .map and .config files, then updates your lilo.conf or grub.conf, and reruns mkinitrd.
mount_nfsv4_testing.sh
Adds mount points entries to /etc/fstab to allow the SUT to access the testing files. Creates mount points for packages, results, test scripts, etc.
install_package
Installs a package from /nfsv4_testing/packages. Also requires package.fns placed in /nfsv4_testing/packages.