VNX:無法使用 NFSv4only 選項建立 NFS 匯出 - 錯誤「NFS has started with HI_VERS 3.無法僅匯出為 nfsv4」(使用者可修正)
Summary: 無法使用 nfsv4only 選項建立 NFS 匯出,並顯示錯誤 錯誤 22: server_2:無效的引數 匯出錯誤:NFS 已從 HI_VERS 3 開始。無法僅匯出為 nfsv4
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
客戶嘗試使用 NFSv4only 選項建立 NFS 匯出。執行匯出命令時回報錯誤:
錯誤 22: server_2:無效的引數
匯出錯誤:NFS 已從 HI_VERS 3 開始。無法僅
匯出為 nfsv4範例:
server_export server_2-P nfs -option nfsv4only /ufs1
錯誤 22: server_2:無效的引數
匯出錯誤:NFS 已從 HI_VERS 3 開始。無法僅匯出為 nfsv4
Cause
根據預設,NFSv3 是 VNX 上的使用中 NFS 服務。客戶並未在 VNX
上啟用 NFSv4 若要檢查,請執行下列命令:
cat /nas/server/slot_2/config
nfs config
上啟用 NFSv4 若要檢查,請執行下列命令:
cat /nas/server/slot_2/config
nfs config
Resolution
需要在伺服器上啟用 NFSv4 以解決問題
1.使用文字編輯器,開啟 /nas/server/slot_x/config 檔案,其中 是資料移動者的插槽號碼。
其中:x=資料移動器插槽
2.在 nfs 配置行上,附加選項 hivers=4,或者,如果該選項已出現,請確保該值設置為 4。
儲存並關閉檔案。
例如:nfs 設定執行個體 = 4
注意:請勿變更檔案中的任何其他行或選項。
3.使用以下命令語法
重新開機資料移動者:server_cpu<移動者名稱> -reboot -monitor now
其中: <移動者名稱> = 資料移動者
名稱 (請參閱:Configurationuring-NFS-on-VNX-8.1,第 26 頁 )
然後,嘗試使用 NFSv4only 選項建立匯出:
server_export server_2 -P nfs -option nfsv4only /ufs1
server_2:完成
1.使用文字編輯器,開啟 /nas/server/slot_x/config 檔案,其中 是資料移動者的插槽號碼。
其中:x=資料移動器插槽
2.在 nfs 配置行上,附加選項 hivers=4,或者,如果該選項已出現,請確保該值設置為 4。
儲存並關閉檔案。
例如:nfs 設定執行個體 = 4
注意:請勿變更檔案中的任何其他行或選項。
3.使用以下命令語法
重新開機資料移動者:server_cpu<移動者名稱> -reboot -monitor now
其中: <移動者名稱> = 資料移動者
名稱 (請參閱:Configurationuring-NFS-on-VNX-8.1,第 26 頁 )
然後,嘗試使用 NFSv4only 選項建立匯出:
server_export server_2 -P nfs -option nfsv4only /ufs1
server_2:完成
Additional Information
NFSv4 不支援 -name 選項。
Affected Products
VNX2 SeriesProducts
VNX1 Series, VNX2 Series, VNX/VNXeArticle Properties
Article Number: 000057225
Article Type: Solution
Last Modified: 07 Nov 2025
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.