From owner-freebsd-fs@FreeBSD.ORG Sun Oct 30 13:06:06 2005 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC0E116A41F for ; Sun, 30 Oct 2005 13:06:06 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: from web30302.mail.mud.yahoo.com (web30302.mail.mud.yahoo.com [68.142.200.95]) by mx1.FreeBSD.org (Postfix) with SMTP id 3602F43D45 for ; Sun, 30 Oct 2005 13:06:06 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 35722 invoked by uid 60001); 30 Oct 2005 13:06:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=6CYOHrSdGmABDlD8quQBpOaG4UvYwU/sj942gP4T0Z/svgyRIdMyovKNcCzrfgu1yG8USpeakiP1kG6VJAphDe1DH6kSdcguqjrRVUlG3vIXObQ7RsyYVW37y+BTlja5Syn7obvxk0eHiHfGj2og5XoHYI5dklr4bb/xb5K84S4= ; Message-ID: <20051030130605.35720.qmail@web30302.mail.mud.yahoo.com> Received: from [213.54.84.222] by web30302.mail.mud.yahoo.com via HTTP; Sun, 30 Oct 2005 05:06:05 PST Date: Sun, 30 Oct 2005 05:06:05 -0800 (PST) From: Arne "Wörner" To: Gal Ben-Haim , freebsd-fs@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: disklabel recovery X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 13:06:06 -0000 --- Gal Ben-Haim wrote: > meanwhile I did a 'dd' image of the drive to a network drive and > formatted the hd, I needed the system up again. > > what can I do with that 'dd' image in order to restore atleast > some of the data on that drive ? > 1. You could just dd the image back to the freshly sliced disc and then do a "fsck -f" (forced check even if it is marked clean). 2. You could try to fsck the image via # mdconfig -a -t vnode -f # fsck -f /dev/md # mount /dev/md /mnt # ls /mnt/. -Arne __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com