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 functions and 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 dentry

show pal dentry

Function

The show pal dentry command is used to query dentry information by file ID or dentry offset.

Format

show pal dentry file_system_id=? [ file_id=? ] [ dentry_offset=? ]

Parameters

Parameter

Description

Value

file_system_id=?

File system ID.

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

file_id=?

File ID.

To obtain the value, run the "ls -i <file name>" command.

dentry_offset=?

Dentry offset.

Offset of dentry quantity.

Views

Developer view

Usage Guidelines

None

Example

Query dentry information about file "4001" in file system "0".

developer:/>show pal dentry file_system_id=0 file_id=4001 
Show dentry(file system ID=0,file ID=4001,dentry size=152) info: 
  Name Hash        = 231121436. 
  Name Bucket      = 434719. 
  File ID Bucket = 4001. 
  Reference Count  = 0. 
  File System ID = 0. 
  Directory  ID = 3. 
  File ID          = 4001. 
  File Name Length = 5. 
  File Name        = file.

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Name Hash

Hash of a file name.

Name Bucket

Hash bucket of a file name.

File ID Bucket

Hash bucket of a file ID.

Reference Count

Count of dentry references.

File System ID

File system ID.

Directory ID

ID of the parent directory.

File ID

File ID.

File Name Length

File name length.

File Name

File name.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 502532

Downloads: 85

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