If you are on ONTAP 9.8, we have async delete.
TR-4571 – page 108
https://www.netapp.com/us/media/tr-4571.pdf
That allows you to delete directories (not files) from the ONTAP CLI.
Otherwise, no real way to do this.
For unusual characters, the vol language might be an issue; as of 9.5 and later, we added support for utf9mb4 characters, which can help translate those weird characters. Page 120 of that TR also covers it.
I would reproduce your issue, but I can’t seem to replicate the special characters in your list.
From: Toasters toasters-bounces@teaparty.net On Behalf Of Scott Classen Sent: Friday, March 26, 2021 2:55 PM To: Toasters toasters@teaparty.net Subject: Removing files directly on filer?
NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hello Fellow Toasters,
I have several files that have an unusual characters in their names. Here are 3 examples.
99027496 -rwxr--r--. 1 fereyes sibyls 138284 Dec 17 2012 _Volumes_fereyes_Pm12_img12_data1_pxuser_cech3_px07-0106_Pm12_7_process_mr_AutoMR_run_9__combined_refine_001.pdb_Mon_Dec_17_15•17•10_2012_modification_0.pdb.gz 99027497 -rwxr--r--. 1 fereyes sibyls 137894 Dec 17 2012 _Volumes_fereyes_Pm12_img12_data1_pxuser_cech3_px07-0106_Pm12_7_process_mr_AutoMR_run_9__combined_refine_001.pdb_Mon_Dec_17_15•17•10_2012_modification_1.pdb.gz 99027498 -rwxr--r--. 1 fereyes sibyls 137467 Dec 17 2012 _Volumes_fereyes_Pm12_img12_data1_pxuser_cech3_px07-0106_Pm12_7_process_mr_AutoMR_run_9__combined_refine_001.pdb_Mon_Dec_17_15•17•10_2012_modification_2.pdb.gz
I would like to delete them. I have tried all the tricks I know of to delete them from the NFS client side including the usually-bullet-proof method of deleting them by inode:
ls -li
To get the inode then:
find . -inum 99027498 -exec rm -i {} ;
and this is not working.
Is there some way to remove folders/files from the NetApp itself?
Thanks, Scott