PowerScale: Quando viene creato un alias NFS per una directory padre, le sottodirectory esportate vengono visualizzate in showmount -e dal lato client

Summary: Quando viene creato un alias NFS per una directory padre, le sottodirectory esportate vengono visualizzate in showmount -e dal lato client.

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

Far esportare la directory principale e la sottodirectory: 

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


Creare un alias per l'elemento padre: 

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


Showmount -e Dal client mostra che sono stati restituiti percorsi imprevisti:

[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

Si tratta di un comportamento previsto, in quanto i client possono visualizzare o attraversare percorsi di esportazione validi creati su PowerScale.

Resolution

Per evitare che gli alias vengano visualizzati in showmount -e, disabilitare l'impostazione su PowerScale in modo che vengano restituiti solo percorsi completi. I client sarebbero comunque in grado di montare l'alias, ma ciò impedirebbe la restituzione di percorsi doppi che potrebbero causare confusione in alcuni ambienti. 

Tenere presente che per rendere effettiva questa modifica è necessario riavviare NFS nel cluster. 

Per disabilitare la restituzione dei percorsi con alias in showmount:

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

Riavviare NFS nel cluster (può essere eseguito nodo per nodo invece di essere eseguito con isi_for_array Se si preferisce:
 

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

Ora showmount -e Dal client mostra solo i percorsi completi e non più gli alias:

[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.