Wednesday 9 December 2015

Aggregates and volumes

Aggregates

Disks are grouped together in aggregates, these aggregates provide storage to the volume that they contain. Each aggregate has it own RAID configuration, plex structure and set of assigned disks or array LUNs. You can create traditional volumes or NetApp's FlexVol volumes (see below section on volumes).
There are two types of aggregate

32bit - Maximum 16TB
64bit - Maximum 100TB

A aggregate has only one plex (pool 0), if you use SyncMirror (licensed product) you can mirror the aggregate in which case it will have two plexes (pool 0 and pool 1). Disks can be assigned to different pools which will be used for hot spares or extending aggregates for those pools. The plexes are updated simultaneously when mirroring aggregates and need to be resynchronized if you have problems with one of the plexes.

You can see how mirroring works in the diagram below




Examples 



Creating an aggregate: 


> aggr create aggr1 -t raid4 -r 10 -B 32 50



Aggregate name : aggr1 
 -t Specifes the raid type like (raid0,raid4 and raid_dp). The default raid is raid_dp 
 -B means 32 bit (ontap 7.x.x version will support 32 bit but 8.x.x will both 32 & 64 bit )

Creating an aggregate with manual disk: 


> aggr create aggr2 -d 8a.10 8a.11 8a.12 8a.13 8a.14 8a.15 8a.16 8a.18 8a.25

-d specifes the disk name for the new aggregate.

Increasing the size to an aggregate 


To increasing aggregate size, add disk to specfic aggregate

> aggr add aggr2 -d  8a..26

Adding the disk to the RAID group of the aggregate


> aggr add aggr2 -g rg1 -d  8a..29

Changing an aggregate RAID level from RAID4 to RAIND_DP


> aggr options aggr1 raidtype raid_dp

show_space 

> aggr show_space aggr1





Volume


Volume that contain file system and its hold user datas
accessible protocols like FC, CIFS, HTTP, FTP, ISCSI

Two types of volume

Flexiable volume : 



                           A FlexVol volume is a volume that is loosely coupled to its containing aggregate. A FlexVol volume can share its containing aggregate with other FlexVol volumes. Thus, a single aggregate can be the shared source of all the storage used by all the FlexVol volumes contained by that aggregate.

Ttraditional volume : 


                    A traditional volume is a volume that is contained by a single, dedicated, aggregate. It is tightly coupled with its containing aggregate. No other volumes can get their storage from this

No comments:

Post a Comment