3ware HTML Bookshelf



3ware® CLI Guide > CLI Syntax Reference > Unit Object Commands > /cx/ux show

/cx/ux show
This command shows summary information about the specified unit /cx/ux. If the unit consists of sub-units, as in the case of RAID-10 and RAID-50, then each sub-unit is further presented. If the Auto-Carving policy was on at the time the unit was created and the unit is over the carve size, multiple volumes were created and are displayed at the end of the summary information. Similarly, if the unit was created using the 3ware BIOS utility 3BM and a size was entered in the Boot Volume Size field, multiple volumes were created and will be displayed. Note that a volume created using the Boot Volume Size feature does not have to be used as a boot volume.
Note: In the output of unit information tables that follows, the column “Port” may be “VPort” depending on the applicable controller.
Example for 9690SAcontrollers:
 
 //localhost> /c0/u1 show
 
 Unit     UnitType  Status         %RCmpl  %V/I/M  VPort  Stripe  Size(GB)
 ------------------------------------------------------------------------
 u1       RAID-0    OK             -       -       -     64K     3576.06   
 u1-0     DISK      OK             -       -       p0    -       298.01    
 u1-1     DISK      OK             -       -       p1    -       298.01    
 u1-2     DISK      OK             -       -       p2    -       298.01   
 u1-3     DISK      OK             -       -       p3    -       298.01    
 u1-4     DISK      OK             -       -       p4    -       298.01    
 u1-5     DISK      OK             -       -       p5    -       298.01    
 u1-6     DISK      OK             -       -       p6    -       298.01    
 u1-7     DISK      OK             -       -       p7    -       298.01 
 u1-8     DISK      OK             -       -       p8    -       298.01  
 u1-9     DISK      OK             -       -       p9    -       298.01  
 u1-10    DISK      OK             -       -       p10   -       298.01   
 u1-11    DISK      OK             -       -       p11   -       298.01    
 u1/v0    Volume    -              -       -       -     -       2047.00   
 u1/v1    Volume    -              -       -       -     -       1529.06
 
Example for 9650SE and earlier controllers:
 //localhost> /c0/u0 show
 
 Unit     UnitType  Status         %RCmpl  %V/I/M  Port  Stripe  Size(GB)
 ------------------------------------------------------------------------
 u0       RAID-50   OK             -       -       -     64K     596.05    
 u0-0     RAID-5    OK             -       -       -     64K     -         
 u0-0-0   DISK      OK             -       -       p0    -       149.10    
 u0-0-1   DISK      OK             -       -       p2    -       149.10    
 u0-0-2   DISK      OK             -       -       p3    -       149.10    
 u0-1     RAID-5    OK             -       -       -     64K     -         
 u0-1-0   DISK      OK             -       -       p4    -       149.10    
 u0-1-1   DISK      OK             -       -       p5    -       149.10    
 u0-1-2   DISK      OK             -       -       p6    -       149.10
 
 //localhost> /c0/u1 show
 
 Unit     UnitType  Status         %RCmpl  %V/I/M  Port  Stripe  Size(GB)
 ------------------------------------------------------------------------
 u1       RAID-0    OK             -       -       -     64K     3576.06   
 u1-0     DISK      OK             -       -       p0    -       298.01    
 u1-1     DISK      OK             -       -       p1    -       298.01    
 u1-2     DISK      OK             -       -       p2    -       298.01   
 u1-3     DISK      OK             -       -       p3    -       298.01    
 u1-4     DISK      OK             -       -       p4    -       298.01    
 u1-5     DISK      OK             -       -       p5    -       298.01    
 u1-6     DISK      OK             -       -       p6    -       298.01    
 u1-7     DISK      OK             -       -       p7    -       298.01 
 u1-8     DISK      OK             -       -       p8    -       298.01  
 u1-9     DISK      OK             -       -       p9    -       298.01  
 u1-10    DISK      OK             -       -       p10   -       298.01   
 u1-11    DISK      OK             -       -       p11   -       298.01    
 u1/v0    Volume    -              -       -       -     -       2047.00   
 u1/v1    Volume    -              -       -       -     -       1529.06
One application of the /cx/ux show command is to see which sub-unit of a degraded unit has caused the unit to degrade and which disk within that sub-unit is the source of degradation. Another application is to see the source and destination units during a migration.
The unit information shows the precentage completion of the processes associated with the unit with %RCompl (percent Rebuild completion) and %V/I/M (percent Verifying, Initializing, or Migrating).
Unlike other unit types, RAID-6 may potentially have 2 or more parity drives and can tolerate two or more failures within a unit. As a result, an added notation is used to describe %RCompl and %V/I/M, and these are (A) and (P). (A) denotes that the percentage completion of the process is for the current active process, and (P) denotes that the percentage completion of the process is for the current paused process.
Example:
 /localhost> /c0 show unitstatus
 
 Unit  UnitType   Status         %RCmpl  %V/I/M  Stripe  Size(GB) Cache  AVrfy
 ---------------------------------------------------------------------------
 u0    RAID-6     REBUILD-VERIFY 50%(A)  70%(P)  64k     298.22   ON     OFF
 
Here, the RAID-6 unit u0 is in the Rebuild-Verify state, with percentage Rebuild completion of 50% and is the current active process. The process of either Verifing, Initializing, or Migrating is at 70% and it is a paused process.
For the unit display:
 //localhost> /c0/u0 show
 
 Unit     UnitType  Status         %RCmpl  %V/I/M   Port  Stripe  Size(GB)
 ------------------------------------------------------------------------
 u0       RAID-6    REBUILD-VERIFY 50%(A)  70%(P)   -     64K     2683.80 
 u0-0     DISK      OK             -       -        p0    -       298.20
 u0-1     DISK      OK             -       -        p1    -       298.20 
 u0-2     DISK      OK             -       -        p2    -       298.20 
 u0-3     DISK      REBUILDING     80%     -        p3    -       298.20
 u0-4     DISK      OK             -       -        p4    -       298.20
 u0-5     DISK      OK             -       -        p5    -       298.20 
 u0-6     DISK      OK             -       -        p6    -       298.20 
 u0-7     DISK      OK             -       -        p7    -       298.20 
 u0-8     DISK      REBUILD-PAUSE  20%     -        p8    -       298.20 
 u0-9     DISK      OK             -       -        p9    -       298.20 
 u0-10    DISK      OK             -       -        p10   -       298.20 
 u0-11    DISK      OK             -       -        p11   -       298.20
In the above example, the RAID-6 unit u0 has 2 parity drives. Currently, it has two REBUILDING drives; one is in the active rebuilding state and another is in the paused rebuild state. The unit is also in the paused VERIFY state. Like the output of the /cx show unitstatus command, the top-level unit status and percentage show the composite unit status and composite rebuild percentage.

Copyright AMCC 2004-2008
To contact Support, log in at https://www.3ware.com

www.3ware.com
1-858-535-6517
1-800-840-6055