From owner-freebsd-questions@FreeBSD.ORG Thu Jul 28 09:43:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40A46106566B for ; Thu, 28 Jul 2011 09:43:58 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 8B8B28FC15 for ; Thu, 28 Jul 2011 09:43:57 +0000 (UTC) Received: (qmail invoked by alias); 28 Jul 2011 09:43:55 -0000 Received: from adsl-160.79.107.78.tellas.gr (EHLO [192.168.73.192]) [79.107.78.160] by mail.gmx.com (mp-eu003) with SMTP; 28 Jul 2011 11:43:55 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX18AbhgsNncArlKTDLbZlc35rVG3C8PcggFzvxArnJ AgOPGyNrI2WAE3 Message-ID: <4E312F4F.3090904@gmx.com> Date: Thu, 28 Jul 2011 12:43:43 +0300 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: admin@prnet.org References: <23d247b71b7fbb812daa6217121c9452.squirrel@www.prnet.org> In-Reply-To: <23d247b71b7fbb812daa6217121c9452.squirrel@www.prnet.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org Subject: Re: disappearing files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2011 09:43:58 -0000 On 7/28/2011 10:15 AM, admin@prnet.org wrote: > Hi, > > I am using FreeBSD 8.2 with an UFS filesystem containing a jail. I do a > tar of the whole jail every night. Suddenly after a few weeks of > operation, tar complains about being unable to stat /usr/lib/libmilter.so. > >> From inside the jail: > > ls /usr/lib | grep "^libmilter.so$" returns "libmilter.so" > ls /usr/lib/libmilter.so returns "ls: libmilter.so: No such file or > directory" > ls -l /usr/lib> /dev/null returns "ls: libmilter.so: No such file or > directory" > > Trying to access the file from the main system gives the same result. > > A reboot returns everything to normal. > > Exactly the same also appeared on another machine some time ago, the only > difference was that it appeared on another file. > > Does anyone know what can cause this problem ? File system corruption would cause such behavior. And/Or perhaps something is wrong with the underlying disk device. I would search the logs for messages indicating that the storage medium is failing. Does dmesg contain anything related? I would also unmount and fsck the file system. HTH, Nikos