disklabel recovery

Arne Wörner arne_woerner at yahoo.com
Sun Oct 30 05:06:06 PST 2005


--- Gal Ben-Haim <gbenhaim at 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


More information about the freebsd-fs mailing list