From owner-freebsd-questions@FreeBSD.ORG Fri Oct 7 05:55:34 2005 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 0566916A41F for ; Fri, 7 Oct 2005 05:55:34 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCD4443D45 for ; Fri, 7 Oct 2005 05:55:31 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from glenn-mobile.antimatter.net (cpe-66-91-227-82.san.res.rr.com [66.91.227.82]) (authenticated bits=0) by cobalt.antimatter.net (8.13.4/8.13.4) with ESMTP id j975stOf024132 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Oct 2005 22:55:15 -0700 X-MailKey: purple frogs are falling from the sky Message-Id: <6.2.3.4.2.20051006224355.025ff130@cobalt.antimatter.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Thu, 06 Oct 2005 22:53:05 -0700 To: RYAN vAN GINNEKEN , freebsd-questions@freebsd.org From: Glenn Dawson In-Reply-To: <4345D57B.7090407@computerking.ca> References: <4345D57B.7090407@computerking.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: disk errors help!! 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: Fri, 07 Oct 2005 05:55:34 -0000 At 06:55 PM 10/6/2005, RYAN vAN GINNEKEN wrote: >My freebsd 4.11 system has been subjected to a power failure and >seems to have many disk errors something about soft updates and not >being able to read certain sectors it comes up with the standard >single user pick your shell command and tells me to run fsck >manually. I have run it several times but the system keeps comming >with ad0s4 marked dirty which is my /usr partition. Sometimes i get >a resetting device ata0 timeout error. What should i do of course i >have no current backups for this system and the most important thing >is retrieving my users data it would be great if i could get the >system to boot up but if i have to reinstall no biggy as long as i >can get most of my data back. > >ps i promise to do remote backups nightly for the rest of my life. Sounds like you definitely have some problems. If you have somewhere to put it, you can use dd with conv=noerror,sync to get an image of the drive, less the damaged areas (which get filled in with nul's by the sync option). Once you have the image, you can use it as a backing store for md(4), fsck that, mount it and get whatever you can from what's left. -Glenn >-- >Computer King/CaNMail > >http://www.computerking.ca http://www.canmail.org > >Sales, Service, and Hosting >Email, Data, and Web Packages >Ask about web design specials > >Affiliates >http://www.computerking.ca/pages/links/affiliates/affiliates.htm > >-- > >If you eat a live frog in the morning, nothing worse will happen to >either of you for the rest of the day. > >_______________________________________________ >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"