VNX:server_df命令失敗

摘要: VNX:server_df命令失敗

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

症状

命令「server_df server_2」失敗,並顯示「錯誤 2: server_2:沒有此類檔案或目錄無法完成命令」:

[nasadmin@ssgnas03cs0 ~]$ server_df server_2
server_2 :
Error 2: server_2 : No such file or directory
failed to complete command

升級前執行狀況檢查失敗,並出現下列錯誤:

Blades : Check if root filesystem is too large
Error HC_DM_14505148436: Output from command "/nas/bin/server_df
         server_2" has no information on file system root_fs_2

Blades : Check if root filesystem has enough free space
Error HC_DM_14505148440: Output from command "/nas/bin/server_df
         server_2" has no information on file system root_fs_2

Blades : Check if file system usage is under limit
Error HC_DM_14505148563: Could not determine available disk space for
         the mounted file systems on the following Blades:
         * server_2

所有其他 server_df 命令可針對其他資料移動器成功工作:

[nasadmin@ssgnas03cs0 ~]$ server_df server_3
server_3 :
Filesystem          kbytes         used        avail capacity Mounted on
root_fs_common       15368         5280        10088   34%    /.etc_common
root_fs_3           258128         6184       251944    2%    /

 

原因

此實例中的根本原因是server_2的根文件系統已取消掛接。

[nasadmin@ssgnas03cs0 ~]$ server_mount ALL
server_2 :
                       <------ nothing mounted
server_3 :
root_fs_3 on / uxfs,perm,rw
root_fs_common on /.etc_common uxfs,perm,ro

當您列出所有文件系統時,很明顯server_2的根文件系統“root_fs_2”被列為未使用,因為它已卸載。

[nasadmin@ssgnas03cs0 ~]$ nas_fs -l
id      inuse type acl   volume    name                server
1         n    1   0     10        root_fs_1
2         y    1   0     40        root_fs_common      3,2
3         n    5   0     73        root_fs_ufslog
4         n    5   0     76        root_panic_reserve
5         n    5   0     93        root_fs_d3
6         n    5   0     94        root_fs_d4
7         n    5   0     95        root_fs_d5
8         n    5   0     96        root_fs_d6
9         n    1   0     12        root_fs_2              <------------ inuse = n
10        y    1   0     14        root_fs_3           2

 

解决方案

在客戶向支援部門要求協助之前,資料移動者已完成重新開機,且沒有任何改善。若要解決此問題,請以「root」使用者身分登入主要控制站,然後將檔案系統「root_fs_2」重新掛接至資料移動者server_2:

[root@ssgnas03cs0 nasadmin]# server_mount server_2 root_fs_2 /
server_2 : done

確定已重新掛接根檔案系統:

[root@ssgnas03cs0 nasadmin]# server_mount ALL
server_2 :
root_fs_2 on / uxfs,perm,rw
root_fs_common on /.etc_common uxfs,perm,ro

server_3 :
root_fs_3 on / uxfs,perm,rw
root_fs_common on /.etc_common uxfs,perm,ro

掛接根檔案系統後,發出「server_df server_2」命令以確保其成功完成:

[root@ssgnas03cs0 nasadmin]# server_df server_2
server_2 :
Filesystem          kbytes         used        avail capacity Mounted on
root_fs_common       15368         5280        10088   34%    /.etc_common
root_fs_2           258128         6264       251864    2%    /

 

其他信息

在此特定情況下,客戶正在清理不必要的檔案系統,以回收 NAS 集區的空間。在清理過程中,他們永久取消掛接,並嘗試刪除資料移動者server_2的根檔案系統「root_fs_2」。永遠不應刪除資料移動者的根檔案系統。

 

受影响的产品

VNX2 Series

产品

Celerra, VNX1 Series, VNX2 Series
文章属性
文章编号: 000056821
文章类型: Solution
上次修改时间: 20 10月 2025
版本:  5
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。