From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 06:01:30 2007 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 3A91C16A421 for ; Wed, 25 Jul 2007 06:01:30 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by mx1.freebsd.org (Postfix) with ESMTP id C32E313C467 for ; Wed, 25 Jul 2007 06:01:29 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so91890mue for ; Tue, 24 Jul 2007 23:01:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KHluuQM73UG/zQv2SK9o2WH47byEe2tGjdy7ybZruO2VTkgs+o/WaPwquUc4qm/EJrOf39O3KAAWnm76k+bFJ7iXmqhEA8aHGS+8oa6bzbKIGvocXuUVpmTKOmMFo6Hzmf302rtV9gq9phpjy99xgsIFhUrLxjoCSdqrDyMPz/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RP1ymzaLRLY/GhrIWHyVBr+GOUmxSau/bZcjkFBje5prQMxKAeR/O7kuYK+e1qLIV/U80X7n5tOrVMTrjNgfbGG5vJGnxtrMMiurcn4V9e2SbcKZTqPwf9/vPSqkazkb33mznAcaRWxaYzVxSG0VCNnSbYxugEhNFHDwHdWv8zw= Received: by 10.82.158.12 with SMTP id g12mr77841bue.1185343288386; Tue, 24 Jul 2007 23:01:28 -0700 (PDT) Received: by 10.82.185.5 with HTTP; Tue, 24 Jul 2007 23:01:28 -0700 (PDT) Message-ID: Date: Wed, 25 Jul 2007 01:01:28 -0500 From: "illoai@gmail.com" To: "Zbigniew Szalbot" In-Reply-To: <460a65190bb88ed0676417e1033dd160@szalbot.homedns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <460a65190bb88ed0676417e1033dd160@szalbot.homedns.org> Cc: Freebsd questions Subject: Re: fsck to fix HD problem 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: Wed, 25 Jul 2007 06:01:30 -0000 On 25/07/07, Zbigniew Szalbot wrote: > > Hello, > > >> so I decided to use fsck to check my HD. I ran it > >> in the foreground mode with the -y flag. It gives me the below > >> information. My question is - should I worry (it is more a home machine > >> than a real server) and if yes, how can I fix the problem? > > . . . > > > > To do anything more than merely report problems > > you should drop into single-user mode, unmount > > everything except root (hopefully. If it gets angry, > > reboot into single-user mode.) and run fsck (as is > > or with the -y flag if you feel daring.) on the filesystems > > in question. > > Is the single-user mode necessary. As it is a family machine I know when I > am the only one using it. > Well, fsck-ing /var on a fully multiuser system is hairy, at best, since /var is almost always being written to by something or other. Single user mode is the simplest way of dealing with this, since none of the logging, mail, or one of any of a 10^4 daemons will be trying to write to it, while you're trying to fix it. With mysql, I would assume* many of the same problems with /usr (or /usr/local, if that is its own filesystem). *given that I know meow-all about mysql: where it may wish to write, or what horrible perversions it commits while running. -- --