PowerScale:親ディレクトリーに対してNFSエイリアスが作成されている場合、クライアント側からshowmount -eでエクスポートされたサブディレクトリーが表示されます

Summary: 親ディレクトリーに対してNFSエイリアスが作成されている場合、エクスポートされたサブディレクトリーは、クライアント側からshowmount -eに表示されます。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

親ディレクトリとサブディレクトリをエクスポートします。 

# isi nfs exports list
ID   Zone   Paths         Description
--------------------------------------
1    System /ifs/nfs
2    System /ifs/nfs/test
--------------------------------------
Total: 2


親のエイリアスを作成します。 

# isi nfs aliases list
Zone   Name       Path
--------------------------
System /testAlias /ifs/nfs
--------------------------
Total: 1


Showmount -e クライアントから、予期しないパスが返されたことを示しています。

[root@centos ~]# showmount -e x.x.x.x
Export list for x.x.x.x:
/testAlias/test x.x.x.x <<<<< subdirectory test is returned as part of the alias
/testAlias      x.x.x.x
/ifs/nfs/test   x.x.x.x
/ifs/nfs        x.x.x.x

 

Cause

クライアントはPowerScale上に作成された有効なエクスポート パスを表示またはトラバースできるため、これは予期される動作です。

Resolution

エイリアスが showmount -eで、PowerScaleの設定を無効にして、フル パスのみが返されるようにします。クライアントは引き続きエイリアスをマウントできますが、デュアルパスが返されるのを防ぐことができるため、一部の環境で混乱が生じる可能性があります。

この変更を有効にするには、クラスター全体でNFSを再起動する必要があることに注意してください。

でエイリアス パスの戻りを無効にするには、次の手順を実行します。 showmountが使用するJava Runtime Environmentへのパスを定義します。

# isi_gconfig registry.Services.lwio.Parameters.Drivers.nfs.MountdAliasesInShowmountE=0
 

クラスター全体でNFSを再起動します(次のコマンドを使用して実行するのではなく、ノードごとに実行できます)。 isi_for_array 希望する場合:
 

# isi_for_array -s '/usr/likewise/bin/lwsm restart onefs_nfs' 

次の手順に進みます。 showmount -e クライアントからは、フル パスのみが表示され、エイリアスは表示されません。

[root@centos ~]# showmount -e x.x.x.x
Export list for x.x.x.x:
/ifs/nfs/test   x.x.x.x
/ifs/nfs        x.x.x.x

Affected Products

Isilon, PowerScale OneFS, Isilon Scale-out NAS
Article Properties
Article Number: 000205094
Article Type: Solution
Last Modified: 27 Nov 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.