ONTAP Discussions

what is a plex

chal_arun
33,946 Views

what is a plex ?

18 REPLIES 18

radek_kubka
33,601 Views

Hi,

It is a term used with regards to a mirrored aggregate (via SyncMirror) which has two plexes:

SyncMirror protects against data loss by maintaining two copies of the data contained in the aggregate, one in each plex.

http://now.netapp.com/NOW/knowledge/docs/ontap/rel732_vs/html/ontap/smg/GUID-A390185E-C7A5-4E7F-B235-E63EB3128F30.html

Regards,

Radek

danielpr
33,601 Views

By default all your raidgroups will be tied towards plex0, the moment you enable syncmirror things will change. After enabling the syncmirror license you move disks from default pool pool0 to pool1. Then when you syncmirror your aggregate you will find pool0 disks will be tied with plex0 and pool1 will be under plex1.

Thanks

Daniel

prakash_aviva
33,602 Views

A plex is a physical copy of the WAFL storage within the aggregate. A mirrored aggregate consists of two plexes; unmirrored aggregates contain a single plex.

Mohit..

rturnupseed
33,601 Views

I hate to bring up an old topic again, but this looks like it still has no correct answer.

I am trying really hard to find out what a plex actually is or a document with some information on it.  From the previous replies it looks like it is a copy of the aggregate, however I am not really understanding where that information would be stored or how it really works.  Can someone provide a little more information on what a plex is?

Thanks

Ryan

maske
33,602 Views

A plex is a physical copy of a filesystem or the disks holding the data. A DataONTAP volume normally consists of one plex.   A mirrored volume has two or more plexes, each with a complete copy of the data in the volume.  Multiple plexes provides safety for your data as long as you have one complete plex, you will still have access to all your data.

.

rturnupseed
33,602 Views

Thank you for the reply Doug.

I understand a little more now, but I am still a little lost on where the plex exists.

Lets say I create four (4) volumes all in one aggregate I end up with four (4) plexes correct?  If that is correct does that mean if I create a Volume of 500GB and then create a LUN of 250GB, I need to have that left over 250GB as space for the plex?

Thanks

Ryan

maske
33,602 Views

A plex is on top of aggr, raid groups reside on top of plexes, volumes reside in raid groups.  There can be several raid groups to a single plex.  You can only have 1 mirror of a plex in ONTAP 7.

To view plex info:

aggr status -v
            Aggr State           Status            Options
           aggr0 online          raid0, aggr       root, diskroot, nosnap=off,
                                                   raidtype=raid0, raidsize=8,
                                                   ignore_inconsistent=off,
                                                   snapmirrored=off,
                                                   resyncsnaptime=60,
                                                   fs_size_fixed=off,
                                                   snapshot_autodelete=on,
                                                   lost_write_protect=on

                Volumes: vol0

                Plex /aggr0/plex0: online, normal, active
                     RAID group /aggr0/plex0/rg0: normal

vol status -v
         Volume State           Status            Options                     
           vol0 online          raid0, flex       root, diskroot, nosnap=off, 
                                                  nosnapdir=off, minra=off,
                                                  no_atime_update=on, nvfail=off,
                                                  ignore_inconsistent=off,
                                                  snapmirrored=off,
                                                  create_ucode=on,
                                                  convert_ucode=on,
                                                  maxdirsize=2621,
                                                  schedsnapname=ordinal,
                                                  fs_size_fixed=off,
                                                  compression=off,
                                                  guarantee=volume, svo_enable=off,
                                                  svo_checksum=off,
                                                  svo_allow_rman=off,
                                                  svo_reject_errors=off,
                                                  no_i2p=off,
                                                  fractional_reserve=100,
                                                  extent=off,
                                                  try_first=volume_grow,
                                                  read_realloc=off,
                                                  snapshot_clone_dependency=off
                Containing aggregate: 'aggr0'

                Plex /aggr0/plex0: online, normal, active
                    RAID group /aggr0/plex0/rg0: normal

        Snapshot autodelete settings for vol0:
                                        state=off
                                        commitment=try
                                        trigger=volume
                                        target_free_space=20%
                                        delete_order=oldest_first
                                        defer_delete=user_created
                                        prefix=(not specified)
                                        destroy_list=none
        Volume autosize settings:
                                        state=off

From man na_aggr (maybe this will help):

A plex is a physical copy of the WAFL storage within the aggregate. A mirrored aggregate consists of two plexes; unmirrored aggregates contain a single plex. In order to create a mirrored aggregate, you must have a filer configuration that supports RAID-level mirroring. When mirroring is enabled on the filer, the spare disks are divided into two disk pools. When an aggregate is created, all of the disks in a single plex must come from the same disk pool, and the two plexes of a mirrored aggregate must consist of disks from separate pools, as this maximizes fault isolation. This policy can be overridden with the -f option to aggr create, aggr add and aggr mirror, but it is not recommended.

A plex may be online or offline. If it is offline, it is not available for read or write access. Plexes can be in combinations of the following states:

normal All RAID groups in the plex are functional.

failed At least one of the RAID groups in the plex has failed.

empty The plex is part of an aggregate that is being created, and one or more of the disks targeted to the aggregate need to be zeroed before being added to the plex.

active The plex is available for use.

inactive
The plex is not available for use.

resyncing
The plex's contents are currently out of date and are in the process of being resynchronized with the contents of the other plex of the aggregate (applies to mirrored aggregates only).

adding disks
Disks are being added to the plex's RAID group(s).

out-of-date
This state only occurs in mirrored aggregates where one of the plexes has failed. The non-failed plex will be in this state if it needed to be resynchronized at the time the other plex failed.

A plex is named using the name of the aggregate, a slash character delimiter, and the name of the plex. The system automatically selects plex names at creation time. For example, the first plex created in aggregate aggr0 would be aggr0/plex0.

The disks in a plex are not permitted to span disk pools. This behavior can be overridden with the -f flag when used together with the -d argument to list disks to add. The -f flag, in combination with -d, can also be used to force adding disks that have a rotational speed that does not match that of the majority of existing disks in the aggregate.

The -m option can be used to specify that the new aggregate be mirrored (have two plexes) upon creation. If this option is given, then the indicated disks will be split across the two plexes. By default, the new aggregate will not be mirrored.

If you use the -d disk1 [ disk2 ... ] argument, the filer creates the aggregate with the specified spare disks disk1, disk2, and so on. You can specify a space-separated list of disk names. Two separate lists must be specified if the new aggregate is mirrored. In the case that the new aggregate is mirrored, the indicated disks must result in an equal number of disks on each new plex.

The disks in a plex are not permitted to span spare pools. This behavior can be overridden with the -f option. The same option can also be used to force using disks that do not have matching rotational speed. The -f option has effect only when used with the -d option specifying disks to use.

rturnupseed
33,602 Views

Doug, you are awesome.  That is exactly the information I needed to understand.

Thanks again!
Ryan

ANURODH78
33,602 Views

Hello Geniuses,

I am in bit of doubt and ambiguity about max mumber of plex can be in one aggregate. Untill few hours back I knew that one aggregate mean 1 plex. But when somehow (hardly ) I opened FilerView help and read that :

  1. You can create a mirrored aggregate in the following ways:
    • You can create a new aggregate that has two plexes.


    • You can add a plex to an existing, unmirrored aggregate.


  2. An aggregate cannot have more than two plexes.

So my question is:

  1. In a Single aggregate (unmirrored) can have more than one plex?
  2. What exactly plex contain? (like I understand RAID contain RAID configuration).

Many thanks in advance...

VM

shaunjurr
20,694 Views

Athough I think the answers to your questions were probably already answered in the preceding discussion:

1. No. There may be ClusterMode/GX configurations that uses plexes in ways that I am not familiar with.

2. A plex contains one or more raidgroups: data and parity disks belonging logically together for purposes of data redundancy.

PARAMUNIX
20,693 Views

Plex is the virtual representation of a physical partition. The representation of physical partitions/slices inside a volume .

merdan1979
20,693 Views

check here for picture/draft...maybe helps to understand (its a link to netapp ontap 8 docu):

http://hd.kvsconsulting.us/netappdoc/801docs/html/ontap/smg/GUID-17B01B3A-6EA1-4A49-B80A-F7447AD8AFA4.html

abhisheksri
20,693 Views

In simple word, data ontap stores data on disks in disk shelves connected to storage systems. Disks are organized into redundant array of independent disks (RAID) groups. RAID groups are organized into plexes and plexes are organized into aggregates.

DESIGHANS
20,693 Views

  A collection of one or more RAID groups that together provide the storage for one or more WAFL file system aggregates or traditional volumes.

NORBERT_HAAGFL
20,693 Views

0k, there are a lot of explanations here for what a plex  is. I give you my two cents, if you don't mind.

A plex is one half of a mirror. Mirrors are used to increase fault tolerance. A mirror means, that whatever you write on one disk gets written on a second disk - at least that is the general idea- immediately. Thus mirroring is a way to prevent data loss from loosing a disk.

If you do not mirror, there is no reason to call the disk in an aggregate a plex  really. But it is easier - for consistency etc.-  to call the first bunch of disks that make up an aggregate plex 0. Once you decide to make of mirror -again to ensure fault tolerance- you need the same amount of disks the aggregate is made of for the second half of the mirror. This second half is called plex1. Y

So bottom-line, unless you mirror an aggregate, plex0 is just a placeholder that should remind you of the ability to create a mirror if needed.

Hope that has added to the confusion a bit.

Have a great holiday season and a happy new year all

radek_kubka
16,793 Views

Good overview, but one thing really needs correction:

"0" in RAID levels stands for striping, whilst "1" stands for mirroring.

E.g.:

http://en.wikipedia.org/wiki/Nested_RAID_levels#RAID_50_.28RAID_5.2B0.29

NORBERT_HAAGFL
16,793 Views

Opps you are right on that one for sure. Sorry for the fauxpas

I corrected it.

Cheers

SHARMAMANISH
16,793 Views

Plex is nothing as its just a collection of Subdisk,

Public