Difference between revisions of "Netapp"
Jump to navigation
Jump to search
m |
|||
Line 19: | Line 19: | ||
* Create snapshots at 0,12,16,20 hours every day, and keep at most 6 | * Create snapshots at 0,12,16,20 hours every day, and keep at most 6 | ||
+ | ==Snapmirrors== | ||
+ | To Break: | ||
+ | * snapmirror quiesce <volname> | ||
+ | * snapmirror break <volname> | ||
+ | |||
+ | To Resync: | ||
+ | * snapmirror resync <volname> | ||
==Increase Inodes for a Volume== | ==Increase Inodes for a Volume== | ||
* ''maxfiles vol13_boats_imtimages_dsna2_nas 23499996'' | * ''maxfiles vol13_boats_imtimages_dsna2_nas 23499996'' |
Revision as of 08:07, 4 January 2011
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
Snapmirrors
To Break:
- snapmirror quiesce <volname>
- snapmirror break <volname>
To Resync:
- snapmirror resync <volname>
Increase Inodes for a Volume
- maxfiles vol13_boats_imtimages_dsna2_nas 23499996