Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

15198

August 6th, 2013 08:00

Can delete SMB share, cannot delete old folder

New cluster, new user.

I have deleted an SMB share, but I cannot find how to delete a folder that held the share. File Explorer does not seem to have that option.

Also, on another share for which I have full rights, I also cannot delete a sub folder I had created within a share. It goes away in the Windows file explorer, but if I hit F5 to refresh the window, the folder just pops back. The files that were in the sub folder are successfully deleted, so cannot figure out why the folder itself does not stay away.

Running version OneFS v7.0.1.6 B_7_0_1_181

1 Rookie

 • 

20.4K Posts

August 6th, 2013 10:00

no quota set on that subdirectory ?

1 Rookie

 • 

20.4K Posts

August 6th, 2013 09:00

ssh to the cluster, cd into /ifs/data/ and rm -rf that folder, make sure there are not quotas set on it or any sub directories.

122 Posts

August 6th, 2013 09:00

Will give it a try.


Any idea why we cannot delete a sub-folder in a working Windows share?

122 Posts

August 6th, 2013 10:00

It is possible there was a quota set. But if so, why would that prevent deletion of a folder?

122 Posts

August 6th, 2013 10:00

After I deleted the quota, I was able to delete the folder. So, if a quota existes on a folder we have to delete the quota first before we can get rid of the folder? If so, I wish the SMB settings page for the share also indicated there was a quota on that folder. It did not seem to show up there so I had forgotten we also were experimenting with quotas on that same folder.

Thank you.

1 Rookie

 • 

20.4K Posts

August 6th, 2013 11:00

davek wrote:

After I deleted the quota, I was able to delete the folder. So, if a quota existes on a folder we have to delete the quota first before we can get rid of the folder? If so, I wish the SMB settings page for the share also indicated there was a quota on that folder. It did not seem to show up there so I had forgotten we also were experimenting with quotas on that same folder.

Thank you.

you are correct, i agree better notification would be helpful.

1.2K Posts

December 8th, 2013 21:00

isi job start TreeDelete --path=/isi/data/

would be even faster than rm -rf

Cheers

-- Peter

17 Posts

December 8th, 2013 21:00

HI All,

I have some folders got 1.5TB data and trying to delete from Windows Explore and take hours to calculate?

Can we use cd into /ifs/data/Share1 and rm -rf   share1  to delete everything inside that folder?

is this much quicker?

AS

17 Posts

December 8th, 2013 22:00

Hi,

Can this done via web interface?

AS

1.2K Posts

December 9th, 2013 02:00

Sure, in the 6.5 it is:

Cluster -> Operations -> Jobs and Impact Policies

Click TreeDelete in the Job overview table

Click Start Job in the Current State section

Fill in the path, check the other settings (Target type is not relevant here)

and hit Start.

[ Reconsider using the command line ;-) ]

Cheers

-- Peter

No Events found!

Top