How to make the transition as seamless as possible? I found out the hard way, it’s not as easy as remounting with -t nfs4!
server is already exporting /home through /etc/exports
Create the NFS4 pseudofilesystem:
chmod 777 /NFS4
Create a place for /home to go
mount –bind /home /NFS4/home
make it permanent in /etc/fstab
/home /NFS4/home none defaults,bind 0 0
export /NFS4 and /NFS4/home. /NFS4 must have fsid=0 to indicate it’s the root of the pseudofilesystem
because of this NFS4 pseudofilesystem stuff, clients don’t mount /NFS4/home, they mount /home! If you have -t nfs4 then it’s actually mounting /NFS4/home, otherwise it mounts /home through NFS3.
Going to test this a couple of times to make sure it’s correct, cranking out another xen instance (yay for kickstart!) to make the tests more accurate.