Difference between revisions of "Netapp"

From KeegansWiki
Jump to navigation Jump to search
(Created page with '==Creating a Volume== * ''aggr show_space'' and chose an aggr * ''vol create vol12_dhs_syslog_ashna3_nas -l en aggr6_1TB_SAS_SATA 500g'' to create the new volume on that aggr * '…')
 
m
Line 8: Line 8:
 
Add qtree to exports file:
 
Add qtree to exports file:
 
''/vol/vol12_dhs_syslog_ashna3_nas/ashsyslog02    -sec=sys,rw,root=10.252.0.31:server_ip,nosuid''
 
''/vol/vol12_dhs_syslog_ashna3_nas/ashsyslog02    -sec=sys,rw,root=10.252.0.31:server_ip,nosuid''
 +
 +
 +
==Snap Sched==
 +
<pre>dsnetapp14> snap sched vol1_dhs_vm_datastore_dsna14_nas
 +
Volume vol1_dhs_vm_datastore_dsna14_nas: 0 2 6@8,12,16,20</pre>
 +
 +
This means:
 +
* keep 0 weekly snapshots
 +
* create a snapshot every day and keep a max of 2
 +
* Create snapshots at 0,12,16,20 hours every day, and keep at most 6

Revision as of 11:24, 28 October 2010

Creating a Volume

  • aggr show_space and chose an aggr
  • vol create vol12_dhs_syslog_ashna3_nas -l en aggr6_1TB_SAS_SATA 500g to create the new volume on that aggr
  • snap sched vol12_dhs_syslog_ashna3_nas 0 0 0 to set snapshot schedule to none
  • snap reserve vol12_dhs_syslog_ashna3_nas 0 to set snapshot reserve space to 0
  • qtree create /vol/vol12_dhs_syslog_ashna3_nas/ashsyslog02 to create a qtree if needed

Add qtree to exports file: /vol/vol12_dhs_syslog_ashna3_nas/ashsyslog02 -sec=sys,rw,root=10.252.0.31:server_ip,nosuid


Snap Sched

dsnetapp14> snap sched vol1_dhs_vm_datastore_dsna14_nas
Volume vol1_dhs_vm_datastore_dsna14_nas: 0 2 6@8,12,16,20

This means:

  • keep 0 weekly snapshots
  • create a snapshot every day and keep a max of 2
  • Create snapshots at 0,12,16,20 hours every day, and keep at most 6