Saturday, 25 May 2013

An Overview of some NetApp Data ONTAP Tuning Options

Note: The commands below are Data ONTAP 7-Mode commands. They can be run in Clustered Data ONTAP by simply placing run -node nodename -command infront (the information actually comes from a Clustered Data ONTAP 8.1.X system.)

Listed in this post:

- maxfiles
- aggr options (all 13)
- vol options (all 41)
- options *.* (97 listed and includes disk.*, raid.*, and wafl.*)

Maxfiles (Inodes)

To query the number of inodes in a FlexVol:
maxfiles volumename
To increase the number of inodes in a FlexVol:
maxfiles volumename 10000000
IMPORTANT: “Increasing the maximum number of files consumes disk space, and the number can never be decreased. Configuring a large number of inodes can also result in less available memory after an upgrade, which means you might not be able to run WAFL_check.”

Aggregate Options (Complete Listing of all 13)

aggr options aggrname free_space_realloc {on | off | no_redirect}
  - enable/disable free space reallocation on aggregate aggrname along with redirect scanner

aggr options atvname fs_size_fixed {on | off}
  - do not grow filesystem for aggregate or traditional volume atvname

aggr options aggrname ha_policy {none | cfo | sfo}
  - set ha_policy on aggregate aggrname

aggr options aggrname [-f] hybrid_enabled {on | off}
  - allow mixing HDD and SSD groups in aggregate aggrname

aggr options aggrname lost_write_protect {on | off}
  - default is to enable lost write protection on the aggregate

aggr options atvname nosnap {on | off}
  - disable snapshots on aggregate or traditional volume atvname

aggr options aggrname percent_snapshot_space percent
  - change aggregate aggrname's percent_snapshot_space setting

aggr options atvname raidsize size
  - set RAID group size on aggregate or traditional volume atvname

aggr options atvname raidtype (new-type = {raid4 | raid_dp})
  - change aggregate or traditional volume atvname's RAID type to new-type

aggr options atvname resyncsnaptime minutes
  - set RAID mirror resync snapshot frequency for aggregate or traditional volume atvname

aggr options atvname root
  - aggregate or traditional volume atvname becomes root on reboot

aggr options atvname snapmirrored off
  - discontinue mirroring on aggregate or traditional volume atvname

aggr options aggrname snapshot_autodelete {on | off}
  - change aggregate aggrname's snapshot_autodelete setting

Volume Options (Complete Listing of all 41)

vol options volname acdirmax seconds
  - set timeout before verifying directories

vol options volname acdisconnected seconds
  - set the timeout to serve items after last verify when in disconnected mode

vol options volname acregmax seconds
  - set timeout before verifying regular files

vol options volname acsymmax seconds
  - set timeout before verifying symbolic links

vol options volname actimeo seconds
  - set timeout to verify items without an explicit timeout

vol options volname convert_ucode {on | off}
  - enable UNICODE conversion on volume volname (default: off)

vol options volname create_ucode {on | off}
  - enable UNICODE creation on volume volname (default: off)

vol options volname disconnected_mode {off | hard | soft}
  - set the disconnected operation mode for caching

vol options volname dlog_hole_reserve {on | off}
  - enable hole reservation of delete log on volume volname

vol options volname extent {on | space_optimized | off}
  - configure extents on volume volname

vol options volname flexcache_autogrow {on | off}
  - enable autogrow on FlexCache volume volname

vol options volname flexcache_min_reserve size[k|m|g|t]
  - set size to be guaranteed for caching by volume

vol options volname fractional_reserve percentage
  - default is to have 100% reserve

vol options volname fs_size_fixed {on | off}
  - do not grow filesystem for volume volname

vol options volname guarantee {none | file | volume}
  - set storage guarantee for volume volname

vol options volname maxdirsize size
  - set maximum directory size on volume volname (unit: Kbytes, default: 1% of total system memory in KB, minimum: 4KB, maximum: 4194303KB)

vol options volname minra {on | off}
  - enable minimum readahead on volume volname

vol options volname nbu_archival_snap {on | off} [-f]
  - enable/disable archival snapshots for SnapVault for NetBackup on volume volname

vol options volname no_atime_update {on | off}
  - disable atime updates on volume volname

vol options volname no_delete_log {on | off}
  - disable delete logging on volume volname

vol options volname no_i2p {on | off}
  - disable inode to path on volume volname

vol options volname nosnap {on | off}
  - disable snapshots on volume volname

vol options volname nosnapdir {on | off}
  - disable '.snapshot' directory on volume volname

vol options volname nvfail {on | off}
  - invalidate file handles on NVRAM failure on volume volname

vol options volname raidsize size
  - set RAID group size on traditional volume volname

vol options volname raidtype (new-type = {raid4 | raid_dp})
  - change traditional volume volname's RAID type to new-type

vol options volname read_realloc {on | space_optimized | off}
  - configure read reallocation on volume volname

vol options volname resyncsnaptime minutes
  - set RAID mirror resync snapshot frequency for traditional volume volname

vol options volname [-f] root
  - volume volname becomes root on reboot

vol options volname schedsnapname {create_time | ordinal}
  - set scheduled snapshot names to include creation time or ordinal on volume volname

vol options volname snaplock_autocommit_period {none|(count){h|d|m|y}}
 - configure SnapLock autocommit period

vol options volname snaplock_default_period {(count){s|h|d|m|y}}|min|max|infinite
 - configure default SnapLock retention period

vol options volname snaplock_maximum_period {(count){s|h|d|m|y}}|infinite
 - configure maximum SnapLock retention period

vol options volname snaplock_minimum_period {(count){s|h|d|m|y}}|infinite
 - configure minimum SnapLock retention period

vol options volname snapmirrored off
  - discontinue mirroring on volume volname

vol options volname snapshot_clone_dependency {on | off}
  - enable option to remove dependency of backing snapshot on other snapshots for volume vol-name (default: off)

vol options volname svo_allow_rman {on|off}
  - set SnapValidator to correctly check RMAN backup data

vol options volname svo_checksum {on|off}
  - enable SnapValidator data checksumming on volume volname

vol options volname svo_enable {on|off}
  - enable SnapValidator for volume volname

vol options volname svo_reject_errors {on|off}
  - set SnapValidator to prevent all invalid operations default is to only log the errors

vol options volname try_first {volume_grow | snap_delete}
  - set volume to autogrow or delete snapshots first

Options (Listing of 97*)

*This is the complete list from the 8.1.2 C-Mode SIM, and is missing some options you would find on a production FAS/V-series controller!

options acp.domain
options acp.enabled
options acp.netmask
options acp.port
options autosupport.doit
options cdpd.enable
options cdpd.holdtime
options cdpd.interval
options cf.giveback.auto.after.panic.takeover
options cf.giveback.auto.cancel.on_network_failure
options cf.giveback.auto.cifs.terminate.minutes
options cf.giveback.auto.delay.seconds
options cf.giveback.auto.enable
options cf.giveback.auto.terminate.bigjobs
options cf.giveback.check.partner
options cf.hw_assist.enable
options cf.hw_assist.partner.address
options cf.hw_assist.partner.port
options cf.takeover.change_fsid
options cf.takeover.detection.seconds
options cf.takeover.on_disk_shelf_miscompare
options cf.takeover.on_failure
options cf.takeover.on_network_interface_failure
options cf.takeover.on_network_interface_failure.policy all_nics
options cf.takeover.on_panic
options cf.takeover.on_reboot
options cf.takeover.on_short_uptime
options cf.takeover.use_mcrc_file
options disk.asup_on_mp_loss
options disk.auto_assign
options disk.latency_check.enable
options disk.maint_center.allowed_entries
options disk.maint_center.enable
options disk.maint_center.max_disks
options disk.maint_center.rec_allowed_entries
options disk.maint_center.spares_check
options disk.powercycle.enable
options disk.recovery_needed.count
options ems.autosuppress.enable
options flexcache.access
options flexcache.deleg.high_water
options flexcache.deleg.low_water
options flexcache.enable
options flexcache.per_client_stats
options flexscale.enable
options flexscale.lopri_blocks
options flexscale.normal_data_blocks
options flexscale.pcs_high_res
options flexscale.pcs_size
options flexscale.rewarm
options locking.grace_lease_seconds
options qos.classify.count_all_matches
options raid.background_disk_fw_update.enable
options raid.disk.background_fw_update.raid4.enable
options raid.disk.copy.auto.enable
options raid.disktype.enable
options raid.media_scrub.enable
options raid.media_scrub.rate
options raid.media_scrub.spares.enable
options raid.min_spare_count
options raid.mirror_read_plex_pref
options raid.reconstruct.perf_impact
options raid.reconstruct.wafliron.enable
options raid.resync.perf_impact
options raid.rpm.ata.enable
options raid.rpm.fcal.enable
options raid.scrub.duration
options raid.scrub.enable
options raid.scrub.perf_impact
options raid.scrub.schedule
options raid.timeout
options raid.verify.perf_impact
options shelf.atfcx.auto.reset.enable
options shelf.esh4.auto.reset.enable
options shelf.fw.ndu.enable
options snapmirror.access
options snapmirror.checkip.enable
options snapmirror.delayed_acks.enable
options snapmirror.enable
options snapmirror.log.enable
options snapmirror.vbn_log_enable
options snapmirror.volume.local_nwk_bypass.enable
options snapmirror.vsm.volread.smtape_enable
options stats.archive.enable
options tape.reservations
options wafl.default_nt_user
options wafl.default_qtree_mode
options wafl.default_security_style
options wafl.default_unix_user
options wafl.group_cp
options wafl.inconsistent.asup_frequency.blks
options wafl.inconsistent.asup_frequency.time
options wafl.inconsistent.ems_suppress
options wafl.maxdirsize
options wafl.nt_admin_priv_map_to_root
options wafl.root_only_chown
options wafl.wcc_minutes_valid

1 comment:

  1. My spouse and i loved the specialist method of composing the write-up. Thank you, you get the item possible for myself to be aware of. I would really like to mention cheers a whole lot for talking over this specific helpful information, and My spouse and i in addition desire to reveal information regarding.ATV

    ReplyDelete