From owner-freebsd-questions@freebsd.org Sun Jul 1 21:06:12 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BF71FDC9A2 for ; Sun, 1 Jul 2018 21:06:12 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-cmomta03.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 225C97E6D8 for ; Sun, 1 Jul 2018 21:06:11 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.0.10] ([70.121.63.82]) by cmsmtp with ESMTPA id ZjDEfKPlAgsLSZjDHfOj5S; Sun, 01 Jul 2018 20:44:53 +0000 Date: Sun, 01 Jul 2018 15:44:45 -0500 From: Paul Schmehl Reply-To: Paul Schmehl To: Rowdy , freebsd-questions@freebsd.org Subject: Re: Problem deleting files Message-ID: In-Reply-To: <2bb48eb5-38d2-94a3-b9a4-920e2497590a@netspace.net.au> References: <85B4CFC22AC0CA70B917D42D@Pauls-MacBook-Pro.local> <2bb48eb5-38d2-94a3-b9a4-920e2497590a@netspace.net.au> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-CMAE-Envelope: MS4wfEdHCcrVFSDASBPr1utzZVKhr+kM5sBzEpH/d+hy3p/eEqm4aqOJirhcwvSMHpc21SutZbdFC24Y8bbVmSBlBIZH6PNrurhyNXKxTKYdIFgFsEawDZwr A3ZjGOcKwb4+QcckKj2XL692VkE5LOaHe+FsB1DJ6cHrHY1xdjQgIXHxct5DKp9jHb0/B3xBmWBmHMbokvSa9WIX8kDvruSORsGFykvFyGtpxwAdovb0Zdkq X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2018 21:06:12 -0000 --On July 2, 2018 at 6:14:58 AM +1000 Rowdy wrote: > On 2/7/18 5:13 am, Paul Schmehl wrote: >> If I try to delete that specific filename, it seems to work. (Running rm >> twice returns no such file the second time.) Yet the file count remains >> the same. > > If you delete a file and the file count remains the same, perhaps a > process is still creating these files. > > It would be a good idea to identify and remove that process or this will > be a never-ending task. > For years I've had a rsync job that backs up one server to another. I disabled the job when the disk ran out of space and started looking for the problem. There's no process creating files in the directory now, but the files are turning out to be particularly stubborn at removal for some reason Paul Schmehl, Retired As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell