Re: Removing files directly on filer?

Scott Classen <[email protected]>
Newsgroups gmane.comp.hardware.netapp
Message-ID <[email protected]>
Hi Justin and all the other fellow toasters that offered suggestions,

Well I finally got around to upgrading our cluster to 9.8P3 and trying async-delete. It worked… poof… gone… the offending files are never to be seen again.

I did have a bit of confusion abut how to define the -path option. The volume name was “home” and the offending files were contained in "/home/fereyes/Pm12” as seen from the NAS client. The full command that worked was:

async-delete start -vserver our-svm-hs1 -volume home -path fereyes/Pm12

Thanks,
Scott

> On Mar 26, 2021, at 12:11 PM, Parisi, Justin <[email protected]> wrote:
> 
> If you are on ONTAP 9.8, we have async delete.
>  
> TR-4571 – page 108
>  
> https://www.netapp.com/us/media/tr-4571.pdf <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 <[email protected] <mailto:[email protected]>> On Behalf Of Scott Classen
> Sent: Friday, March 26, 2021 2:55 PM
> To: Toasters <[email protected] <mailto:[email protected]>>
> 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

_______________________________________________
Toasters mailing list
[email protected]
https://www.teaparty.net/mailman/listinfo/toasters
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.