Table of Contents

Useful NetApp Commands

Disks/aggregates

To check volume autogrow options:

  1. priv set diag
  2. printflag

Check the wafl_reclaim_theshold flags. There's 5 (_t, _s, _m, _l & _xl) representing tiny, small, medium, large and extra large volumes. The values are in hex, so for tiny it's 0x55 (85%) by default meaning the volume will grow when it's 85% full and 0x62 (98%) for xl volumes. For guidance, ting volumes are less than 20GB, XL are greater than 1TB. Values can be changed using the setflag command.

Shares/exports

To find out which servers are using a NFS export:

  1. options nfs.per_client_stats.enable on
  2. vfiler run vfiler0 nfsstat -l

(Disable option after use)

cifs sessions shows the current cifs connections

User and group commands

snapshots

snapmirror

Editing snapmirror schdules:

  1. Create vol0 as a NFS r/w export to a suitable server
  2. mount vol0: mount -t nfs -o rw filer:/vol/vol0/etc /mnt
  3. cd /mnt
  4. now edit snapmirror.conf as desired and save changes
  5. unmount: cd .. ; umount /mnt

Recent Changes

Contribute to this wiki

Why not help others by sharing your knowledge? Contribute something to this wiki and join out hall of fame!
Contact us for a user name and password