Date: Wed, 29 Feb 2012 09:24:55 +0800 From: netroby <hufeng1987@gmail.com> To: Damien Fleuriot <ml@my.gd> Cc: freebsd-questions@freebsd.org Subject: Re: Delete files let FreeBSD crashes. Message-ID: <CAEZo%2BgfOiXvMD6uebz%2BRumPMihL94q33OQvZidc6hm%2Bi7UVLSg@mail.gmail.com> In-Reply-To: <4F4C8BCA.1080809@my.gd> References: <4F4C7E23.3050404@gmail.com> <4F4C8BCA.1080809@my.gd>
index | next in thread | previous in thread | raw e-mail
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 在 2012年2月28日 下午4:09,Damien Fleuriot <ml@my.gd>写道: > 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" >help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEZo%2BgfOiXvMD6uebz%2BRumPMihL94q33OQvZidc6hm%2Bi7UVLSg>
