NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform.
You will still be able to view content, but posting and replying will be temporarily disabled.
To learn more, please review the information in this blog post.

Microsoft Virtualization Discussions

Add Volume to VFiler

BORMANN_C
4,924 Views

Hello!

With the command New-NaVol I can create a new volume on the NetApp Filer.

But this doesn't work direct on a vFiler. Is there any other cmdlet, which adds the created volume to a specific vFiler?

Thanks in advance.

1 ACCEPTED SOLUTION

beam
4,924 Views

You can use the Set-NaVfilerStorage cmdlet to add volumes to a vfiler.

For example, to add the volume tmpvol to the vfiler vfiler1:

PS C:\> Set-NaVfilerStorage -AddStorage /vol/tmpvol -Name vfiler1

Name                      Status         Ipspace              VfnetCount VfstoreCount AdminHost

----                      ------         -------              ---------- ------------ ---------

vfiler1                   running        default-ipspace               1            2

PS C:\> Get-NaVfiler vfiler1 | select -ExpandProperty VfStores

                                  IsEtc Path                                    Status

                                  ----- ----                                    ------

                                   True /vol/vfiler1                            online

                                  False /vol/tmpvol                             online

Hope that helps!

-Steven

View solution in original post

1 REPLY 1

beam
4,925 Views

You can use the Set-NaVfilerStorage cmdlet to add volumes to a vfiler.

For example, to add the volume tmpvol to the vfiler vfiler1:

PS C:\> Set-NaVfilerStorage -AddStorage /vol/tmpvol -Name vfiler1

Name                      Status         Ipspace              VfnetCount VfstoreCount AdminHost

----                      ------         -------              ---------- ------------ ---------

vfiler1                   running        default-ipspace               1            2

PS C:\> Get-NaVfiler vfiler1 | select -ExpandProperty VfStores

                                  IsEtc Path                                    Status

                                  ----- ----                                    ------

                                   True /vol/vfiler1                            online

                                  False /vol/tmpvol                             online

Hope that helps!

-Steven

Public