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 attribute

show pal attribute

Function

The show pal attribute command is used to query file attributes.

Format

show pal attribute file_system_id=? file_id=?

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 on the host.

Views

Developer view

Usage Guidelines

None

Example

Query the attributes of file "4001" in file system "0".

developer:/>show pal attribute file_system_id=0 file_id=4001 

  Show file system(ID: 0) file(ID: 4001) attr info: 
  Valid           = 4294967295. 
  Vnode Id        = 4001. 
  Gen             = 0. 
  Mode            = 33188. 
  Uid             = 0. 
  Gid             = 0. 
  Flags           = 0. 
  Device Number = 0. 
  Block Size      = 65536. 
  Dos Attr        = 0. 
  Delete on Close = 0. 
  Links           = 1. 
  Size            = 0. 
  Blocks          = 1. 
  Atime Sec       = 1424867249. 
  Atime Nsec      = 954355160. 
  Ctime Sec       = 1424912316. 
  Ctime Nsec      = 33160505. 
  Mtime Sec       = 1424912316. 
  Mtime Nsec      = 33160505. 
  Crtime Sec      = 1424867249. 
  Crtime Nsec     = 950355149.

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Valid

Validity flag of a file.

Vnode Id

Vnode ID of a file.

Gen

Transaction ID of a file.

Mode

File mode.

Uid

ID of the user to which a file belongs.

Gid

ID of the group to which a file belongs.

Flags

File attribute flag.

Device Number

Device No.

Block Size

Block size.

Dos Attr

Validity flag of a file system.

Delete on Close

Flag to be deleted after a file is closed.

Links

Number of file links.

Size

File size.

Blocks

Number of blocks occupied by files.

Atime Sec

Access time (second).

Atime Nsec

Access time (nanosecond).

Ctime Sec

Validity flag of a file system.

Ctime Nsec

Validity flag of a file system.

Mtime Sec

Validity flag of a file system.

Mtime Nsec

Validity flag of a file system.

Crtime Sec

File creation time (second).

Crtime Nsec

File creation time (nanosecond).

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 499884

Downloads: 85

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