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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ml@my.gd>=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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEZo%2BgfOiXvMD6uebz%2BRumPMihL94q33OQvZidc6hm%2Bi7UVLSg>