
Chapter 9. NFSv3 to NFSv4 migration 219
changes are required from the client’s perspective, because the server will
propagate the change automatically.
1. Unexport the /temp/scratch directory:
exportfs -u /temp/scratch
2. Move /temp/scratch to /scratch.
3. Update /etc/exports with the new location of /scratch.
4. Run the following exportfs command:
exportfs -va
The amount of downtime can further be reduced on the /temp/scratch file system
by keeping it exported and copying it to /scratch rather than using the mv
command. After the copy is complete, the /etc/exports file is updated and the
following command sequence is executed:
exportfs -u /temp/scratch ...