Skip to main content

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

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


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?

 


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!


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? 


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💐