From owner-freebsd-questions@FreeBSD.ORG Wed Feb 29 01:25:17 2012 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 7E4471065670 for ; Wed, 29 Feb 2012 01:25:17 +0000 (UTC) (envelope-from hufeng1987@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3C5288FC15 for ; Wed, 29 Feb 2012 01:25:16 +0000 (UTC) Received: by iahk25 with SMTP id k25so1329880iah.13 for ; Tue, 28 Feb 2012 17:25:15 -0800 (PST) Received-SPF: pass (google.com: domain of hufeng1987@gmail.com designates 10.50.194.232 as permitted sender) client-ip=10.50.194.232; Authentication-Results: mr.google.com; spf=pass (google.com: domain of hufeng1987@gmail.com designates 10.50.194.232 as permitted sender) smtp.mail=hufeng1987@gmail.com; dkim=pass header.i=hufeng1987@gmail.com Received: from mr.google.com ([10.50.194.232]) by 10.50.194.232 with SMTP id hz8mr5114415igc.38.1330478715922 (num_hops = 1); Tue, 28 Feb 2012 17:25:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=n1qlAnb2/KTYx7DapiPNHZn/6EuOpYGf6Wae+KIKAoY=; b=UfeG7naZ5hc1tF10fN8FRE3/9iwnc+7dX4dwGf5crmHafMqzMp3prG5xbTciN6T4By klqvRfjZvmKLgJgTbXEkDdp7Nchg4vRuiEc+L8TZ+/n51HDgAt7DmoJKebWqC6m0z+FC UsovDstO7yKbyJMekGPsaSx0F+GeL9/kY2G8k= Received: by 10.50.194.232 with SMTP id hz8mr4248243igc.38.1330478715883; Tue, 28 Feb 2012 17:25:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.27.218 with HTTP; Tue, 28 Feb 2012 17:24:55 -0800 (PST) In-Reply-To: <4F4C8BCA.1080809@my.gd> References: <4F4C7E23.3050404@gmail.com> <4F4C8BCA.1080809@my.gd> From: netroby Date: Wed, 29 Feb 2012 09:24:55 +0800 Message-ID: To: Damien Fleuriot Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Delete files let FreeBSD crashes. 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, 29 Feb 2012 01:25:17 -0000 Thanks . I had resolved the problem : 1. restart FreeBSD to single user mode. 2. umount all device then run fsck -f 3. after finished the fsck, restart FreeBSD , return to normal mode. 4. delete the broken directory, and restore the data from backup. 5. every thing seems ok now. netroby ---------------------------------- http://www.netroby.com =E5=9C=A8 2012=E5=B9=B42=E6=9C=8828=E6=97=A5 =E4=B8=8B=E5=8D=884:09=EF=BC= =8CDamien Fleuriot =E5=86=99=E9=81=93=EF=BC=9A > On 2/28/12 8:11 AM, netroby wrote: > > i installed freebsd 9 on virtualbox, when i try to delete a directory > > with following command: > > > > rm -rf ./zf2 > > > > the system will halt , then restart. > > > > i had using fsck -y to check the filesystem, but seems not work. > > > > following the output: > > > > *** HALT *** > > You're not running fsck on a MOUNTED device are you ? > > If you are, kindly stop doing so to prevent damage to your system. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >