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 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. 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.
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-11

Document ID: EDOC1000181619

Views: 635699

Downloads: 256

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