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

OceanStor 9000 V5 7.0 Command Reference 03

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 directory all

show directory all

Function

The show directory all command is used to query information about directories in batches.

Format

show directory all < parent_dir > [ dir_name=? ] [ file_type=? ] [ reverse_flag=? ]

Parameters

Parameter

Description

Value

parent_dir Parent path.

The value contains 1 to 4000 characters.

The path format is /parent path name.

dir_name Directory name.

The value contains 1 to 255 characters and first word cannot contain /, ., or ….

file_type File type.

File

Directory.

reverse_flag Reverse flag.

false: Files or directories lined behind the value of dir_name are displayed in the query result.

true: Files or directories lined in front of the value of dir_name are displayed in the query result.

The default value is false.

For example, directories d1, d2, d3, d4, and d5 are under parent path / and the value of dir_name is d3. When reverse_flag is set to false, directories d4 and d5 are displayed in the query result. When reverse_flag is set to true, directories d1,d2 and d3 are displayed in the query result.

Level

Read-only user

Usage Guidelines

  • Run the show directory all <parent_dir> command to query information about all directories under a parent path.
  • Run the show directory all <parent_dir> [ dir_name=? ] [ file_type=? ] [ reverse_flag=? ] command. When parameter dir_name is set to the first file name, the file name is displayed in the command output. Otherwise, the file name is not displayed in the command output. For example, directories d1, d2, d3, d4, and d5 are under parent path / and the value of dir_name is d1. When reverse_flag is set to false, directories d1, d2, d3, d4, and d5 are displayed in the query result. When reverse_flag is set to false, directories d4 and d5 are displayed in the query result.

Example

Query information about directories in batches.

admin:/>show directory all /
 
  Name                : ctnr                      
  FileID              : 0                         
  ParentDirectory     : /                         
  FileType            : directory                 
  UnixMod             : 700                       
  RedundantRate       : +2:2                      
  ShareType           : --                        
  CreateTime          : 2016-09-08/11:29:15 +08:00 
  ModifyTime          : 2016-09-08/13:27:38 +08:00 
  LastAccessTime      : 2016-09-08/11:29:15 +08:00 
  PhysicalCapacity    : 4.000KB                   
  LogicCapacity       : 4.000KB                   
  ODC                 : 0                         
  RDC                 : 2                         
  RDN                 : 2                         
  hasSubDir           : false                     
  StripePolicy        : 512K                      
  ParallelStripeWidth : 8                         
  ctnrPolicy          : Global_Policy

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Name

File or directory name.

FileID

File ID.

ParentDirectory

Parent directory.

FileType

File type.

UnixMod

UNIX permission.

RedundantRate

Redundancy ratio.

ShareType

Share type.

CreateTime

Created on.

ModifyTime

Modified on.

LastAccessTime

Latest accessed on.

PhysicalCapacity

Physical capacity.

LogicCapacity

Logical capacity.

ODC

Original data count (ODC) ratio.

RDC

Redundant data count (RDC) ratio.

RDN

Redundant data node (RDN) ratio.

hasSubDir

Whether subdirectories exist.

StripePolicy

Strip policy.

ParallelStripeWidth

Data parallel factor.

ctnrPolicy

Container Policy(Global_Policy/Dir_Policy/No_Policy).

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 25139

Downloads: 7

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