Dell Unity:將 Unity 升級至 5.1 後,無法使用 VMware 裝置管理介面將 vCenter Server Appliance 備份至 Unity NFS 共用
Résumé: 將 Unity 升級至 5.1 後,使用 VMware 裝置管理介面 (VAMI) 的 vCenter Server Appliance (VCSA) 備份未完成。這是因為 Unity 5.1 及更新版本中的程式碼問題,當斜線「/」附加至掛接路徑時,會拒絕 vCenter 的掛接要求。
Cet article concerne
Cet article ne concerne pas
Cet article n’est associé à aucun produit spécifique.
Toutes les versions du produit ne sont pas identifiées dans cet article.
Symptômes
使用者注意到,將 Unity 升級至 5.1 後,無法使用 VMware 裝置管理介面 (VAMI) 執行 vCenter Server Appliance (VCSA) 備份至 Unity NFS 導出。在 Unity 程式代碼升級之前,相同的 NFS 備份路徑已運作。
此問題僅在特定情況下發生。
- NFS 共用是在文件系統的子資料夾上建立。
- NFS 共用名稱與檔案系統名稱相同。
- NAS 伺服器上僅啟用NFSv3。
以下是遇到備份問題的 NFS 匯出組態範例:
FS 名稱:測試
FS 路徑:/test
NFS export local path:/test/subfolder
NFS 匯出名稱:測試
VAMI 上的備份位置 為 nfs://< nfs server ip address/fqdn>:/test。

圖 1:建立備份排程錯誤訊息的範例
從 vCenter /var/log/vmware/applmgmt/applmgmt.log,掛接要求因存取遭拒而失敗。
2023-04-06T01:22:04 AM UTC [2182]ERROR:plugins.MountedFSStorageIOLib:Cmd ['/usr/bin/mount', '-t', 'nfs', '5.6.7.12:/test/', '/storage/remote/backup/nfs/5.6.7.12/BKCA6Hf0/lrcCF3e2', '-o', 'hard,intr'] failed. rc: 32, stdout: , stderr: mount.nfs: access denied by server while mounting 5.6.7.12:/test/ 2023-04-06T01:22:04 AM UTC [2182]INFO:plugins.MountedFSStorageIOLib:Failed to mount the nfs share 5.6.7.12:/test/ at /storage/remote/backup/nfs/5.6.7.12/BKCA6Hf0/lrcCF3e2. Err- rc: 32, out=, err=mount.nfs: access denied by server while mounting 5.6.7.12:/test/ 2023-04-06T01:22:04 AM UTC [2182]ERROR:plugins.MountedFSStorageIOLib:Didn't mount the remote filesystem root.
Cause
依預設,當在 Unity 上建立 NFS 匯出時,會匯出兩條路徑。第一個路徑是文件系統的本機路徑,另一個路徑是導出的路徑,這是使用者在建立共用時指定的共用名稱。
例如,使用者會建立文件系統「test_fs」。它安裝在 NAS 伺服器根磁碟分區的「/test_fs」上。如果使用者將文件系統的根分割區「/test_fs」匯出為「test_fs」,作為 NFS 共用的「test_export」,用戶端會看到兩個用於此導出的掛接路徑,如下所示:
NAS 伺服器上名為 showExportLevel 的參數可控制在用戶端執行 showmount 時,是否顯示兩個路徑,或僅顯示其中一個路徑。如果只看到一個路徑,則可能已設定此參數的非預設值。
使用 VAMI 進行備份失敗的原因,是因為 VAMI 會將斜線「/」附加至備份路徑,而且由於 Unity 上的程式碼問題,導致 Unity 將該路徑視為無效,因此無法使用掛接要求。
例如,如果備份路徑設定為「nfs://5.6.7.12:/test」,vCenter 會嘗試以「nfs://5.6.7.12:/test/」路徑掛接 NFS 導出,而 Unity 則拒絕掛接要求。
如果將斜線「/」附加至掛載路徑,Linux 用戶端也可能遇到此問題。
例如,使用者會建立文件系統「test_fs」。它安裝在 NAS 伺服器根磁碟分區的「/test_fs」上。如果使用者將文件系統的根分割區「/test_fs」匯出為「test_fs」,作為 NFS 共用的「test_export」,用戶端會看到兩個用於此導出的掛接路徑,如下所示:
[root@rhel8 ~]# showmount -e 5.6.7.12 Export list for 5.6.7.12: /test/subfolder (everyone) >>>> local path of the file system /test (everyone) >>>> exported path (Share name)
NAS 伺服器上名為 showExportLevel 的參數可控制在用戶端執行 showmount 時,是否顯示兩個路徑,或僅顯示其中一個路徑。如果只看到一個路徑,則可能已設定此參數的非預設值。
22:38:41 service@ABCDEFG spa:~/user# svc_nas Test_server -param -f nfs -i showExportLevel Test_server : name = showExportLevel facility_name = nfs default_value = 0 current_value = 0 configured_value = 0 param_type = NAS server user_action = none change_effective = immediate range = (0,2) description = An export is defined by both the exported path and the name of the export. By default the server reports both entries in the 'showmount -e' query. When set, this param will filter one or the other kind: Value=1 will report only the exported paths, Value=2 will report only the export names.
使用 VAMI 進行備份失敗的原因,是因為 VAMI 會將斜線「/」附加至備份路徑,而且由於 Unity 上的程式碼問題,導致 Unity 將該路徑視為無效,因此無法使用掛接要求。
例如,如果備份路徑設定為「nfs://5.6.7.12:/test」,vCenter 會嘗試以「nfs://5.6.7.12:/test/」路徑掛接 NFS 導出,而 Unity 則拒絕掛接要求。
如果將斜線「/」附加至掛載路徑,Linux 用戶端也可能遇到此問題。
[root@rhel8 ~]# showmount -e 5.6.7.12 Export list for 5.6.7.12: /test/subfolder (everyone) /test (everyone) [root@rhel8 /]# mount 5.6.7.12:/test/ /mnt mount.nfs: access denied by server while mounting 5.6.7.12:/test/ [root@rhel8 /]# mount 5.6.7.12:/test /mnt [root@rhel8 /]#
Résolution
計劃在下一個 Unity 程式代碼版本中提供永久修正程式,但日期為暫時性且有可能會變更。
有兩種因應措施可供使用,直到程式代碼發佈為止。
有兩種因應措施可供使用,直到程式代碼發佈為止。
- 使用 NFS 本機路徑在 VAMI 中執行備份。
- 在 NAS 伺服器上啟用 NFSv4。
Produits concernés
Dell EMC Unity, Dell Unity Operating Environment (OE)Propriétés de l’article
Numéro d’article: 000212114
Type d’article: Solution
Dernière modification: 26 Jun 2023
Version: 5
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.