Deleting Files

Rick Stevens rstevens at vitalstream.com
Tue Apr 5 16:39:42 UTC 2005


brad.mugleston at comcast.net wrote:
> On Mon, 4 Apr 2005, Rick Stevens wrote:
> 
> 
>>brad.mugleston at comcast.net wrote:
>>
>>>I copied about 2G of files from one Windows Drive to another
>>>Windows drive (one machine to another) in my house to give more
>>>room to the first machine.  I did this from my Linux box using
>>>SAMBA to access the two drives.
>>>
>>>The copy worked fine then after checking to make sure everything
>>>was OK I deleted the directory all of these files were under
>>>(again from Linux).
>>>
>>>I did  a quick DF and there was no additional space on the
>>>Windows drive.  I went to the windows machine and checked the
>>>space.  No improvement.  So I did a defrag on the windows machine
>>>and no improvement in the space being reported.
>>>
>>>HELP!  the directory is gone along with about 2G of files but I
>>>seem to have lost the space too.
>>>
>>>Suggestions?
>>
>>Did you unmount the source drive then remount it?  I think Samba holds
>>the drive/directory open.
> 
> 
> I get a device is busy doing an unmount but I've rebooted with
> the same results (i.e. no change).  Very misterious.

The word is "mysterious".  :-p

Did you try "lsof | grep /mountpoint" or "fuser /mountpoint" to see
what's got the directory open?
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-  The problem with being poor is that it takes up all of your time  -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list