From owner-freebsd-questions@FreeBSD.ORG Mon Jun 20 13:09:19 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 DE402106566B for ; Mon, 20 Jun 2011 13:09:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id A1E9E8FC16 for ; Mon, 20 Jun 2011 13:09:19 +0000 (UTC) Received: from r55.edvax.de (port-92-195-180-180.dynamic.qsc.de [92.195.180.180]) by mx01.qsc.de (Postfix) with ESMTP id 66DF83CBEA; Mon, 20 Jun 2011 15:09:18 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p5KD9Hmb002040; Mon, 20 Jun 2011 15:09:17 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 20 Jun 2011 15:09:17 +0200 From: Polytropon To: Gary Kline Message-Id: <20110620150917.b97c3e5e.freebsd@edvax.de> In-Reply-To: <20110618053100.GA16059@thought.org> References: <20110615195027.GA1196@thought.org> <20110618053100.GA16059@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: how do i fsck my server? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2011 13:09:19 -0000 On Fri, 17 Jun 2011 22:31:00 -0700, Gary Kline wrote: > right. i booted into single-user and fsck still gave me the NO > WRITE response; then i did a > > # shutdown now to get a # prompt in single-user and got the same > NO WRITE. Only it did fix the errors. dunno... strange. This isn't succicient as whem going MUM -> SUM the file systems will stay mounted. To be sure, _start_ the system in SUM 8select the proper item from the boot menu, or use "boot -s" at the loader prompt). In this mode, only / will be mounted ro, all other partitions won't be mounted and can therefore be checked AND modified. Of course, you can also boot the system from a live system CD and issue the fsck commands from there, using the device names instead of the mountpoints. After successfully repairing the partitions, they will be marked clean. At next system startup, there won't be a long fsck run. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...