Microsoft Virtualization Discussions

Add Volume to VFiler

BORMANN_C

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

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

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

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public