From owner-freebsd-questions Fri Aug 18 23:30:45 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id A401B37B422 for ; Fri, 18 Aug 2000 23:30:42 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e7J6Ttr06980; Fri, 18 Aug 2000 23:29:55 -0700 (PDT) Date: Fri, 18 Aug 2000 23:29:55 -0700 From: Alfred Perlstein To: fadli syarid Cc: Gorden Fischer , freebsd-questions@FreeBSD.ORG Subject: Re: fsck (NO WRITE) Message-ID: <20000818232955.A4854@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from fadli@fadli.za.net on Sat, Aug 19, 2000 at 12:14:20PM +0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Fri, 18 Aug 2000, Gorden Fischer wrote: > > > On Fri, 18 Aug 2000, Alfred Perlstein wrote: > > > > > Make sure that you don't have the filesystem mounted read/write. > > > > > > Make sure you haven't raised securelevel. > > > > I found out you can do this by booting kernel into single user mode, then > > fsck the server: > > > > boot: ad(0,a)/kernel -s > > ... > > fsck -y > > > > It works for me. > > * fadli syarid [000818 22:12] wrote: > > thanks :) > it's work now Just a side note: DON'T RUN FSCK ON READ-WRITE MOUNTED FILESYSTEMS. Also, messages to -questions don't warrant pgp signatures. thanks, -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message