smayan_a42153

updated

15 years ago

0

6801

November 5th, 2011 04:00

List RAID Groups - VMAX

Is it possible to list RAID groups and it's physical devices using symcli ?  I couldn't find a command. I want to associate datadev, physical dev, Thin pool to a RAID group.

TIA

-Shyam

  • Quincy561

    1281 Posts

    2706

    0

    Posted November 6th, 2011 07:00

    Maybe a picture will help here.

    ScreenShot410.bmp

  • Quincy561

    1281 Posts

    2707

    0

    Posted November 5th, 2011 05:00

    sympd list -v will show what disks volumes are on.  However a physical disk in Symmetrix may contain parts of many protection types.  One volume could be one of four in a 3+1 volume, another volume on the same drive could be one of two in a mirrored volume and yet another could be 1 of 16 in a 14+2 RAID6 volume.

  • 2707

    0

    Posted November 5th, 2011 07:00

    "sympd list" will only lists the devices visible to the SAN host, where as "symdev -sid list -datadev" gets all the datadevs and it's physical disks. But I am after the RAID groups. I want to find out which datadev is on which RAID group.

    On our VMAX we have 92 RAID groups(manually counted), But I wish to see a symcli command to list the devices by RAID group.

    Thanx again.

    -Shyam

  • Quincy561

    1281 Posts

    2706

    0

    Posted November 5th, 2011 19:00

    What do you mean by "raid group"?  A logical volume is the only raid group concept in Symmetrix.

  • 2706

    0

    Posted November 6th, 2011 06:00

    I am referring to raid5(3+1/7+1),raid6(6+2/14+2) RAID groups.

    -Shyam

  • Quincy561

    1281 Posts

    2706

    0

    Posted November 6th, 2011 06:00

    Those would be logical volumes.  Again, I could have all 4 of those along with mirrored volumes on the same drive.

  • 2706

    0

    Posted November 6th, 2011 07:00

    Thanx Quincy. I thought the Raid Groups are similar to what we setup in CLARiiON. What I understand from the above pic is,the RAID Groups are actually created from logical volumes and not physical disks. Now my follow up question is, does "symdev" has an option to list these logical volumes from the RAID Group ?

    Appreciated.

    -Shyam

  • Quincy561

    1281 Posts

    2706

    1

    Posted November 6th, 2011 11:00

    Yes, in CLARiiON a group of disks is given a specific protection.

    You can see the backend info for any device with the symdev list -v command.  You need to add -datadev to see the TDATs

    Here is the output from one of the systems in the lab. The disk ID is the first column.

        Back End Disk Director Information
            {
            Hyper Type                             : RAID-6
            Hyper Status                           : Ready           (RW)
            Disk [Director, Interface, TID]        : [N/A,N/A,N/A]
            Disk Director Volume Number            : N/A
            Hyper Number                           : N/A
            Mirror Number                          : 1
            Disk Group Number                      : 2
            Disk Group Name                        : DISK_GROUP_002
            }

        RAID Group Information
            {
            Mirror Number                            : 1
            RAID Type                                : RAID-6
            Device Position                          : Primary
            Protection Level                         : 6+2
            RAID Group Service State                 : Normal
            Failing Member Mask                      : N/A
            Hyper Devices:
                {
                Device : 01B8
                    {
                    ------------------------------------------------------
                     Disk     DA      Hyper        Member        Disk    
                    DA :IT   Vol#  Num  Cap(MB)  Num Status  Grp#  Cap(MB)
                    ------------------------------------------------------
                    07B:D1A    294    7    2923    1 RW         2  1823565
                    08D:C1A     90    7    2923    2 RW         2  1823565
                    08A:D1A    295    7    2923    3 RW         2  1823565
                    07C:C1A    100    7    2923    4 RW         2  1823565
                    08B:C1A    114    7    2923    5 RW         2  1823565
                    07D:D1A    300    7    2923    6 RW         2  1823565
                    07A:C1A    120    7    2923    7 RW         2  1823565
                    08C:D1A    304    7    2923    8 RW         2  1823565
                    }
                }
            }

  • 2706

    0

    Posted November 6th, 2011 13:00

    Great, Thanx again Quincy.

    -Shyam

  • Allen Ward

    6 Operator

    •

    2124 Posts

    760

    1

    Posted November 6th, 2011 20:00

    Just to reiterate what Quincy was saying, the whole concept of RAID Group does not exist at all on the Symmetrix platform. So in response to your clarifying statement, RAID Groups are NOT created from logical volumes.

    I still remember the shift in thinking required when I went from CLARiiON platforms to work on Symms as well and this was one of those things that took the most effort to get straight. You can have Disk Groups on the Symm which help control which physical drives are used underneath a device. These often are differentiated by the types of drives (e.g. Disk Group 0 might be 300GB 15K FC drives while Disk Group 1 is 500GB SATA drives). Each of those drives can contain hypers (the individual boxes in Quincy's picture) and a device is made up of the appropriate number and size of hypers across the right number of drives. So a 33GB RAID5(3+1) STD device would be made up of 4 x 11GB hypers from four different drives in the same disk group. When devices are laid out they are done in such a way as to optimize performance by ensuring that all the hypers are on separate physical drives and even using separate back end director channels.

    I am a bit confused by where the picture Quincy is using came from as I'm not sure why it references "RAID Groups" at all.