No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
show pal file_handle

show pal file_handle

Function

The show pal file_handle command is used to query the file handle about file systems.

Format

show pal file_handle [ file_system_id=? ] [ hash_key=? ]

Parameters

Parameter

Description

Value

file_system_id=?

File system ID.

To obtain the value, run the "show file_system general" command without parameters.

hash_key=?

Start hash value of file handles to be queried.

The value ranges from 0 to 65,535.

Views

Developer view

Usage Guidelines

None

Example

  • Query file handle information about file system "0".
    developer:/>show pal file_handle file_system_id=0 
    FileHandle Total Information : 
    FileHandle PartitionId : 788 
    Total UsedNum : 3 
    Total UnUsedNum : 599997 
    USED FILEHANDLE INFO FORMAT : [fh,fsid,fid,flag] 
    [2,0,4001,2] [3,0,3,2] [4,0,3,2] 
    showed 3 FileHandleInfo.
  • Query file handle information from hash value "0".
    developer:/>show pal file_handle hash_key=0 
    FileHandle Total Information : 
    FileHandle PartitionId : 788 
    Total UsedNum : 3 
    Total UnUsedNum : 599997 
    USED FILEHANDLE INFO FORMAT : [fh,fsid,fid,flag] 
    [2,0,4001,2] [3,0,3,2] [4,0,3,2] 
    showed 3 FileHandleInfo
  • Query file handle information about file system "0" from hash value "0".
    developer:/>show pal file_handle file_system_id=0 hash_key=0 
    FileHandle Total Information : 
    FileHandle PartitionId : 788 
    Total UsedNum : 3 
    Total UnUsedNum : 599997 
    USED FILEHANDLE INFO FORMAT : [fh,fsid,fid,flag] 
    [2,0,4001,2] [3,0,3,2] [4,0,3,2] 
    showed 3 FileHandleInfo

System Response

The following table describes the parameter meanings.

Parameter

Meaning

FileHandle PartitionId

Partition ID.

Total UsedNum

Number of used file handles.

Total UnUsedNum

Number of file handles that are not used.

fh

File handle address.

fsid

File system ID.

fid

File ID.

flag

Flag of file opening.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 487049

Downloads: 85

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next