Microsoft Virtualization Discussions

Set-NaVfilerAddress cmdlet clobbers exports file

michael9

When the "set-navfileraddress" cmdlet is used to add an IP address to an existing vfiler in completely overwrites the vfiler's exports file, resetting it back to default values.

This is likely because this cmdlet is using the "vfiler-setup" API.  (This is a known behavior with vfiler setup)  Why is the cmdlet using "vfiler-setup" and not just "vfiler-add-ipaddress"?

When the same operation is done from the console (via the "vfiler add") command it works fine so there must be some way of the cmdlet to do this without invoking vfiler setup api.

1 ACCEPTED SOLUTION

michael9

My colleague just answered this question - it's using the vfiler-setup API to ensure that the new IP address gets added as an alias line in the RC file.  So the real issue is fixing the vfiler-setup API not to regenerate the exports file every time it is run.

View solution in original post

1 REPLY 1

michael9

My colleague just answered this question - it's using the vfiler-setup API to ensure that the new IP address gets added as an alias line in the RC file.  So the real issue is fixing the vfiler-setup API not to regenerate the exports file every time it is run.

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