Microsoft Virtualization Discussions

Add Volume to VFiler

BORMANN_C
3,706 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
3,706 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
3,707 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