Skip to main content
Solved

How can I shut down a Nutanix Files File Server deployed via Prism Central?

  • October 28, 2025
  • 5 replies
  • 82 views

I’ve deployed Nutanix Files using Prism Central, but I can’t figure out how to properly shut down the File Server.
When I deployed Files via Prism Element before, I could SSH into the CVM and run afs infra.stop to stop it, but that doesn’t seem to work here.

Also, when I check the file server list from Prism Element, nothing appears—so I’m wondering if the CVM doesn’t recognize it as a File Server in this setup.

I searched for information but couldn’t find any clear instructions for shutting down Files from Prism Central.
If anyone knows the correct method or best practice, please share.

Environment:

  • Prism Central: 2024.3.1.2
  • AOS: 7.0.1.5
  • FSM: 5.2

Best answer by Tominaga

Thanks a lot for your help.
I just realized the issue was on my side — I was using the admin account instead of the nutanix account. After switching to nutanix, the afs command worked as expected.
Sorry for the confusion, and thank you for pointing me to the documentation. It really helped me figure this out!

5 replies

Forum|alt.badge.img+1
  • Trailblazer
  • October 28, 2025

Hi,

here you find the section in the official Dokumentation:

https://portal.nutanix.com/page/documents/details?targetId=Nutanix-Files-Manager-v5_2:fil-files-pc-stop-fs-t.html

Best regards,

Sebastian


  • Author
  • Adventurer
  • October 28, 2025

Thanks for sharing the link!
I checked the documentation, and it mentions using the afs command from the Prism Central CLI. However, on my PCVM, the afs command isn’t available.
When I tried running the suggested commands, I got the following messages:

  • permission denied while trying to connect to the Docker daemon
  • PC afs CLI is under construction !!
    It seems the CLI method isn’t functional in my environment.
    Do you know if there’s an alternative approach or if something needs to be enabled for afs to work on PCVM?

 


  • Author
  • Adventurer
  • Answer
  • October 28, 2025

Thanks a lot for your help.
I just realized the issue was on my side — I was using the admin account instead of the nutanix account. After switching to nutanix, the afs command worked as expected.
Sorry for the confusion, and thank you for pointing me to the documentation. It really helped me figure this out!


Forum|alt.badge.img+1
  • Trailblazer
  • October 28, 2025

Thanks for sharing the link!
I checked the documentation, and it mentions using the afs command from the Prism Central CLI. However, on my PCVM, the afs command isn’t available.
When I tried running the suggested commands, I got the following messages:

  • permission denied while trying to connect to the Docker daemon
  • PC afs CLI is under construction !!
    It seems the CLI method isn’t functional in my environment.
    Do you know if there’s an alternative approach or if something needs to be enabled for afs to work on PCVM?

 

Which user are you logged in with. I have found that sometimes depending on the user, it can’t find cli since it’s not be exported for that user? 


  • Author
  • Adventurer
  • October 28, 2025

I assumed that using the admin account would allow me to do everything, but I didn’t realize that available commands differ by user account.
Thank you both for your support and guidance—I really appreciate your help💐