From owner-freebsd-questions@FreeBSD.ORG Mon Apr 3 05:43:21 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4494D16A400 for ; Mon, 3 Apr 2006 05:43:21 +0000 (UTC) (envelope-from xmisoy@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id C480B43D45 for ; Mon, 3 Apr 2006 05:43:20 +0000 (GMT) (envelope-from xmisoy@gmail.com) Received: by zproxy.gmail.com with SMTP id l8so1473518nzf for ; Sun, 02 Apr 2006 22:43:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=RM+2lXLiNxKrcQ3r4lwn+sFL0PvXL0vpUjDPQQhsJbLs/b2V8XwAzvXc+m8DVUHXjQEKTQrlO7TMi+8cdf3F22OkYc6k6CXxT5PvDiO9z2wM6xap1cZWImOuNa+GFh7S1dp7fZDbQqRQf3ljP0tc+o/uUaPtK13nNvguMOPMv2k= Received: by 10.36.66.16 with SMTP id o16mr2224947nza; Sun, 02 Apr 2006 22:43:20 -0700 (PDT) Received: by 10.36.24.13 with HTTP; Sun, 2 Apr 2006 22:43:20 -0700 (PDT) Message-ID: <36f5bbba0604022243x6bb2fc56l5037df386a737f4a@mail.gmail.com> Date: Mon, 3 Apr 2006 13:43:20 +0800 From: "Edwin D. Vinas" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to recover /usr and /home directory 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: Mon, 03 Apr 2006 05:43:21 -0000 Hi, I have a previous 40GB HDD which crashed during power outage and now no longer repairable. Before I installed a new HDD, I can still see the contents of that defective hard disk when booting from a single user mode. Now, I set it up as slave and installed a new FreeBSD on the new master HDD= . But then, when I mounted the old hard disk, I can no longer see any content in my /usr and /home directories. These directories are the ones with "hard error reading" blocks which made FreeBSD not to continue booting due to unending and irrepariable fsck commands on this filesystem. All my website files and programs are on that old HDD especially in the /usr directory. Does the new setup master/slave have somehow caused those files hidden? How do I mount even the fragmented blocks? Any suggestion on how I can recover my files? Why is FreeBSD so susceptible to fragmentations when suddenly turned off or when there is a power outage? This is what I don't like with FreeBSD; it does not care too much on data! Even the fsck doesn't tell you that the hard disk is no longer usable as it will still prompt you to do fsck over and over again. And now, my /usr and /home suddenly disappeared when mounted. I can still see these two directories last week but now it seems they're gone. Thanks. Edwin