search for: ddrescu

Displaying 20 results from an estimated 64 matches for "ddrescu".

Did you mean: ddrescue
2020 May 22
0
[PATCH nbdkit] DDRESCUE: MISC FIXES
Use vector type to store map ranges. Test filenames unique. Remove some unused variables. Break up long lines. --- filters/ddrescue/nbdkit-ddrescue-filter.pod | 6 ++- filters/ddrescue/ddrescue.c | 42 ++++++++++----------- tests/test-ddrescue-filter.sh | 10 ++--- 3 files changed, 29 insertions(+), 29 deletions(-) diff --git a/filters/ddrescue/nbdkit-ddrescue-filter.pod b/filters/ddrescue/nbdki...
2020 May 22
3
[PATCH nbdkit] ddrescue: Miscellaneous fixes.
A few fixes and a possible enhancement to the ddrescue filter. If you think these are all OK, I will squash it into your patch and push it. Rich.
2020 May 22
0
[PATCH] [v3] ddrescue mapfile filter
This allows to overlay bad sectors according to the mapfile generated by ddrescue, to then see where sectors are used using fsck and trying to copy files around. Should now be mature enough to be useful to someone else. And we have a proper test also. Signed-off-by: François Revol <revol@free.fr> --- configure.ac | 2 + filters/ddrescu...
2020 May 01
1
[PATCH] WIP: ddrescue mapfile filter
This allows to overlay bad sectors according to the mapfile generated by ddrescue, to then see where sectors are used using fsck and trying to copy files around. Signed-off-by: Fran?ois Revol <revol at free.fr> --- configure.ac | 2 + filters/ddrescue/Makefile.am | 75 +++++++ filters/ddrescue/ddrescue.c |...
2020 May 01
4
[PATCH] [v2] WIP: ddrescue mapfile filter
This allows to overlay bad sectors according to the mapfile generated by ddrescue, to then see where sectors are used using fsck and trying to copy files around. Signed-off-by: Fran?ois Revol <revol at free.fr> --- configure.ac | 2 + filters/ddrescue/Makefile.am | 75 +++++++ filters/ddrescue/ddrescue.c |...
2020 May 01
0
Re: [PATCH] [v2] WIP: ddrescue mapfile filter
On 5/1/20 2:16 PM, Fran?ois Revol wrote: > This allows to overlay bad sectors according to the mapfile generated by > ddrescue, to then see where sectors are used using fsck and trying to > copy files around. > > Signed-off-by: Fran?ois Revol <revol at free.fr> > --- Focusing on just the docs: > +++ b/filters/ddrescue/nbdkit-ddrescue-filter.pod > @@ -0,0 +1,74 @@ > +=head1 NAME > + > +n...
2017 Dec 14
2
Accessing crashed disk
On 14/12/17 18:57, Warren Young wrote: > On Dec 13, 2017, at 5:15 PM, J Martin Rushton <martinrushton56 at btinternet.com> wrote: >> >> # dd if=/dev/sdc of=/home/dd-copy-of-sdc > > Better, use ddrescue: > > https://www.gnu.org/software/ddrescue/ > > dd will do unfortunate things like quit early on I/O errors, even if later blocks would read just fine. ddrescue assumes the input file is dodgy and tries to cope. > Looks interesting. I've only used dd in anger, and then on...
2017 Dec 14
2
Accessing crashed disk
On 13/12/17 21:42, Leon Fauster wrote: > Am 13.12.2017 um 22:31 schrieb martin.wagner at mailbit.io: > >> I have a Centos server that crashed, it would no longer boot. I thought it was the disk with the OS that was the problem so I bought a new one and did a fresh install and now the computer is again up and running. But I'm having problems with accessing the old failed disk. I
2020 Apr 30
1
Anything for nbdkit 1.20? / ddrescue filter latest version?
Eric: Even though it's only been about 2 months, we have a very good feature set for nbdkit 1.20. Is there anything you'd like to get in or any patches I have missed? Francois: you mentioned the ddrescue filter yesterday. While I don't want to put in a new filter right before we do a release (new features need to sit around in development so we can uncover bugs), if you do have updated patches we could still review them. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.r...
2020 Sep 26
7
Using CentOS 7 to attempt recovery of failed disk
I have a disk that is flagging errors, attempting to rescue the data. I tried dd first - if gets about 117G of 320G disk and stops incrementing the save image any more. Now I'm trying ddrescue and it also stops about the same point Thoughts on how to continue past that point ? Thanks, Jerry
2020 May 22
0
Re: [PATCH] [v2] WIP: ddrescue mapfile filter
On Fri, May 22, 2020 at 02:13:22AM +0200, François Revol wrote: > Le 01/05/2020 à 23:16, Richard W.M. Jones a écrit : > > On Fri, May 01, 2020 at 09:16:14PM +0200, François Revol wrote: > >> +nbdkit_ddrescue_filter_la_LDFLAGS = \ > >> + -module -avoid-version -shared \ > >> + -Wl,--version-script=$(top_srcdir)/filters/filters.syms \ > >> + $(NULL) > > > > Still lacking $(SHARED_LDFLAGS) here? > > > > The rest seems fine (but see Eric's suggestio...
2020 May 22
1
Re: [PATCH nbdkit] DDRESCUE: MISC FIXES
On 5/22/20 2:53 PM, Richard W.M. Jones wrote: > Use vector type to store map ranges. > > Test filenames unique. > > Remove some unused variables. > > Break up long lines. > --- > @@ -95,7 +95,8 @@ parse_mapfile (const char *filename) > continue; > } > > - if (sscanf (line, "%" SCNi64 "\t%" SCNi64 "\t%c",
2020 May 22
0
Re: [PATCH nbdkit] DDRESCUE: MISC FIXES
This is upstream now. Thanks for your contribution to nbdkit. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
2017 Dec 14
0
Accessing crashed disk
...shton <martinrushton56 at btinternet.com> wrote: > On 14/12/17 18:57, Warren Young wrote: >> On Dec 13, 2017, at 5:15 PM, J Martin Rushton <martinrushton56 at btinternet.com> wrote: >>> >>> # dd if=/dev/sdc of=/home/dd-copy-of-sdc >> >> Better, use ddrescue: >> >> https://www.gnu.org/software/ddrescue/ >> >> dd will do unfortunate things like quit early on I/O errors, even if later blocks would read just fine. ddrescue assumes the input file is dodgy and tries to cope. >> > Looks interesting. I've only used d...
2013 Dec 16
0
Recover files from a broken ext3 partition
...ot a hard disk which was damaged by a fall and would like to recover a few files from that. (There is a backup for most of the data, but a handful of recent files are missing. These are important enough to spend some time on them, but not for paying a professional data recovery service). Using GNU ddrescue I was able to read 99.8% of the partition, so there's hope the data is still there. Unfortunately, some key parts of the file system seem to be damaged, so e2fsck fails: - ------------------------------ % ddrescuelog -l- -b4096 sdd5.ddrescue.log > badblocks.sdd5.4096 % e2fsck -b 20480000 -...
2016 Jun 28
1
rsync failure on corrupted source data
...e the > error happens on writing the data on the destination. > > rsync: write failed on ... : Result too large (34) > > However I don't know what that error means. Ditto. But sort of answering the original question, if it is a corrupted source, then my favourite tool is gnu ddrescue which is specifically designed for recovering as much as possible from failing/damaged media. It's saved the day for me (or friends/clients) many times :-) https://www.gnu.org/software/ddrescue/ Note: always use it with a log file - then it keeps track of what's been copied, what's a &...
2014 Oct 04
1
how2 mount ntfs partition that is part of a full HD image file
I have a full disk image file (courtesy of ddrescue), and need to mount one of its partitions. I suppose I should have just extracted the single partition when I was using ddrescue, but right now I have the whole disk instead, and no disk space left to re-do the extraction (in fact I won't be able to use the system where I did it for several we...
2020 Apr 27
4
io_uring cause data corruption
...can > confirm the Samba corruptions happen with this kernel patch also. Hello again, I set up the following test case: * Linux 5.7-rc3 (with the patch from previous mail) * samba-4.12.1 * gcc-9.3.0 * liburing-0.6 * glibc-2.30-r8 ================================= Test 1) Copy 10 10GB files. 1) ddrescue -s 10G -v -f /dev/urandom 0.bin 2) for((i=1;i<=10;i+=1)); do cp --reflink=always 0.bin $i.bin; done 3) sha256sum *.bin > sha256sum.txt 4) Windows 10, file explorer, copy the 10 files to a local disk D:\test\ 5) Verify local files in D:\test with sha256sum 6) sha256sum was correct. 7) redid s...
2020 Sep 26
1
Using CentOS 7 to attempt recovery of failed disk
Well, I'm not a noted expert on ddrescue, but my limited experience tells me that when it hits bad spots (or a big cluster of them) it can go very slowly as it tries multiple times to read each sector (or track, I'm not sure which, in this case). It keeps a list of bad spots and goes back at the end to try again to read something fro...
2013 Nov 25
2
rsync seems to overwhelm a failing hard disk
Hello rsync people Today I was recovering data from a beginning-to-fail external USB hard disk. I started with my usual 'rsync -av --ignore-errors <source> <dest>', and that was fine until it got to the first I/O errors. It paused but continued after the first couple of errors, but then the disk started buzzing and rsync gave error messages for every file (I'm afraid