From owner-freebsd-questions@FreeBSD.ORG Tue Mar 21 14:49:20 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 5FCAF16A420 for ; Tue, 21 Mar 2006 14:49:20 +0000 (UTC) (envelope-from xmisoy@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id B033A43D5D for ; Tue, 21 Mar 2006 14:49:18 +0000 (GMT) (envelope-from xmisoy@gmail.com) Received: by xproxy.gmail.com with SMTP id s11so1092637wxc for ; Tue, 21 Mar 2006 06:49:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=b/tb6mnueGx5eydSr5abXmB/858dbb+8b6nj9xPJBhHAMD4DrNq/XryZkgwAjJ6Jf26ShrnWXDkCXHW4Tepl9g36V05ZybKtY0juI9U6VvuYjmNl6IfUP56wDnqVDT3tvab36OQ7N3UoMG6mpD63/nonZWKjdLE6e/ovykt4qIs= Received: by 10.70.89.10 with SMTP id m10mr4669588wxb; Tue, 21 Mar 2006 06:49:18 -0800 (PST) Received: by 10.70.54.7 with HTTP; Tue, 21 Mar 2006 06:49:17 -0800 (PST) Message-ID: <36f5bbba0603210649y62f60ddpec31298628e8182e@mail.gmail.com> Date: Tue, 21 Mar 2006 22:49:17 +0800 From: "Edwin D. Vinas" To: "Derek Ragona" In-Reply-To: <6.0.0.22.2.20060321080824.028a1a30@mail.computinginnovations.com> MIME-Version: 1.0 References: <36f5bbba0603201812l272cf9b7n1ae8fc06e0949970@mail.gmail.com> <6.0.0.22.2.20060321080824.028a1a30@mail.computinginnovations.com> 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 Cc: freebsd-questions@freebsd.org Subject: Re: hard error reading: set fstab mounts to frw: can no longer access filesystem 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: Tue, 21 Mar 2006 14:49:20 -0000 I am using FreeBSD-4.10, how do I boot it in single user mode? -Ed On 3/21/06, Derek Ragona wrote: > > Edwin, > > Boot the server single user, -s. Then if you need to, bring up the IP > stack manually. Depending on your mount points, booting single user only > mounts root, so you can try to fsck the other unmounted filesystems. Onl= y > if those file systems are readable will you be able to get your files off= . > > You can also try tar'ing files to floppy or other removeable drive you ma= y > have on the server. Not a great solution, but it may be all you can do. > > -Derek > > > At 08:12 PM 3/20/2006, Edwin D. Vinas wrote: > > Hi, > > After a power outage my FreeBSD-4.10 server's 40GB HDD had many > fragmentations and no matter how I repeatedly do "fsck", the errors sayin= g > "hard error reading fsbn" are still there. I tried doing fsck over and > over > but it seems this is already a hardware error and can no longer be > corrected. So my goal now is to recover my files! > > First, I did a "mount -a" and was able to copy some of important files bu= t > I > have more data which I need to backup which I thought would only be > possible > if I can make the server boot and make it work at least with TCP/IP so I > can > transfer data to the other PCs in the LAN. But, after "mount -a", I edite= d > the fstab to set mounts to "frw" to force mount all drives and not give m= e > those "hard error reading fsbn". So, I rebooted the machine, only to find > out that after it mounted all partitions the the "/usr/libexec/getty" > something can't be found or executed for ttys and its giving me unending > errors. And there it goes, I can no longer access my filesystem because i= t > hangs or doesn't have a terminal when the machine is about to finish > booting. There is no prompt anymore, all I can see are the getty errors. > If > only I can edit fstab back without "f" option, I can still manually copy > my > files to a USB. > > Is there anyway to still recover my files? Is there a way I can edit > fstab > to remove "f" option so I can't have those getty errors? Or is it possibl= e > to mount the server's HDD in another FreeBSD machine? > > > Thanks. > Ed > _______________________________________________ > 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" > > -- -- Edwin D. Vi=F1as http://www.wisoy.com http://www.geocities.com/edwin_vinas/ IN THE WORLD OF SCIENCE, NOTHING IS IMPOSSIBLE. --