Date: Tue, 22 Sep 2009 03:09:09 -0700 (PDT) From: jaymax <jaymax36@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Undelete or recover from badblocks on disks Message-ID: <25530662.post@talk.nabble.com> In-Reply-To: <20090919084324.GB51231@slackbox.xs4all.nl> References: <25498179.post@talk.nabble.com> <20090918052422.GA8637@slackbox.xs4all.nl> <25518685.post@talk.nabble.com> <20090919084324.GB51231@slackbox.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks again Roland, I think I must have lost those files when fsck_ffs did its salvage operation The expected files were /disk02/bkup/dump/ad0s1a-090909.dump /disk02/bkup/dump/ad0s1e-090909.dump /disk02/bkup/dump/ad0s1f-090909.dump fls from the image file => listfile # sed -n 30153,30158p list d/d 4804608: bkup d/d 918528: servers + d/d 918529: apache ++ d/d 918530: httpd-2.0.40 +++ d/d 918531: os ++++ d/d 918532: os2 Shows the bkup directory but no subdirectory (i.e ../dump/. or dumpfiles Now, if perchance these files were found with fls what would have been the method to extract them back and make them readable to the file system. Thanks _________________ Roland Smith wrote: > > On Fri, Sep 18, 2009 at 10:17:31PM -0700, jaymax wrote: >> >> Thanks Roland, > > Create a disk image from the damaged drive, and save it on another disk > with enough space. You can use dd(1) to create a disk image. You can > devide the image into several files. For example, I will use dd to get two > consecutive 10 > > # dd if=/dev/da0s1 of=dd1.img bs=1m count=10 > 10+0 records in > 10+0 records out > 10485760 bytes transferred in 1.031497 secs (10165575 bytes/sec) > > The (valid, IMHO) reason for using disk images is that you want to > investigate a copy of the data, so you cannot accidentily destroy the > original data. > -- View this message in context: http://www.nabble.com/Undelete-or-recover-from-badblocks-on-disks-tp25498179p25530662.html Sent from the freebsd-questions mailing list archive at Nabble.com.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25530662.post>