Re: Delete a file THAT big? Surely you are joking.

[prev] [thread] [next] [lurker] [Date index for 2006/12/18]

From: Yossi Kreinin
Subject: Re: Delete a file THAT big? Surely you are joking.
Date: 16:43 on 18 Dec 2006
>>
>> I removed it using rm. I don't know what you mean.
> 
> 
> Most likely the files were still open anyway. Did you make sure that  
> the processes had closed them? (using lsof and/or fuser).
> 
> I've had plenty of big files on ext2/3 and it does delete them.
> 

I think I eliminated all traces of semi-intelligent life on that machine, 
killing all processes I could. Maybe it's not ext* but some other filesystem. Or 
maybe you are right and the files were still open. That's hateful on much more 
levels than a mere filesystem bug:

* Why didn't rm say they were open?
* And by which process, so I'd know if it's OK to kill it?
* Why did unmounting the filesystem succeed, instead of saying the processes 
still need it?

How am I supposed to clean up a RHEL box - reboot it like a good old Windows 
3.11 (or kill all useful processes, which is the same), or should I guess which 
resource is used by which process? Who's the operating system here?
There's stuff above here

Generated at 03:01 on 20 Dec 2006 by mariachi 0.52