NetApp: cli vol create – match SM2.2 vols

This is to match what System Manger 2.2 creates as a vol type but via CLI, some of us still batch out our commands in notepad so here yah go:

SAN:

nosnap=on, nosnapdir=off, minra=off, no_atime_update=off, nvfail=off, ignore_inconsistent=off, snapmirrored=off, create_ucode=on, convert_ucode=on, maxdirsize=xxxx, schedsnapname=ordinal, fs_size_fixed=off, guarantee=volume, svo_enable=off, svo_checksum=off, svo_allow_rman=off, svo_reject_errors=off, no_i2p=on, fractional_reserve=0, extent=off, try_first=volume_grow, read_realloc=off, snapshot_clone_dependency=off, dlog_hole_reserve=off, nbu_archival_snap=off

vol create {volname} {aggr} {size}g
vol options {volname} nosnap on
vol options {volname} convert_ucode on
vol options {volname} no_i2p on
vol options {volname} fractional_reserve 0
snap reserve {volname} 0
vol autosize {volname} -m {size+20%} -i {50g}
snap autodelete {volname} on

NAS:

nosnap=off, nosnapdir=off, minra=off, no_atime_update=off, nvfail=off, ignore_inconsistent=off, snapmirrored=off, create_ucode=on, convert_ucode=on, maxdirsize=xxxx, schedsnapname=ordinal, fs_size_fixed=off, guarantee=volume, svo_enable=off, svo_checksum=off, svo_allow_rman=off, svo_reject_errors=off, no_i2p=off, fractional_reserve=100, extent=off, try_first=volume_grow, read_realloc=off, snapshot_clone_dependency=off, dlog_hole_reserve=off, nbu_archival_snap=off

vol create {volname} {aggr} {size}g
vol options {volname} convert_ucode on
snap reserve {volname} 5

Leave a Reply