From owner-freebsd-questions@FreeBSD.ORG Thu Jan 15 20:10:24 2009 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 8BBB31065730 for ; Thu, 15 Jan 2009 20:10:24 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 117808FC21 for ; Thu, 15 Jan 2009 20:10:23 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so737071fgb.35 for ; Thu, 15 Jan 2009 12:10:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=FY51BMicg7RtlKSyMbAgKj5xAa31IOgdKZYPDljV7PA=; b=op1ueZ3khPwG0gSj6euGUJbH64qIHcP+BQKknCAzlCBHxp6YjmqLqk/PP8am5z3hel sw81MaTf5zaLj+YZ3Jn1YglrHlzMDsIByq1s2UExzddlPRh4mJLuwjsHZ2SArTIopGx5 vjGDTm2v0EClKygagkfpnKDM1jeNNz+tUjfN0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=YG9MOCGm5Zhnrv2FUhbLkAd630odPA0qfoeycw4cd49dfknwnLw2FXBrLAGLSUNDxZ uPjoYv4BBlXMp7b0HvQDuYkPNzKu45gt+ZEZFoyNgt+Y3LTzK7554N6UvbkjC4JP/XBC 9ki8mJnbG8O3s4A9pFUU0bqG6ykxkT11snWdc= Received: by 10.86.79.19 with SMTP id c19mr1583908fgb.41.1232050223110; Thu, 15 Jan 2009 12:10:23 -0800 (PST) Received: by 10.86.84.16 with HTTP; Thu, 15 Jan 2009 12:10:23 -0800 (PST) Message-ID: <23ed14b80901151210l6760c4c6sb60cdc1b1990fb29@mail.gmail.com> Date: Thu, 15 Jan 2009 21:10:23 +0100 From: "Andy Wodfer" To: freebsd-questions In-Reply-To: <4ad871310901141127o509d2480l56233209d79d1694@mail.gmail.com> MIME-Version: 1.0 References: <23ed14b80901141034l16ee0dedp9837e4f1162e253b@mail.gmail.com> <4ad871310901141127o509d2480l56233209d79d1694@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Help! locate.code /tmp: filesystem full 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, 15 Jan 2009 20:10:24 -0000 On Wed, Jan 14, 2009 at 8:27 PM, Glen Barber wrote: > On Wed, Jan 14, 2009 at 1:34 PM, Andy Wodfer wrote: > > Hi, > > I'm getting an error message every week and I can't seem to understand > why > > nor manage to fix it. Here it is: > > > > [snip] > > > > > # df -h > > Filesystem Size Used Avail Capacity Mounted on > > /dev/ar0s1a 989M 53M 857M 6% / > > devfs 1.0K 1.0K 0B 100% /dev > > /dev/ar0s1g 48G 8.5G 36G 19% /backup > > /dev/ar0s1d 989M 44K 910M 0% /tmp > > /dev/ar0s1f 387G 168G 189G 47% /usr > > /dev/ar0s1e 7.7G 398M 6.7G 5% /var > > > > As you see there's 910MB free space in /tmp. Should be plenty to run the > > weekly locate script? > > > > Have you recently had disk failures? When was your last `fsck' ? > > What is the output of `du -h /tmp' ? > > To rule out if 910M is not enough, you could `mv' /tmp to /tmp.bak and > do a hard link pointing a new /tmp somewhere with more space, for > example /usr/faketmp. > > I don't know how this will affect fstab or mount, however. Thanks for your replies. The requested outputs are: # df -i /tmp Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/ar0s1d 1012974 134 931804 0% 119 141191 0% /tmp # du -h /tmp 2.0K /tmp/.snap 2.0K /tmp/.XIM-unix 2.0K /tmp/ssh-fc3AdQjUmT 2.0K /tmp/.X11-unix 2.0K /tmp/.ICE-unix 2.0K /tmp/.font-unix 134K /tmp I have never done a fsck. Didn't really know of this command. I'm running it now and will post the result when it's finished. I have had one diskproblem a few months ago. This was the output of that: ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly ad6: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly ad6: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing request directly ad6: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing request directly ad6: WARNING - SET_MULTI taskqueue timeout - completing request directly ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=52327168 ad6: FAILURE - SMART status=51 error=4 ad4: FAILURE - SMART status=51 error=4 ad8: FAILURE - SMART status=51 error=4 Haven't had any trouble since and the server is still running on the same disks and with the same RAID setup. The server has been up for almost 200 days now. Ofcoure I'm worried that one or more disks are having trouble. Look forward to your replies. Thanks! Andy