<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hi,<br></div><div>Perhaps use filesets? Quicker to remove and recreate?<br></div><div><br></div><div>Keep safe,</div><div><br></div><div id="Zm-_Id_-Sgn" data-zbluepencil-ignore="true" data-sigid="213793000000013001"><div>Antony Steel<br></div><div>CTO Belisama<br></div><div><hr><br></div><div><table class="ze_tableView" cellpadding="2" cellspacing="2" border="0" style="font-size: 10pt; font-family: Arial, Helvetica, sans-serif; width: 100%; border-collapse: collapse; border: 0px solid black; color: black"><tbody><tr><td style="width: 681px"><div class="align-left" style="text-align: left">a<a target="_blank" href="mailto:ntony.steel@belisama.com.sg">ntony.steel@belisama.com.sg</a><br></div><div>Singapore: +65 9789 6663<br></div><div>Australia +61 4 1980 3049<br></div><div><a target="_blank" href="http://www.belisama.com.sg">www.belisama.com.sg</a><br></div></td><td style="width: 681px"><div class="align-right" style="text-align: right"><img src="cid:0.1688899710.2516248129151732889.181b4938703__inline__img__src" width="174" height="174"><br></div></td></tr></tbody></table><div><br></div><div><br></div></div><div><br></div></div><div><br></div><div class="zmail_extra" data-zbluepencil-ignore="true"><div><br></div><div id="Zm-_Id_-Sgn1">---- On Thu, 30 Jun 2022 21:31:43 +1000 <b>Tina Friedrich <tina.friedrich@it.ox.ac.uk></b> wrote ---<br></div><div><br></div><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin: 0px 0px 0px 5px;"><div>Hello everyone, <br> <br>this should be a simple question, but we can't quite figure out how to <br>best proceed. <br> <br>We have some file systems that we want to, basically, empty out. As in <br>remove all files and directories currently on them. Both contain a <br>pretty large number of files/directories (something like 50,000,000, <br>with sometimes silly characters in the file names). 'rm -rf' clearly <br>isn't the way to go forward. <br> <br>We've come up with either 'mmapplypolicy' (i.e. a policy to remove all <br>files) or removing and re-creating the file systems as options (open to <br>other suggestions!). <br> <br>We want the file systems still; ideally without having to redo the <br>authentication and key swaps etc for the 'remote' clusters using them. <br> <br>This is a Lenovo DSS, but I don't think it makes much of a difference. <br> <br>So - what's the best way to proceed? <br> <br>If it is mmapplypolicy - does anyone have a (tested/known working) <br>example of a policy to simply remove all files? <br> <br>Thanks, <br>Tina <br> <br>-- <br>Tina Friedrich, Advanced Research Computing Snr HPC Systems Administrator <br> <br>Research Computing and Support Services <br>IT Services, University of Oxford <br><a href="http://www.arc.ox.ac.uk" target="_blank">http://www.arc.ox.ac.uk</a> <a href="http://www.it.ox.ac.uk" target="_blank">http://www.it.ox.ac.uk</a> <br> <br>_______________________________________________ <br>gpfsug-discuss mailing list <br>gpfsug-discuss at gpfsug.org <br><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org</a> <br></div></blockquote></div></div><br></body></html>