This post is more than 5 years old
122 Posts
0
15280
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
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
August 6th, 2013 10:00
no quota set on that subdirectory ?
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
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.
david_knapp
122 Posts
0
August 6th, 2013 09:00
Will give it a try.
Any idea why we cannot delete a sub-folder in a working Windows share?
david_knapp
122 Posts
0
August 6th, 2013 10:00
It is possible there was a quota set. But if so, why would that prevent deletion of a folder?
david_knapp
122 Posts
0
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.
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
1
August 6th, 2013 11:00
you are correct, i agree better notification would be helpful.
Peter_Sero
1.2K Posts
0
December 8th, 2013 21:00
isi job start TreeDelete --path=/isi/data/
would be even faster than rm -rf
Cheers
-- Peter
aussupport
17 Posts
0
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
aussupport
17 Posts
0
December 8th, 2013 22:00
Hi,
Can this done via web interface?
AS
Peter_Sero
1.2K Posts
0
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