ONTAP Discussions

volume-options-list-info

Maksoftware
2,525 Views

I have to use the Get-NaVolOption command to retrieve the parameters of a volume.
I would like to know the description of each of the parameters that contains the command output. The output is {volume-options-list-info}. Where can I find all the documentation that describes what they are for example:
If I run the Get-Help command it tells me that:
OUTPUT
DataONTAP.Types.Volume.VolumeOptionInfo
without telling me what the output properties and their possible values are.

3 REPLIES 3

Ontapforrum
2,466 Views

Hi,

 

This is for cDot (nc) but the logic is same for 7-mode (na).


Get-NaVol or GetNcVol = Gives the meta-data paremeters for the volume, such as state,size,available etc


Get-NaVolOptions or GetNcVolOptions = Gives different settings that are available to a volume such as gurantee,nosnap,fractional reserve etc.

 

 

PS C:\WINDOWS\system32> Get-NcVol -Volume vol_name

Name State TotalSize Used Available Ddupe Aggregate Vserver
---- ----- --------- ---- --------- ------ -------- -------
vol_name online 1.0 GB 5% 966.1 MB False agg_name svm_name

 


PS C:\WINDOWS\system32> Get-NcVolOption -VserverContext svm_name -Name vol_name

Name NcController Value
---- ------------ -----
actual_guarantee 10.1.13.100 volume
convert_ucode 10.1.13.100 on
create_ucode 10.1.13.100 on
dr_force_nvfail 10.1.13.100 off
effective_guarantee 10.1.13.100 volume
extent 10.1.13.100 off
fractional_reserve 10.1.13.100 100
fs_size_fixed 10.1.13.100 off
guarantee 10.1.13.100 volume
ignore_inconsistent 10.1.13.100 off
max_write_alloc_blocks 10.1.13.100 0
maxdirsize 10.1.13.100 251658
minra 10.1.13.100 off
no_atime_update 10.1.13.100 off
no_i2p 10.1.13.100 off
nosnap 10.1.13.100 off
nosnapdir 10.1.13.100 off
nvfail 10.1.13.100 off
read_realloc 10.1.13.100 off
root 10.1.13.100 false
schedsnapname 10.1.13.100 create_time
snapmirrored 10.1.13.100 off
snapshot_clone_dependency 10.1.13.100 off
try_first 10.1.13.100 volume_grow


I don't know how to get the same info pulled from Get-Na/NcHelp command, help only ouputs the 'API' info used for that PowerShell command.


Take a look at this, if you find the info you are looking for.
https://www.netapp.com/us/media/tr-4475.pdf

 

Thanks!

Maksoftware
2,461 Views

I look for the documentation that describes each of the options that are obtained by making a Get-NaVolOption.

 

donny_lang
2,439 Views

While not specific to the PSTK, this link to the manual page for the volume family of commands (below) will show you a description of the volume options and list their possible values. 

 

https://library.netapp.com/ecmdocs/ECMP1196979/html/man1/na_vol.1.html

 

For example, the "create_ucode" option: 

 

create_ucode on | off

Setting this option to on forces UNICODE format directories to be created by default, both from NFS and CIFS. By default, it is set to off, in which case all directories are created in pre-4.0 format, and the first CIFS access will convert it to UNICODE format. The default setting is off.

Public