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

Command Reference

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI provided by DeviceManager, 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 lun general

show lun general

Function

The show lun general command is used to query information on existing logical unit numbers (LUNs) of the storage system.

Format

show lun general [ lun_id=? | lun_name=? | mapping_view_id=? | mapping_view_name=? | pool_id=? | usage_type=? ]

Parameters

Parameter

Description

Value

lun_id=?

ID of the LUN whose information you want to query.

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

lun_name=?

Name of the LUN whose information you want to query.

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

pool_id=?

ID of a storage pool. Using this parameter queries information on LUNs in a specific storage pool.

To obtain the value, run "show storage_pool general".

mapping_view_id=?

ID of a mapping view. Using this parameter queries information on LUNs in a specific mapping view.

To obtain the value, run "show mapping_view general".

mapping_view_name=?

Name of a mapping view. Using this parameter queries information on LUNs in a specific mapping view.

To obtain the value, run "show mapping_view general".

usage_type=?

Usage type of the LUNs. Using this parameter queries information on LUNs with a specific usage type.

The value can be "Internal" or "External", where,

  • Internal: The usage type of the LUNs is "Internal".
  • External: The usage type of the LUNs is "External".
  • VVOL LUN: The usage type of the LUNs is "VVOL LUN".
  • PE LUN: The usage type of the LUNs is "PE LUN".

Level

Guest

Usage Guidelines

  • To query information on existing LUNs of the storage system, run "show lun general".
  • To query information on a specific LUN, run "show lun general lun_id=?".
  • To query information on a specific LUN, run "show lun general lun_name=?".
  • To query information on LUNs in a specific storage pool, run "show lun general pool_id=?".
  • To query information on LUNs in a specific mapping view, run "show lun general mapping_view_id=?".
  • To query information on LUNs in a specific mapping view, run "show lun general mapping_view_name=?".
  • To query information on LUNs in a specific usage type, run "show lun general usage_type=?".

Example

  • Query information on existing LUNs of the storage system.
    admin:/>show lun general 
    ID Name              Pool ID Capacity Health Status Running Status Type  WWN                              Is Add To Lun Group Smart Cache Partition ID DIF Switch Vstore ID  
    -- ----------------- ------- ---------- ------------- -------------- ----- -------------------------------- ------------------- ------------------------ ---------- --------- 
    0  lun00000          0       10.000GB Normal        Online         Thick 6333431100373061000271e500000000 No                  --                       No         -- 
    1  lun00001          0       10.000GB Normal        Online         Thick 63334311003730610002721600000001 No                  --                       No         -- 
    2  lun10000          0       10.000GB Normal        Online         Thin  6333431100373061000289d800000002 No                  --                       No         -- 
    3  lun10001          0       10.000GB Normal        Online         Thin  6333431100373061000289ff00000003 No                  --                       No         -- 
    4  liwd_thin_12_0000 0       12.000GB Normal        Online         Thin  6333431100373061008be53000000004 Yes                 --                       No         -- 
    5  liwd_thin_12_0001 0       12.000GB Normal        Online         Thin  6333431100373061008be55d00000005 Yes                 --                       No         -- 
    6  3G_Thin_          0       3.000GB Normal        Online         Thin  633343110037306101d80b5000000006 Yes                 --                       No         -- 
    7  txm               0       1.000GB Normal        Online         Thick 633343110037306103dda69c00000007 No                  --                       No         -- 
    10 s                 0       512.000KB  Normal        Online         Thick 633343110037306106efdb290000000a No                  --                       No         -- 
    11 sss               0       513.000KB  Normal        Online         Thin  633343110037306106f022600000000b No                  --                       No         -- 
    12 512K              0       512.000KB  Normal        Online         Thick 6333431100373061080102490000000c No                  --                       No         --
  • Query information on LUN "1".
    admin:/>show lun general lun_id=1 
    ID : 1  
    Name : lun00000  
    Pool ID : 0  
    Capacity : 10.000GB  
    Subscribed Capacity : 10.125GB  
    Protection Capacity : 0.000B  
    Sector Size : 512.000B  
    Health Status : Normal  
    Running Status : Online  
    Type : Thick  
    IO Priority : Low  
    WWN : 6333431100373061000271e500000000  
    Exposed To Initiator : No  
    Data Distributing : 0,100,0  
    Write Policy : Write Back  
    Running Write Policy : Write Back  
    Prefetch Policy : Intelligent  
    Read Cache Policy : Default  
    Write Cache Policy : Default  
    Cache Partition ID : --  
    Prefetch Value : --  
    Owner Controller : 0A  
    Work Controller : 0A  
    Snapshot ID(s) : 8,9  
    LUN Copy ID(s) : --  
    Remote Replication ID(s) : --  
    Split Clone ID(s) : --  
    Relocation Policy : None  
    Initial Distribute Policy : Automatic  
    SmartQoS Policy ID : --  
    Protection Duration(days) : 0  
    Has Protected For(h) : 0  
    Estimated Data To Move To Tier0 : 0.000B  
    Estimated Data To Move To Tier1 : 0.000B  
    Estimated Data To Move To Tier2 : 0.000B  
    Is Add To Lun Group : No  
    Smart Cache Partition ID : --  
    DIF Switch : No  
    Remote LUN WWN : --  
    Disk Location : Internal  
    LUN Migration : --  
    Progress(%) : --  
    Smart Cache Cached Size : 0.000B  
    Smart Cache Hit Rage(%) : 0  
    Mirror Type : --  
    Thresholds Percent(%) : --  
    Thresholds Switch : -- 
    Usage Type : VVOL LUN 
    HyperMetro ID(s) : -- 
    Vstore ID : -- 
    Cow Grain Size : 64.000KB 
    Description : 
    Isolation Switch : Off 
    Capacity Alarm Threshold(%) : --
  • Query information on LUN "LUN001_001".
    admin:/>show lun general lun_name=LUN001_001 
    ID : 0  
    Name : LUN001_001 
    Pool ID : 0  
    Capacity : 10.000GB  
    Subscribed Capacity : 10.125GB  
    Protection Capacity : 0.000B  
    Sector Size : 512.000B  
    Health Status : Normal  
    Running Status : Online  
    Type : Thick  
    IO Priority : Low  
    WWN : 6333431100373061000271e500000000  
    Exposed To Initiator : No  
    Data Distributing : 0,100,0  
    Write Policy : Write Back  
    Running Write Policy : Write Back  
    Prefetch Policy : Intelligent  
    Read Cache Policy : Default  
    Write Cache Policy : Default  
    Cache Partition ID : --  
    Prefetch Value : --  
    Owner Controller : 0A  
    Work Controller : 0A  
    Snapshot ID(s) : --  
    LUN Copy ID(s) : --  
    Remote Replication ID(s) : --  
    Split Clone ID(s) : --  
    Relocation Policy : None  
    Initial Distribute Policy : Automatic  
    SmartQoS Policy ID : --  
    Protection Duration(days) : 0  
    Has Protected For(h) : 0  
    Estimated Data To Move To Tier0 : 0.000B  
    Estimated Data To Move To Tier1 : 0.000B  
    Estimated Data To Move To Tier2 : 0.000B  
    Is Add To Lun Group : No  
    Smart Cache Partition ID : --  
    DIF Switch : No  
    Remote LUN WWN : --  
    Disk Location : Internal  
    LUN Migration : --  
    Progress(%) : --  
    Smart Cache Cached Size : 0.000B  
    Smart Cache Hit Rage(%) : 0  
    Mirror Type : --  
    Thresholds Percent(%) : --  
    Thresholds Switch : --  
    Usage Type : VVOL LUN 
    HyperMetro ID(s) : -- 
    Vstore ID : -- 
    Cow Grain Size : 64.000KB 
    Description : 
    Isolation Switch : Off 
    Capacity Alarm Threshold(%) : --

System Response

The following table describes the parameter meanings.

Parameter

Meaning

ID

Indicates the LUN ID.

Name

Indicates the LUN name.

Pool ID

Indicates the storage pool ID.

Capacity

Indicates the total capacity.

Subscribed Capacity

Indicates the actual used capacity quota.

Protection Capacity

Indicates the data protection capacity quota.

Sector Size

Indicates the sector size.

Health Status

Indicates the health status.

Running Status

Indicates the running status.

Type

Indicates the LUN type.

IO Priority

Indicates the I/O priority.

WWN

Indicates the World Wide Name.

Exposed To Initiator

Indicates whether to be mapped to an initiator.

Data Distributing

Indicates the percentage of data in different storage tiers.

Write Policy

Indicates the cache write policy.

Running Write Policy

Indicates the current cache write policy.

Prefetch Policy

Indicates the cache prefetch policy.

Read Cache Policy

Indicates the cache read policy of a LUN.

Write Cache Policy

Indicates the cache write policy of a LUN.

Cache Partition ID

Indicates the ID of the cache partition.

Prefetch Value

Indicates the cache prefetch value.

Owner Controller

Indicates the owning controller of a LUN.

Work Controller

Indicates the working controller of a LUN.

Snapshot ID(s)

Indicates the snapshot IDs.

LUN Copy ID(s)

Indicates the IDs of LUN copy tasks.

Remote Replication ID(s)

Indicates the IDs of remote replication tasks.

Split Clone ID(s)

Indicates the IDs of LUN clone tasks.

Relocation Policy

Indicates the SmartTier policy.

Initial Distribute Policy

Indicates the initial capacity allocation policy.

SmartQoS Policy ID

Indicates the ID of a SmartQoS policy.

Protection Duration(days)

Indicates the protection duration.

Has Protected For(h)

Indicates the period when data has been protected.

Is Add To Lun Group

Indicates whether to be added to a LUN group.

Smart Cache Partition ID

SmartCache partition ID.

Estimated Data To Move To Tier0/Tier1/Tier2

Indicates the amount of data that can be migrated to storage tier 0, 1, or 2.

DIF Switch

Indicates whether to enable the DIF function.

Remote LUN WWN

WWN of an external LUN.

Disk Location

Whether the LUN is an internal one or an external one.

LUN Migration

Whether the LUN serves as the source LUN or the target LUN in LUN migration.

Progress(%)

Indicates the progress of data destruction.

Smart Cache Cached Size

SmartCache cached size.

Smart Cache Hit Rage(%)

SmartCache hit rate.

Mirror Type

Indicates the mirror type.

Thresholds Percent(%)

Threshold for triggering an alarm in a thin LUN. (If the LUN is not a thin LUN, "--" is displayed.).

Thresholds Switch

Switch of the alarm function when the threshold of a thin LUN is reached. (If the LUN is not a thin LUN, "--" is displayed.).

Usage Type

Usage type of the LUNs.

HyperMetro ID(s)

Indicates the IDs of HyperMetro tasks.

Vstore ID

Indicates the ID of a vStore.

Cow Grain Size

Grain size of copy-on-write.

Description

Description of the LUN.

Isolation Switch

Isolation switch of the LUN.

Capacity Alarm Threshold(%)

Capacity alarm threshold of the LUN.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138390

Views: 235018

Downloads: 150

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