Translated message

A translation of this page exists in English.

NFS クライアントが、ネストされた NFS 共有を参照できない理由

Solution Verified - Updated -

Issue

  • NFS サーバーが、ネストされたマウントでファイルシステムを共有します。
    [root@nfsserver ~]# cat /etc/exports 
    /nfsshare *(rw,sync)
    
    [root@nfsserver ~]# ls -laR /nfsshare/
    /nfsshare/:
    total 12
    drwxr-xr-x   3 root root 4096 Apr  1 15:56 .
    dr-xr-xr-x.28 root root 4096 Apr  1 15:07 ..
    drwxr-xr-x.3 root root 4096 Apr  1 15:57 nested_mount
    
    /nfsshare/ext3:
    total 24
    drwxr-xr-x.3 root root  4096 Apr  1 15:57 .
    drwxr-xr-x  3 root root  4096 Apr  1 15:56 ..
    -rw-r--r--  1 root root     0 Apr  1 15:57 HelloWorld.c
    
    [root@nfsserver ~]# mount | grep nested_mount
    /dev/mapper/VolGroup01-LogVol01 on /nfsshare/nested_mount type ext4 (rw)
    
  • エクスポートされた共有を NFS クライアントでマウントすると、ネストされたマウント上にあるものをクライアントが確認できません。
    [root@nfsclient /]# ls -l /nfsshare/nested_mount/
    total 0
    

Environment

  • Red Hat Enterprise Linux (すべてのバージョン)
  • NFS (すべてのバージョン)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content