Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2005 05:06:05 -0800 (PST)
From:      Arne "Wörner" <arne_woerner@yahoo.com>
To:        Gal Ben-Haim <gbenhaim@gmail.com>, freebsd-fs@freebsd.org
Subject:   Re: disklabel recovery
Message-ID:  <20051030130605.35720.qmail@web30302.mail.mud.yahoo.com>
In-Reply-To: <fac025520510300455n4a670825g9bdbafb19c17cc93@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--- Gal Ben-Haim <gbenhaim@gmail.com> 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 <network image>
# fsck -f /dev/md<unit number>
# mount /dev/md<unit number> /mnt
# ls /mnt/.

-Arne



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051030130605.35720.qmail>