Wednesday, March 19, 2008

Volume Autosize

Volume Autosize

vol autosize volname -m 600g -i 20g on

@ By default autosize on a volume is disabled. The "on" subcommand is used to enable the auto size. (Remember 600gb included the snapshots area as well). Plan the max spacing accordingly.


==================================================================
Tips:

The point at which the volume_grow process kicks off is defined by the option wafl_reclaim_threshold which in Data ONTAP versions prior to 7.2.4 was set at 98%

Depending on the size of the volume this may not give the volume enough time to grow before running out of space. With Data ONTAP 7.2.4 this flag was revised to have 5 levels:

wafl_reclaim_threshold_t: tiny vols < threshold =" 85%">

wafl_reclaim_threshold_s: small vols from 20gb to < threshold =" 90%">

wafl_reclaim_threshold_m: medium vols from 100gb to < threshold =" 92%">

wafl_reclaim_threshold_l: large vols from 500gb to < threshold =" 95%">

wafl_reclaim_threshold_ xl: xlarge vols from 1tb up threshold = 98%

With Data ONTAP versions prior to 7.2.4 you can modify this flag to a value lower than 98% (90% works for most block environments) using the following commands:

To view current value: priv set diag; printflag wafl_reclaim_threshold

To set current value: priv set diag; setflag wafl_reclaim_threshold

If you choose to modify the value you will need to add an entry to /etc/rc on each controller head in a cluster to preserve it over a reboot:

priv set –q diag; setflag wafl_reclaim_threshold 90; priv set;

It is NOT considered a best practice to modify the setting of wafl_reclaim_threshold in early versions of OnTap, the best option is to upgrade to 7.2.4

No comments: