NET701 – NETAPP – Module 3

Selecting to Manually Create Aggregates;

  • Go to Storage Configuration Wizard
    • (= Launching Storage Wizard)
  • This launches a Wizard. Click next and select Manually Create Aggregates
  • Finish the wizard

Creating 64-bit Aggregates;

  • Go to the Create Aggregate Wizard
    • (=Create Aggregate Wizard)
  • Configure Name;
    • (= Aggregate Name)
  • On the next page assign a disk in this case FCAL
    • (= Selecting Disk)
  • On the next page select 4 for disk count
    • (= Selecting the Disks)
  • Click create and this finish the wizard. This has created the Aggregates

Creating 64bit Aggregates using CLI;

  • In putty view the aggregate with >aggr status
  • Then create an 64bit 4 disk aggregate using the command >aggr create aggr2 -B  64(bit type) 4(number of disks)

This is an old command?? When I ran this command it came up with unknown condition -b. I took out the -b 64. This is because the current version does not need you to specify the bit type as it defaults to 64bit. This command doesn’t create a raid group though. To do this you need to add -r to the command.

  • (= aggr stutus and create aggr) OLD
  • To view if it was created >aggr status
    • (=creating and viewing new aggr)

Causing a disk to fail;

  • One of these two commands will show the disk ID’s for an aggregate.
    • >aggr status aggr1 -r
    • >sysconfig -r
    • Write down the data disk id. This is the under the details column as a v5.17
    • (=Viewing disk ID’s)
  • Reconstruct the raid using the >options raid.reconstruct.perf_impact high
  • Verify the current aggregates using >aggr status
  • Now fail the disks using >disk fail v5.17
    • (=failing a disk)
  • Failing a disk takes a while. But after its failed it is still classed as a failed disk. To unfail the disk go to the advanced user mode using >priv set advanced.
    Enter the disk unfail command followed by the disk you failed. So *>disk unfail v5.17 (make sure you enter the disk id with as v?.?? And not just the numbers otherwise it won’t work.)
    Exit the advanced mode using *>priv set
    Zero the spares after using >disk zero spares

Add Disks to an Aggregate;

  • Check the number of disks in aggr1 is 5 by refreshing the page.

I went to the Manager and refreshed the page and the total number of disks in the aggregate was only 4. I restarted the Manager and checked again. (=Incorrect number of disks). Because of this I followed the next steps but instead of adding 1 disk I added 2.

  • Now go to the Disks Pane and right click on a free disk and add it to aggr1.

I tried to do this but it wouldn’t let me. This was because there is a raid group on aggr1. The raid group is set up for the 4 disks so it doesn’t allow you to add disks(=Over raid Limit). Instead of using the above way of doing it I used a different method.

My Method

  •  Go to the Aggregates Pane. Select the aggregate that you want to add the disk/s too. Then either click Edit along the top or right click and select edit. This will bring up a box that lets you add disks
    • (=Adding 2 Disks)
  • Enter the number of disks you want to add
  • Because the old raid settings are for 4 disks you need to change them to allow you to add extra. Under the RAID details click Change.
  • Increase the RAID size to the match the total number of disks after you have added the amount you want add.
    • (=Adding 2 disks to RAID)
  • Save and Close both popups.
    • (=Disks Added)

That is how I added the 2 disks.

Creating a Volume

  • In the Volumes Pane click the Create button
    • (=Creating a Volume)
  • In the Create Volume popup;
    • Rename the volume; NASvol
    • Choose the aggr1 aggregate
    • Leave the default total size of 1GB
    • Set the Snapshot reserve at 5%
    • Thin Provision the volume
      • (=Setting up Volume)
  • Click Create
    • (=New Volume Created)

Resizing a Volume

  • In the Volumes Pane click the Volume you want to resize (NASvol).
    • Then either click Resize along the top or right click and select Resize.
    • This brings up a Wizard.
    • Click Next
  • Adjust the size of the Volume to suit (1.5GB for this)
    • (=Adjusting Volume Size)
  • Click Next twice and then Finish
    • (=Adjusted Size)

Checking and Resizing the Volume from the CLI

  • To check the Status of the Volume;
    • >vol status NASvol
    • >df – h NASvol
      • (=Checking Vol Status)
  • To resize the volume;
    • >vol size NASvol 100m (to resize to 100MB)
      • Instructions are incorrect. They say to resize the volume to 100mb but the command says >vol size NASvol 100g. The ‘g’ means that it is resizing it to 100GB’s. To resize to MB’s instead of ‘g’ at the end put a ‘m’.
    • >vol status NASvol
    • >df – h NASvol
      • (=Resizing Vol)
      • Confirming the size of the Volume (=Confirming Size)

Creating Qtrees

From Manager

  • In the Qtrees Pane click the Create button
    • (=Creating a Qtree)
  • In the Create Qtree popup;
    • Rename the Qtree; NASqt1
    • Browse for the NASvol Volume
      • (=Selecting the Qtree Volume)
    • Enable oplocks
    • Select UNIX security
      • (=Setting up Qtree)
  • Click Create
    • (=Created new Qtree)

From CLI

  • Creating a new Qtree in CLI called NASqt2
    • >qtree create /vol/NASvol/NASqt2
    • >qtree status
      • (=Creating and Checking CLI Qtree)
  • Check the CLI Qtree from the Manager by refreshing the Qtree Pane
    • (=Checking Qtree)

Deleting Qtrees

From Manager

  • In the Qtrees Pane
  • Select the NASqt1
    • Then either click Delete along the top or right click and select Delete.
    • Check the Ok to delete the qtree(s) checkbox
      • (=Deleting Qtree)
  • Click Delete
    • (=Qtree Deleted)

From CLI

  • To delete the Qtree set privileges to advanced then delete the Qtree
    • >priv set advanced
    • *>qtree delete /vol/NASvol/NASqt2
  • Set privileges back and then Check the status
    • *>priv set
    • >qtree status
      • (=CLI Qtree Deleted)
      • (=Checking Qtree Deleted)

Deleting a Volume

  • In the Volumes Pane
  • Select the NASvol
    • Then either select Status > Offline along the top or right click and select Status > Offline.
    • Click Offline to take the drive offline
      • (=Confirm Offline)
  • Select the NASvol
    • Then either click Delete along the top or right click and select Delete.
    • Check the Ok to delete the Volume(s) checkbox
      • (=Deleting Volume)
      • (=Volume Deleted)


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s