Isilon:OneFS:如何在 /ifs 上檢查可用的 inode 和區塊計數

Summary: 這會記錄用於檢查和確認 ifs 磁碟分割上可用 inode 和區塊數量的命令。

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.

Instructions

程序

 

驗證可用的 inode

若要檢視單一節點上可用的 inode 數量:

  1. 在叢集的任何節點上開啟 SSH 連線,然後使用「root」帳戶登入。
  2. 執行下列命令:
     
    sysctl efs.lbm.free_inodes


若要檢視叢集中所有節點上的可用 inode 數量:

  1. 在叢集的任何節點上開啟 SSH 連線,然後使用「root」帳戶登入。
  2. 執行下列命令:
     
    isi_for_array sysctl efs.lbm.free_inodes
  3. 出現提示時,請輸入叢集根密碼。

    傳回類似於以下內容的輸出:
    mycluster-1: efs.lbm.free_inodes: 50937255
    mycluster-2: efs.lbm.free_inodes: 51111519
    mycluster-3: efs.lbm.free_inodes: 51082744



驗證可用區塊

要查看單個節點上可用的塊數,請執行以下操作:

  1. 在叢集的任何節點上開啟 SSH 連線,然後使用「root」帳戶登入。
  2. 執行下列命令:
     
    sysctl efs.lbm.free_blocks


若要檢視叢集中所有節點上的可用區塊數目:

  1. 在叢集的任何節點上開啟 SSH 連線,然後使用「root」帳戶登入。
  2. 執行下列命令:
     
    isi_for_array -s sysctl efs.lbm.free_blocks

    傳回類似於以下內容的輸出:
    mycluster-1: efs.lbm.free_blocks: 535657939
    mycluster-2: efs.lbm.free_blocks: 716745198
    mycluster-3: efs.lbm.free_blocks: 222690305

Additional Information

inode 的數量由系統動態分配給文件和目錄。如果需要更多 inode,則 8 KB 區塊會用於 16 個 inode (512 位元組 inode x 16 = 8KB)。

Affected Products

Isilon

Products

PowerScale OneFS
Article Properties
Article Number: 000021365
Article Type: How To
Last Modified: 27 Jun 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.