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 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).
sys showflowtrace

sys showflowtrace

Function

The sys showflowtrace command is used to view the process of an object.

Format

sys showflowtrace [ FlowId ]

Parameters

Parameter

Description

Value

FlowId

Flow ID.

The value is in the FlowId field output after the "sys showflowtrace" command is executed.

Views

Diagnostic view

Usage Guidelines

None

Example

  • View the process of an object.
    admin:/diagnose>sys showflowtrace 
          Date Time        FlowId               FlowName             RunCnt FailCnt Status  
     ------------------- ------ ------------------------------ ------ ------- ------  
     2017-07-06 09:36:12 2        FLOW_OBJ_CLS_PWR_ON              1        0         Success  
     2017-07-06 09:36:31 28       FLOW_POOL_CAP_CHANGED            1      0         Success  
     2017-07-06 09:36:31 32       FLOW_POOL_STATUS_CHANGED         3        0         Success  
     2017-07-06 09:36:31 80       FLOW_DISK_EVENT_RECOVER          8        0         Success  
     2017-07-06 09:36:31 82       FLOW_DISK_EVENT_IN               7        0         Success  
     2017-07-11 21:04:57 83       FLOW_DISK_EVENT_IMPEND_FAIL      264      0         Success  
     2017-07-06 09:36:31 111      FLOW_CACHE_EVENT_HANDLE          1        0         Success  
    admin:/diagnose>
  • View the power-on process of an object.
    admin:/diagnose>sys showflowtrace 2 
    FLOW_OBJ_CLS_PWR_ON :  
     TotalRunCnt TotalFailCnt CurStatus  
     ----------- ------------ ---------  
     1             0              Success 
     id         date time          second         phase                current step              
     ---- ------------------- ------------- -----  -------------------------------------------- 
     0000 2017-07-06 09:36:12 234.330828     0     SYS fill para                            
     0001 2017-07-06 09:36:12 234.330880     0     CACHE consult write capacity             
            2017-07-06 09:36:12 234.330908              Consult write cache cap: consultWriteCacheCap  
            2017-07-06 09:36:12 234.332214              Consult write cache cap: TaskOver         
     0002 2017-07-06 09:36:12 234.332338     1     sys recover vnode                        
            2017-07-06 09:36:12 234.332362              OBJ_ONLINE: StartHaService                
            2017-07-06 09:36:12 234.334486              OBJ_ONLINE: RecoverVnode                  
            2017-07-06 09:36:12 234.334526              OBJ_ONLINE: objOnlineNotifyHaServiceNodeOnline  
            2017-07-06 09:36:12 234.337253              OBJ_ONLINE: SetVnodeInfoIntoParaArea      
     0003 2017-07-06 09:36:12 234.337269     1     lun handle vnode                         
            2017-07-06 09:36:12 234.337327              UpdateLunCacheVnode: getBaseLunArray      
            2017-07-06 09:36:12 234.337951              UpdateLunCacheVnode: updateBaseLunCacheVnode  
            2017-07-06 09:36:12 234.338242              UpdateLunCacheVnode: getRowLunArray       
            2017-07-06 09:36:12 234.338449              UpdateLunCacheVnode: updateRowLunCacheVnode  
            2017-07-06 09:36:12 234.338473              UpdateLunCacheVnode: getBaseLunArray      
            2017-07-06 09:36:12 234.338743              UpdateLunCacheVnode: updateBaseLunCacheVnode  
            2017-07-06 09:36:12 234.338999              UpdateLunCacheVnode: getRowLunArray       
            2017-07-06 09:36:12 234.339207              UpdateLunCacheVnode: updateRowLunCacheVnode  
            2017-07-06 09:36:12 234.339226              UpdateLunCacheVnode: TaskOver             
     0004 2017-07-06 09:36:12 234.339238     1     fs handle vnode                          
            2017-07-06 09:36:12 234.339274              UpdateFsCacheVnode: getFsArray            
            2017-07-06 09:36:12 234.339538              UpdateFsCacheVnode: updateCacheVnode      
            2017-07-06 09:36:12 234.339560              UpdateFsCacheVnode: getFsArray            
            2017-07-06 09:36:12 234.339653              UpdateFsCacheVnode: updateCacheVnode      
            2017-07-06 09:36:12 234.339668              UpdateFsCacheVnode: TaskOver              
     0005 2017-07-06 09:36:12 234.339681     2     SYS recover dirty                        
            2017-07-06 09:36:12 234.339698              OBJ_ONLINE: RecoverDirty                  
            2017-07-06 09:36:12 234.339715              RecoverDirtyData: ApplyVnodeLock          
            2017-07-06 09:36:12 234.339897              RecoverDirtyData: QueryPowerOff           
            2017-07-06 09:36:12 234.339922              RecoverDirtyData: QueryWorkMirrorList     
            2017-07-06 09:36:12 234.339949              RecoverDirtyData: CheckDirtyData          
            2017-07-06 09:36:12 234.340222              RecoverDirtyData: IsVnodeInvalid          
            2017-07-06 09:36:12 234.340231              RecoverDirtyData: ChooseWorkNode          
            2017-07-06 09:36:12 234.340241              RecoverDirtyData: SetCacheDataValid       
            2017-07-06 09:36:12 234.340525              RecoverDirtyData: SetMirrorModeSingle     
            2017-07-06 09:36:13   235.398676              RecoverDirtyData: CleanCacheData          
            2017-07-06 09:36:13 235.418589              RecoverDirtyData: SetCacheWorkMirror      
            2017-07-06 09:36:13 235.418875              RecoverDirtyData: InitForceMirrorLoop     
            2017-07-06 09:36:13 235.418883              RecoverDirtyData: ForceMirror             
            2017-07-06 09:36:14 235.820302              RecoverDirtyData: ForceMirror             
            2017-07-06 09:36:14 236.221186              RecoverDirtyData: NotifyPowerOnOver       
            2017-07-06 09:36:14 236.221485              RecoverDirtyData: SetCacheDataInvalid     
            2017-07-06 09:36:14 236.221830              RecoverDirtyData: ChangeMirrorMode        
            2017-07-06 09:36:15 237.265380              OBJ_ONLINE: SetMemRecoverFlag             
            2017-07-06 09:36:15 237.265661              RecoverDirtyData: SetCacheDataStatusValid  
            2017-07-06 09:36:15 237.265909              RecoverDirtyData: CleanPowerOffState      
            2017-07-06 09:36:20 242.348752              RecoverDirtyData: CleanDirtyData          
            2017-07-06 09:36:21 243.512828              RecoverDirtyData: SaveData                
            2017-07-06 09:36:21 243.512839              RecoverDirtyData: FreeVnodeLock           
            2017-07-06 09:36:21 243.512855              NotifyEvent: TaskOver                     
            2017-07-06 09:36:21 243.512868              OBJ_ONLINE: QueryFruInfo                  
            2017-07-06 09:36:21 243.519762              OBJ_ONLINE: SetWritePolicy                
            2017-07-06 09:36:21 243.519787              OBJ_ONLINE: NtfBdmReportDisk              
            2017-07-06 09:36:21 243.520547              OBJ_ONLINE: RecoverSysConfig              
            2017-07-06 09:36:21 243.520560              NtfObjPowerOn: SyncQosDBInfo              
            2017-07-06 09:36:21 243.533767              NtfObjPowerOn: SetDifConfig               
            2017-07-06 09:36:21 243.534037              NtfObjPowerOn: SetSystemInfo              
            2017-07-06 09:36:21 243.556723              NtfObjPowerOn: ntfOverloadOn              
            2017-07-06 09:36:21 243.557161              NtfObjPowerOn: NtfEamNodeChange           
      2017-07-06 09:36:21 243.557416              NtfObjPowerOn: TaskOver                   
            2017-07-06 09:36:21 243.557433              OBJ_ONLINE: RecoverLogicPort              
            2017-07-06 09:36:23 244.655069              ObjClsOnline: RecoverFtds                 
     0006 2017-07-06 09:36:23 244.664074     2     LUN write through                        
            2017-07-06 09:36:23 244.664093              changeSpcWriteStg: CheckCanDO             
            2017-07-06 09:36:23 244.664106              changeSpcWriteStg: TaskOver               
     0007 2017-07-06 09:36:23 244.664117     2     CACHE write through                      
     0008 2017-07-06 09:36:23 244.664126     3     VSTORE recover                           
            2017-07-06 09:36:23 244.664142              ObjClsOnline: StartVstoreWork             
            2017-07-06 09:36:23 244.664199              ObjClsOnline: rebuildVstoreLog            
            2017-07-06 09:36:23 244.664212              ObjClsOnline:NtfVstoreStartWorkTaskOver 
     0009 2017-07-06 09:36:23 244.664232     3     DIF startwork                            
     0010 2017-07-06 09:36:23 244.664290     3     CACHE startwork                          
            2017-07-06 09:36:23 244.664324            ObjClsOnline: RecoverCacheGlobalInfo      
            2017-07-06 09:36:23 244.664695              ObjClsOnline: RecoverCachePartition       
            2017-07-06 09:36:23 244.664852              ObjClsOnline: RecoverSmartCachePartition  
            2017-07-06 09:36:23 244.665726              objCacheProc: TaskOver                    
     0011 2017-07-06 09:36:23 244.665742     3     LOGZONE startwork                        
            2017-07-06 09:36:23 244.665775              ObjClsOnline: NtfLogzoneStartWork         
            2017-07-06 09:36:23 244.666231              ObjClsOnline: getlock                     
            2017-07-06 09:36:24 246.411586              ObjClsOnline: freelock                    
     0012 2017-07-06 09:36:24 246.411618     3     RSS startwork                            
            2017-07-06 09:36:24 246.411632              NtfObjPowerOn: NtfRssStartWork            
            2017-07-06 09:36:24 246.532055              NtfObjPowerOn: NtfRssStartWorkTaskOver 
     0013 2017-07-06 09:36:24 246.532073     3     POOL startwork                           
            2017-07-06 09:36:24 246.532196              NtfObjPowerOn: notify diskpool poweron 
            2017-07-06 09:36:24 246.532913              NtfObjPowerOn: notify userpool poweron 
            2017-07-06 09:36:25 246.654630              NtfObjPowerOn: PoolCreateObj              
            2017-07-06 09:36:25 246.654665              RecoverDiskPoolObj: SetCreateConcur       
            2017-07-06 09:36:25 246.654671              RecoverDiskPoolObj: CreateObjWithVnode 
            2017-07-06 09:36:25 246.656901              RecoverDiskPoolObj: SetPossess            
            2017-07-06 09:36:25 246.657231              RecoverDiskPoolObj: CreateGlobalObj       
      2017-07-06 09:36:25 246.657486              SetDiskPoolWorkNode: SetWorkNodeWithVnode  
            2017-07-06 09:36:25 246.658608              RecoverDiskPoolObj: SyncRepairStatus      
            2017-07-06 09:36:25 246.659389              RecoverDiskPoolObj: TaskOver              
            2017-07-06 09:36:25 246.659402              RecoverPool: CreateUserPoolObj            
            2017-07-06 09:36:25 246.659414              RecoverUserPoolObj: SetCreateConcur       
            2017-07-06 09:36:25 246.659421              RecoverUserPoolObj: CreateObj             
            2017-07-06 09:36:25 246.661298              RecoverUserPoolObj: TaskOver              
            2017-07-06 09:36:25 246.661311              NtfObjPowerOn: ntfPoolBitmapChangeToRecoverNodes  
            2017-07-06 09:36:25 246.661697              NtfObjPowerOn: ntfPoolBitmapChangeToNormalNodes  
            2017-07-06 09:36:25 246.661727              NtfObjPowerOn: NtfDiskPoolHang            
            2017-07-06 09:36:25 246.672477              RecoverPool: SetPoolWorkNodeWithVnode     
            2017-07-06 09:36:25 246.672495              SetDiskPoolWorkNode: SetConcur            
            2017-07-06 09:36:25 246.672503              SetDiskPoolWorkNode: SetWorkNodeWithVnode  
            2017-07-06 09:36:25 246.673308              SetDiskPoolWorkNode: TaskOver             
            2017-07-06 09:36:25 246.673326              NtfObjPowerOn: NtfDiskPoolLoadMeta        
            2017-07-06 09:36:25 247.079457              NtfObjPowerOn: NtfDiskPoolStartPoolBgrService  
            2017-07-06 09:36:25 247.082247              NtfObjPowerOn: NtfDiskPoolUnHang          
            2017-07-06 09:36:25 247.082594              RecoverPool: RecoverPoolWriteHole         
            2017-07-06 09:36:25   247.083024              RecoverPool: StartDiskPoolBgrTask         
            2017-07-06 09:36:25 247.094000              RecoverPool: StartUserPoolBgrTask         
            2017-07-06 09:36:25 247.094345              NtfObjPowerOn: NtfDiskPoolRecoverComplete  
            2017-07-06 09:36:25 247.094370              NtfObjPowerOn: SendCapacityRecoverAlarm 
            2017-07-06 09:36:25 247.094394              RecoverPool: NtfPoolUpdateCap             
            2017-07-06 09:36:25 247.094406              NtfObjPowerOn: ntfDiskPoolChange          
            2017-07-06 09:36:25 247.094421              NtfObjPowerOn: NtfZoneRecover             
            2017-07-06 09:36:25 247.094430              NtfObjPowerOn: TaskOver                   
     0014 2017-07-06 09:36:25 247.094460     3     LUN startwork                            
            2017-07-06 09:36:25 247.094898              LunRecover:HandleLunWorkInfo              
            2017-07-06 09:36:25 247.095410              LunStartWork: recoverLunSetGlbCfg         
            2017-07-06 09:36:25 247.095689              RecoverLun: CreateLunObj                  
            2017-07-06 09:36:25 247.095712              RecoverLunObj: GetIoClassArray            
            2017-07-06 09:36:25 247.097388           RecoverLunObj: SetCreateConcur            
            2017-07-06 09:36:25 247.097396              RecoverLunObj: CreateObj                  
            2017-07-06 09:36:25 247.101524              RecoverLunObj: SetCreateConcur            
            2017-07-06 09:36:25 247.101532              RecoverLunObj: SetPossess                 
            2017-07-06 09:36:25 247.102806              RecoverLunObj: TaskOver                   
            2017-07-06 09:36:25 247.102823              RecoverLunObj: GetHangLunArray            
            2017-07-06 09:36:25 247.103017              RecoverLunObj: SetCreateConcur            
            2017-07-06 09:36:25 247.103024              RecoverLunObj: SetLunWorkCtrlAndVnode     
            2017-07-06 09:36:25 247.111652              RecoverLunObj: SetCkgWorkCtrlAndVnode     
            2017-07-06 09:36:25 247.113280              RecoverLunObj: SetLunVnode                
            2017-07-06 09:36:25 247.115244              LunStartWork: ApplySysLock                
            2017-07-06 09:36:25 247.115552              RecoverLunObj: HangLun                    
            2017-07-06 09:36:25 247.117170              RecoverLun: RecoverCacheWriteHole         
            2017-07-06 09:36:25 247.118160              RecoverLun: RecoverLunLog                 
            2017-07-06 09:36:25 247.120234              RecoverLun: StartStripeCacheDestage       
            2017-07-06 09:36:25 247.120657              RecoverLun: StartL2MetaCacheDestage       
            2017-07-06 09:36:25 247.121065              RecoverLun: RecoverRootExtent             
            2017-07-06 09:36:25 247.153351              RecoverLun: SyncLunInfoByFlowId           
            2017-07-06 09:36:25 247.154436              RecoverLun: LoadLunMeta                   
            2017-07-06 09:36:25 247.356336              RecoverLun: MirrorLunMeta                 
            2017-07-06 09:36:25 247.358085              RecoverLun: StartLunBgrService            
            2017-07-06 09:36:25 247.359161              RecoverLun: SetLunStatus                  
            2017-07-06 09:36:25 247.359430              LunStartWork: UpdateRelateLunStatus       
            2017-07-06 09:36:25 247.359463              RecoverLun: MergePairAllLog               
            2017-07-06 09:36:25 247.382303              RecoverLun: StartRssService               
            2017-07-06 09:36:25 247.451968              RecoverLun: StartLunVolCacheDestage       
            2017-07-06 09:36:25 247.453063              RecoverLunObj: UnhangLun                  
            2017-07-06 09:36:25 247.453917              RecoverLun: StartLunBgrTask               
            2017-07-06 09:36:25 247.457008              RecoverLun: StartRssBgrTask               
            2017-07-06 09:36:25 247.457511              LunStartWork: FreeSysLock                 
            2017-07-06 09:36:25 247.457532              recoverLun: TaskOver                      
     0015 2017-07-06 09:36:25 247.457552     3     FS startwork                             
            2017-07-06 09:36:25 247.457765              RecoverFs: SetFsGlbCfg                    
            2017-07-06 09:36:25 247.458038              RecoverFs: CreateFsObj                    
            2017-07-06 09:36:25 247.458051              RecoverFsObj: GetHangFsArray              
            2017-07-06 09:36:25 247.458066              RecoverFsObj: SetCreateConcur             
            2017-07-06 09:36:25 247.458072              RecoverFsObj: SetFsWorkCtrl               
            2017-07-06 09:36:25 247.458080              RecoverFsObj: SetCkgWorkCtrlAndVnode      
            2017-07-06 09:36:25 247.458086              RecoverFsObj: SetFsVnode                  
            2017-07-06 09:36:25 247.458091              RecoverFs: RecoverPoolWriteHole           
            2017-07-06 09:36:25 247.458478              RecoverFsObj: HangFs                      
            2017-07-06 09:36:25 247.458495              RecoverFs: RecoverCacheWriteHole          
            2017-07-06 09:36:25 247.458503              RecoverFs: RecoverFsLog                   
            2017-07-06 09:36:25 247.461205              RecoverFs: StartStripeCacheDestage        
            2017-07-06 09:36:25 247.461214              RecoverFs: StartL2MetaCacheDestage        
            2017-07-06 09:36:25 247.461222              RecoverFs: RecoverRootExtent              
            2017-07-06 09:36:25 247.461229              RecoverFs: SyncFsInfoByFlowId             
            2017-07-06 09:36:25 247.461235              RecoverFs: LoadFsMeta                     
            2017-07-06 09:36:25 247.461242              RecoverFs: PreStartRssService             
            2017-07-06 09:36:25 247.461249              RecoverFs: StartFsBgrService              
            2017-07-06 09:36:25 247.461254              RecoverFsObj: SetCreateConcur             
            2017-07-06 09:36:25 247.461260              RecoverFs: SetFsStatus                    
            2017-07-06 09:36:25 247.461266              RecoverFs: StartRssServiceByFlowId        
            2017-07-06 09:36:25 247.461276              RecoverFsObj: UnhangFs                    
            2017-07-06 09:36:25 247.461292              RecoverFs: StartFsBgrTask                 
            2017-07-06 09:36:25 247.461298              ObjRecover:StartFsAv                      
            2017-07-06 09:36:25 247.462046              RecoverFs: StartRssBgrTask                
            2017-07-06 09:36:25 247.462052              recoverFs: taskOver                       
     0016 2017-07-06 09:36:25 247.462070     3     QOS_startwork                            
     0017 2017-07-06 09:36:25 247.467394     3     PROTOCOL startwork                       
            2017-07-06 09:36:25 247.467410              ObjClsOnline: RecoverTgtKeepMir           
            2017-07-06 09:36:25 247.467420              RecoverTgt: ApplySyncPage                 
            2017-07-06 09:36:25 247.469879              RecoverTgt: GetTgtDbCfg                   
            2017-07-06 09:36:25 247.564484              RecoverTgt: SetLocalCfg                   
            2017-07-06 09:36:26 247.648929              RecoverTgt: SyncDbCfg                     
            2017-07-06 09:36:26 247.748412              RecoverTgt: TaskOver                      
            2017-07-06 09:36:26 247.750459              ObjClsOnline: NotfyScsiKeepMir            
            2017-07-06 09:36:26 247.751703              ObjClsOnline: ProtocolStartProcTaskOver 
     0018 2017-07-06 09:36:26 247.751721     4     CACHE deleteInvalidData                  
            2017-07-06 09:36:26   247.751736              ObjClsOnline: DeleteCacheData             
            2017-07-06 09:36:26 247.752559              objCacheProc: TaskOver                    
     0019 2017-07-06 09:36:26 247.752573     4     RSS resume BGR                           
            2017-07-06 09:36:26 247.752586              NtfObjPowerOn: ResumeBgr                  
            2017-07-06 09:36:26 247.752992              NtfObjPowerOn: NtfBgrResumTaskOver        
     0020 2017-07-06 09:36:26 247.753007     4     Hang EdevLun                             
     0021 2017-07-06 09:36:26 247.753432     4     Start front                              
            2017-07-06 09:36:26 247.753445              ObjClsOnline: StartTgtServiceKeepMir      
            2017-07-06 09:36:28 249.879473              ObjClsOnline: ProtocolStartProcTaskOver 
     0022 2017-07-06 09:36:28 249.879492     5     Check EdevLun in, unhang                 
     0023 2017-07-06 09:36:28 249.879917     5     Start Nas                                
     0024   2017-07-06 09:36:31 253.156181     5     Open port                                
     0025 2017-07-06 09:36:31 253.156494     5     Ntf pwron complete                       
            2017-07-06 09:36:31 253.156516              ObjClsOnline: SetHealSwitchOn             
            2017-07-06 09:36:31 253.175070              ObjClsOnline: SetDiskScanStatus           
            2017-07-06 09:36:31 253.175153              ObjClsOnline: NotifyEvent                 
            2017-07-06 09:36:31 253.175167              NotifyEvent: NtfServiceNodeChange         
            2017-07-06 09:36:31 253.175173              NotifyEvent: NotifyDDUpdate               
            2017-07-06 09:36:31 253.175189              NotifyEvent: NotifyCfgRedo                
            2017-07-06 09:36:31 253.175198              NotifyEvent: NotifyChangeSysInfo          
            2017-07-06 09:36:31 253.175208              NotifyEvent: TaskOver                     
            2017-07-06 09:36:31 253.175220              ObjClsOnline: DefaultTaskOverHandele      
    admin:/diagnose>

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Date Time

Flow start time.

FlowId

Flow ID.

FlowName

Flow name.

RunCnt

Flow execution count.

FailCnt

Flow failure count.

Status

Flow status.

second

Start time of flow execution (displayed in ms).

phase

Flow execution phase.

current step

Current step.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 487313

Downloads: 85

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