Sunday, November 28, 2010

How to enable thin provisioning on Netapp Dataontap


Thin provisioning can be enabled on netapp storage volume level or Lun

Enabling thin provisioning on Volume:

Thin provision a volume by changing the “guarantee” option to “none.”
Volume: vol options “targetvol” guarantee none

Exp:
Vol options "/vol/vol1" guarantee none

Enabling thin provisioning on LUN:

Thin provision a LUN by changing the reservation on the LUN

LUN: lun set reservation “/vol/targetvol/targetlun” disable

Exp:
Lun set reservation "/vol/vol1/Lun1" disable

3 comments:

  1. This config. will push all free blocks to the aggr. which I think is the right way of doing this. However there are settings that will keep the free blocks within the volume and thus will only impact whats in the volume if something goes wrong.

    So TP is not quite as simple as setting the config. above. Also, cap. planning and cap. monitoring need to be spotless..

    ReplyDelete
  2. Yes you are right. when you want to keep unused block, you need to reserve the volume size.

    Thin provisioning helps make use of storage space efficiently and it can be used multiple volume or multiple application from storage pool as required.

    Capacity planning can be made as your requirement, suppose if you have data of 80% and u can have 20% to 30% more free space to grow.

    when storage space is exceed or full, later you can add more storage and you can dynamically allocate to same storage pool or aggregate.

    you can always monitor storage pool or aggregate using aggr show_space -h command or there are tools available to monitor.

    ReplyDelete
  3. Thanks alot for the command

    ReplyDelete