Introducing Network File System Version 4 on HP-UX 11i v3
21
Example of Referral
Figure 20 and Figure 21 illustrate the Referral functionality. The figures use the following setup:
• NFSv4 Server1: hpnfs161 (Referring Server):
# share –o refer=/mntp@16.92.86.188 /a/b
• NFSv4 Server2: hpnfs188 <16.92.86.188> (Referred-to Server):
# share /mntp
• NFSv4 Referral Client: hpnfs163
# mount –o vers=4 hpnfs161:/ /mnt
# cd /mnt/a/b
Figure 20. NFSv4 Referral Server: hpnfs161
As shown in Figure 21, ls command on directory “/mnt/a/b” shows the contents of the exported file
system of referred Server2 (hpnfs188:/mntp). Note that the “nfsstat –m” command shows the
mounted referral system (“mnt/a/b”).