From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 22:15:16 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1322216A420 for ; Tue, 6 Dec 2005 22:15:16 +0000 (GMT) (envelope-from hakmi@rogers.com) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.FreeBSD.org (Postfix) with SMTP id CE5B543D70 for ; Tue, 6 Dec 2005 22:15:14 +0000 (GMT) (envelope-from hakmi@rogers.com) Received: (qmail 49939 invoked from network); 6 Dec 2005 22:15:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:From:To:Subject:Date:X-Mailer:In-Reply-To:X-MimeOLE:Thread-Index; b=ubTJHCnBHtGfM3rr1j+UnRxlNZo7iE8WQSeqTQhanklS+S/t1v3M4J8YR1sEShDZT9YptV2iY+TLYUleb8PD9S6LYz3fMyvi2fBBUfYZDV8BcTVUAm8o6FD97HXzjzrHtrdEWukDQMFrB+9j3BfEgGkpUA06hlTiID8w9mfEXYM= ; Received: from unknown (HELO tamouh) (hakmi@rogers.com@70.27.160.99 with login) by smtp100.rog.mail.re2.yahoo.com with SMTP; 6 Dec 2005 22:15:13 -0000 From: "Tamouh H." To: "'FreeBSD'" Date: Tue, 6 Dec 2005 17:13:27 -0500 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <1133906152.985.19.camel@columbus.webtent.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcX6r+SDxeqZwJJZTl+SuRmQo3QAFAAAf54Q Message-Id: <20051206221514.CE5B543D70@mx1.FreeBSD.org> Subject: RE: Fixing fs with fsck 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: Tue, 06 Dec 2005 22:15:16 -0000 > > I just did some fsck /var and getting the problems below. I > am at a remote locatation and need to go on-site to repair > these things in single user mode. Can someone point me to > information or suggest what to look out for when doing the > disk checks. It is a production machine and I'd like to limit > the possibility of it having to be re-installed due to losing > something I should not have. In the past, on a development > server here, I have just answered 'Y' to everything and got > by with no problems. However, I did that on a laptop once > answer 'Y' to REMOVE questions, etc. and ended up not being > able to boot and doing a reinstall. But I suspected the HD on > the laptop had failed and the problem was not the file system. > > This is a summary of what I'm seeing while running fsck on > /var and /usr/ below. And should I do tunefs while at it? > Just looking for some helpful advise. I am also hoping the fs > has something to do with my problem of reaching kern.maxfiles > and having to restart services to relax the number of kern.openfiles. I've had to do fsck quite few times on servers after power failures. Never had problems. I always login to single user mode and run fsck -y , and let the system take care of it. Though I've read that this may not be the best option to go about it, the other choice to sit there and press Y or N for things I don't fully comprehend was not viable either. So do your backups, run fsck -y in single mode and cross your fingers!! Usually /var will not result in critical issues and from your post it seems errors in the postfix queue.