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 2000, 5000, and 6000 V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3 Video Surveillance Edition, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 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).
proto nas_vfs show_file_by_path

proto nas_vfs show_file_by_path

Function

The proto nas_vfs show_file_by_path command is used to query information about the file ID, file system ID, and file lock primary node ID.

Format

proto nas_vfs show_file_by_path path

Parameters

Parameter

Description

Value

path

Full path of a file.

The value ranges from 1 to 4096 bytes. Chinese paths are supported.

Views

Diagnostic view

Usage Guidelines

OceanStor 6800 V3/2200 V3/2600 V3/5300 V3/2600 V3 for Video/5500 V3/5600 V3/5800 V3 storage systems support this command.

Example

Query information about the file ID, file system ID, and file lock primary node ID.

admin:/diagnose>proto nas_vfs show_file_by_path "/fs/test" 
Filesystem ID                  : 0x0 
File ID                        : 0xfa1 
Master Node                    : 0

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Filesystem ID

File system ID.

File ID

File ID.

Master Node

Primary node ID of a file lock.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138402

Views: 609150

Downloads: 695

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