Introducing Network File System Version 4 on HP-UX 11i v3
17
Figure 16. NFSv4 Cross Mount
Note that the NFSv2/NFSv3 clients will still need to mount the server’s file systems separately to
access the contents of both shared file systems.
Example of Cross Mounts
Figure 17 and Figure 18 illustrate the use of the Cross Mounts feature. The setup consists of:
• NFSv4 Server: hpnfs161
# share /a/b
# share /a/b/c/d
where /a/b and /a/b/c/d are two different file system partitions as shown in Figure 17.
• NFSv4 Client: hpnfs163
# mount –o vers=4 hpnfs161:/ /mnt
# cd /mnt/a/b; # ls
# cd /mnt/a/b/c/d; # ls
Figure 17 shows the server setup and the directory contents of the two shared file systems.
R
Atten
Fa
Rem
SP
Standby
Po
h
p
Integrity
762
R
Atten
Fa
Rem
SP
Standby
Po
h
p
Integrity
rx
762
0
Client
# mount –o vers=4 server1:/ /mnt
Server
# share /a/b
# share /a/b/c/d
# ls /mnt/a/b
shows directory contents of file system 1
# ls /mnt/a/b/c/d
shows directory contents of file system 2 /a/b/c/d (file system 2)
/a/b (file system 1)
/
Server’s pseudo file system
/ (place holder/not exported)
/a/b (file system 1)
/a/b/c/d (file system 2)