Sunday, September 4, 2016

NET701 MODULE 3: CREATE AGGREGATES AND VOLUMES

Storage Configuration and Aggregates 

In this module, we are explaining about configuring storage, aggregates, and qtrees using NetApp On Command System Manager and CLI interfaces.

Here we are using the storage configuration wizard to configure the storage, access the wizard from left pan\Storage\Storage Configuration Wizard. Next screen we have the option to create aggregates, here I have selected manually create aggregates because we can manually select how many disks we need in one aggregate.


Next, we have to create a new 64 bit aggregate, go to the left pane, expand Storage > Aggregates and  there was already a default aggregate aggr0 was available.Click on Create to start the Create Aggregate Wizard. I have named it as aggr1 and used RAID-DP as RAID type.


In the next screen, I had the option to select disks I have selected 4 disks for the aggregate.The available space I got was 14.72 GB.


we can see the disk ID number using command 'sysconfig -r' from Putty. My Disk IDs are v5.16, v4.19, v5.17, v4.20.
 

I have also tried out a disk to fail using command 'disk fail device_id_from_step_1'. After failing the disk there was only one spare disk was available but NetApp needs one spare disk to be available for the default aggregate so that I was not able to use that disk as a hot spare to add it to my aggregate.

Add Disks to the Aggregate 

Here I am adding a fifth disk to the aggr1. For that, I went to Disks option and selected an available disk and added to aggr1. I had to refresh and wait for some time to show the new disk in the aggregate. 


Creating a Volume 

In this exercise, we are creating a new volume and later on how to resize the volume. I went to the Storage\volume and  created a volume and named it as NASvo1. I opted thin provision and  assigned 1GB space for the volume. 


Now we can see the new volume in the volume list.


To resize the volume, select the new volume and click Resize and we can change the size here. I have changed the volume to 1.5 GB.


I have changed the volume to 1.5 GB.


we can also do the same from CLI using vol size comment, I have resized the volume to 100 GB using 'vol size NASvol 100g' command. I have 95GB of space after resizing.

Qtree 

 Qtree is a logically defined file system, to create a Qtree go to storage\qtree and click create. I have created a Qtree named NASqt1 with UNIX security style.

To create a qtree from CLI, I have used 'qtree create /vol/NASvol/NASqt2' through this command I have created NASqt2.



To delete tree select NASqt2 and click Delete.


 If you want to delete the qtree from CLI, we have to change the interface to the advanced privilege set, by using the comment 'priv set advanced' then use the comment 'qtree delete vol/NASvol/NASqt1' to delete the other qtree. 

No comments: