★ VDI/UIS/ONESTOR one-click checking shows the logical disk cache failure

2023-09-19 03:16:42 Published
  • 0 Followed
  • 0Collected ,2887Browsed

Network Topology

irrelevant


Problem Description

VDI/UIS/ONESTOR one-click checking shows the logical disk cache failure



Process Analysis

1. /opt/MegaRAID/storcli/storcli64 /call/vall show   ​to check the current virtual disk status, in this case the cache of vd6 is abnormal; 


2. /opt/MegaRAID/storcli/storcli64 /c0/v6 show all     to check the current detail info of vd6

RWBD---R means Read Ahead Always; WB means WriteBack;  D means Direct IO

 [root@cvknode2 ~]# /opt/MegaRAID/storcli/storcli64 /c0/v6 show all

CLI Version = 007.1506.0000.0000 Aug 11, 2020 

Operating system = Linux 5.10.38-21.hl02.el7.x86_64 

COntroller= 0 

Status = Success 

Description = None 


/c0/v6 : 

======

------------------------------------------------------------- 

DG/VD TYPE State Access Consist Cache Cac sCC Size Name

 ------------------------------------------------------------- 

6/6 RAID0 Optl RWBD     Yes - OFF 5.457 TB

 ------------------------------------------------------------- 

VD=Virtual Drive| DG=Drive Group|Rec=Recovery 

Cac=CacheCade|OfLn=OffLine|Pdgd=Partially 

Degraded|Dgrd=Degraded 

Optl=Optimal|dflt=Default|RO=Read Only|RW=Read Write|HD=Hidden|TRANS=TransportReady|B=Blocked| 

COnsist=Consistent|R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack|

|AWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled 

Check Consistency 

 VD6 Properties :

 ============== 

Strip Size = 256 KB 

Number of Blocks = 11719933952 

VD has Emulated PD = Yes 

Span Depth = 1 

Number of Drives Per Span = 1 

Encryption = None 

Data Protection = None 

Active OperatiOns= None 

Exposed to OS = Yes 

OS Drive Name = /dev/sdo 

Creation Date = 23-03-2023 

Creation Time = 07:06:45 AM 

Emulation type = default 

Cachebypass size = Cachebypass-64k 

Cachebypass Mode = Cachebypass 

 IntelligentIs LD Ready for OS Requests = Yes 

SCSI NAA Id = 600062b20a4bea402baeb7056ba74fd2 

Unmap Enabled = No


Solution

1. Modify the virtual disk read cache from RA to NoRA

  /opt/MegaRAID/storcli/storcli64 /c0/v6 set rdcache=NoRA


2. Then check the vd status:

  [root@cvknode2 ~]# /opt/MegaRAID/storcli/storcli64 /c0/v6 show all
CLI Version = 007.1506.0000.0000 Aug 11, 2020
Operating system = Linux 5.10.38-21.hl02.el7.x86_64
Controller = 0
Status = Success
Description = None


/c0/v6 :
======

-------------------------------------------------------------
DG/VD TYPE  State Access Consist Cache Cac sCC     Size Name
-------------------------------------------------------------
6/6   RAID0 Optl  RW     Yes     NRWBD -   OFF 5.457 TB
-------------------------------------------------------------

VD=Virtual Drive| DG=Drive Group|Rec=Recovery
Cac=CacheCade|OfLn=OffLine|Pdgd=Partially Degraded|Dgrd=Degraded
Optl=Optimal|dflt=Default|RO=Read Only|RW=Read Write|HD=Hidden|TRANS=TransportReady|B=Blocked|
COnsist=Consistent|R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack|
AWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled
Check Consistency


PDs for VD 6 :
============

----------------------------------------------------------------------------
EID:Slt DID State DG     Size Intf Med SED PI SeSz Model            Sp Type
----------------------------------------------------------------------------
134:7     8 Onln   6 5.457 TB SAS  HDD N   N  512B ST6000NM0095     U  -
----------------------------------------------------------------------------

EID=Enclosure Device ID|Slt=Slot No.|DID=Device ID|DG=DriveGroup
DHS=Dedicated Hot Spare|UGood=Unconfigured Good|GHS=Global Hotspare
UBad=Unconfigured Bad|Sntze=Sanitize|Onln=Online|Offln=Offline|Intf=Interface
Med=Media Type|SED=Self Encryptive Drive|PI=Protection Info
SeSz=Sector Size|Sp=Spun|U=Up|D=Down|T=Transition|F=Foreign
UGUnsp=UGood Unsupported|UGShld=UGood shielded|HSPShld=Hotspare shielded
CFShld=Configured shielded|Cpybck=CopyBack|CBShld=Copyback Shielded
UBUnsp=UBad Unsupported|Rbld=Rebuild


VD6 Properties :
==============
Strip Size = 256 KB
Number of Blocks = 11719933952
VD has Emulated PD = Yes
Span Depth = 1
Number of Drives Per Span = 1
Write Cache(initial setting) = WriteBack
Disk Cache Policy = Disabled
Encryption = None
Data Protection = None
Active Operations = None
Exposed to OS = Yes
OS Drive Name = /dev/sdo
Creation Date = 23-03-2023
Creation Time = 07:06:45 AM
Emulation type = default
Cachebypass size = Cachebypass-64k
Cachebypass Mode = Cachebypass Intelligent
Is LD Ready for OS Requests = Yes
SCSI NAA Id = 600062b20a4bea402baeb7056ba74fd2
Unmap Enabled = No  

 3. Check in VDI webpage

 


Please rate this case:   
0 Comments

No Comments

Add Comments: