Hi,
Try share.delete if the share is empty
Hi,
Try share.delete if the share is empty
Hi Vaseem,
Unfortunately the share is not empty, and therefore I can't just delete the whole share just to get rid of this single folder.
Understood, have you tried getting help from Nutanix Support?
Hello @TMM_David-Herz
When using a distributed export or share you can’t just delete the top-level directory because it’s a separate share created internally by Nutanix Files. Because you can’t directly delete a top-level directory, removing it requires additional steps.
There are two options for renaming or deleting distributed share folders:
-
Find out which FSVM is hosting the folder and rename or delete the folder directly using the FSVM as the UNC path.
-
Use the Nutanix Files MMC snap-in to manage top-level directories. Any file server administrator can perform the MMC operations; you don’t need to assign privileges manually. Establish a connection to the Files namespace and perform the following SMB share management tasks:
-
Create, delete, rename, and change permissions for top-level directories.
-
Change NTFS permissions for shares.
Note: Use the Nutanix Files MMC when you modify NTFS permissions at the root of a distributed share. The Files MMC ensures that permissions are propagated to the top-level directories based on inheritance.
You can modify share-level permissions with the Windows-native Shared Folders MMC. Simply launch the Shared Folders MMC and point it to the name of the Nutanix Files instance under the Another computer
option. By default, all SMB shares have share-level ACLs set to Everyone with Full Control
.
Note: We recommend leaving share permissions at Full Control and managing access with NTFS permissions.
You can also manage open file locks and user sessions with the Windows Shared Folders MMC.
Click to enlarge
Hello @TMM_David-Herz
When using a distributed export or share you can’t just delete the top-level directory because it’s a separate share created internally by Nutanix Files. Because you can’t directly delete a top-level directory, removing it requires additional steps.
There are two options for renaming or deleting distributed share folders:
-
Find out which FSVM is hosting the folder and rename or delete the folder directly using the FSVM as the UNC path.
-
Use the Nutanix Files MMC snap-in to manage top-level directories. Any file server administrator can perform the MMC operations; you don’t need to assign privileges manually. Establish a connection to the Files namespace and perform the following SMB share management tasks:
-
Create, delete, rename, and change permissions for top-level directories.
-
Change NTFS permissions for shares.
Note: Use the Nutanix Files MMC when you modify NTFS permissions at the root of a distributed share. The Files MMC ensures that permissions are propagated to the top-level directories based on inheritance.
You can modify share-level permissions with the Windows-native Shared Folders MMC. Simply launch the Shared Folders MMC and point it to the name of the Nutanix Files instance under the Another computer
option. By default, all SMB shares have share-level ACLs set to Everyone with Full Control
.
Note: We recommend leaving share permissions at Full Control and managing access with NTFS permissions.
You can also manage open file locks and user sessions with the Windows Shared Folders MMC.
Click to enlarge
Hi Moustafa,
Do you know where I can get the Nutanix File MMC?
I'd like to try deleting the folder this way.
Hello @TMM_David-Herz
In the Nutanix Portal, navigate to Downloads > Third-Party Integrations.
Click Download next to the target MMC Snap-In for Files version.
Guide: https://portal.nutanix.com/page/documents/details?targetId=Files-MMC-Plugin-v3:mmc-mmc-plugin-install-t.html
Hi Moustafa,
I've successfully installed the MMC snap-in, however when I try to delete said folder this way it also leads to an error “The specified network name is no longer available”
Very strange indeed
Hello @TMM_David-Herz
I guess there endpoint protection “Windows defender or else” block your action. Try to investigate in that.
Hello @TMM_David-Herz
I guess there endpoint protection “Windows defender or else” block your action. Try to investigate in that.
I couldn't find an indication for that. Any other folder on the same share can be deleted, strangely I'm even able to rename the affected folder, just deleting is not possible.
Even on an isolated test system with disabled Windows defender and no other security applications it doesn't work.
Try to reboot FSVMs, if didn't work with you,
Then you need to contact Nutanix Support.
Try to reboot FSVMs, if didn't work with you,
Then you need to contact Nutanix Support.
Already did that, didn't help.
But it makes me feel better because at least I'm not completely stupid haha.
Thanks for your help anyways, I've already contacted the Nutanix Support.
Will update this thread once we find out what the problem was.