Re: Problem with rm -rf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



the rm -rf hangs. It looks like one or two unlinks are sent to the log. I can cntl-C the client and the data is still there. The data was is the tmp dir from failed backups. It is gone now. I will investigate more when I have more data later today.

Harris

----- Original Message -----
From: "Anand Avati" <avati@xxxxxxxxxxxxx>
To: "Harris Landgarten" <harrisl@xxxxxxxxxxxxx>
Cc: "gluster-devel" <gluster-devel@xxxxxxxxxx>
Sent: Thursday, June 28, 2007 9:17:41 AM (GMT-0500) America/New_York
Subject: Re: Problem with rm -rf

Strange, 
what is your configuration? At the time of 'hang', is it possible for you to attach gdb to glusterfs and get a backtrace (from every thread, by switching as 'thr 1' 'thr 2' etc) ? 
rm -rf seems to work fine for me, wondering how find . -exec rm would make a difference. 
thanks, 
avati 

> I am trying to delete the contents of a tmp dir with 3 trees containing about 1.7G 
> as root, from withint the top level tmp dir I issue 
> 
> rm -rf * 
> 
> and the command hangs are never returns. 
> 
> find . -exec rm -rf {} \; 
> 
> works as expected. 
> 
> 
> Harris 




_______________________________________________ 
Gluster-devel mailing list 
Gluster-devel@xxxxxxxxxx 
http://lists.nongnu.org/mailman/listinfo/gluster-devel 


-- 
Anand V. Avati 




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux