|
View:
New views
13 Messages
—
Rating Filter:
Alert me
|
|
|
ddrescue - disk 2 disk (ntfs)Hi Guys,
I am running Ubuntu. I have booting off sda. sdb is a NTFS based disk with errors. I want to clone it as best as possible to sdc. sdc is a brand new disk, not containing any partitions or initalised etc. sdc is heaps bigger that sdb. When I try "sudo ddrescue -v /dev/sdb/ /dev/sdc logfile" I get "no space left on device" I asusme its something to do with the new disk, maybe having to copy/mount in raw? please help. Cheers -AL |
||||
|
|
|
| To do what you want to do, no, you don't have to have the drive partitioned or formatted. What you are doing should work. Are you sure that sdc is the correct device? What does sudo lshw -C disk -short show? --- On Sat, 7/11/09, Al Grant <bigal.nz@...> wrote:
|
andrew zajac-2 wrote:To do what you want to do, no, you don't have to have the drive partitioned or formatted. What you are doing should work.
Are you sure that sdc is the correct device?
What does
sudo lshw -C disk -short
show?
--- On Sat, 7/11/09, Al Grant <bigal.nz@gmail.com> wrote:
From: Al Grant <bigal.nz@gmail.com>
Subject: [Bug-ddrescue] ddrescue - disk 2 disk (ntfs)
To: Bug-ddrescue@gnu.org
Received: Saturday, July 11, 2009, 4:07 AM
Hi Guys,
I am running Ubuntu. I have booting off sda.
sdb is a NTFS based disk with errors. I want to clone it as best as possible
to sdc. sdc is a brand new disk, not containing any partitions or initalised
etc. sdc is heaps bigger that sdb.
When I try "sudo ddrescue -v /dev/sdb/ /dev/sdc logfile"
I get "no space left on device"
I asusme its something to do with the new disk, maybe having to copy/mount
in raw? please help.
Cheers
-AL
--
View this message in context: http://www.nabble.com/ddrescue---disk-2-disk-%28ntfs%29-tp24438174p24438174.html
Sent from the Gnu - ddrescue mailing list archive at Nabble.com.
_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ddrescue
__________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now
http://ca.toolbar.yahoo.com.
_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ddrescue
| > > When I try "sudo ddrescue -v /dev/sdb/ /dev/sdc logfile" > > I get "no space left on device" Get rid of the trailing slash on /dev/sdb/ sudo ddrescue -v /dev/sdb /dev/sdc logfile Maybe that's the problem. |
MacXperte wrote:Al Grant <bigal.nz@gmail.com> schreibt am 11.7.2009 10:07 Uhr:
> When I try "sudo ddrescue -v /dev/sdb/ /dev/sdc logfile"
>
> I get "no space left on device"
>
> I asusme its something to do with the new disk, maybe having to copy/mount
> in raw? please help.
Maybe the error is not about writing to sdc but about writing the logfile.
What is your current working directory (pwd)?
What happens if you try: echo test >> logfile
Florian
_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ddrescue
Your syntax does not seem correct, I think this command would image sdb to /storage and save a log file to test.bin you it may be a transcription typo, and you could try copying the good areas first.
sudo ddrescue -v /dev/sdb /storage test.bin testlog
suggestion:
copy the error free areas first
ddrescue -n /dev/sdb /storage/test.bin testlog
attempt to recover any bad sectors
ddrescue -r 1 /dev/sdb /storage/test.bin testlog
Hi,
Well the plot thickens I have given up trying to clone the drives but are
now trying simply to create a bin file of the bad drive.
This is what happens so far:
1. Initally I was using a USB-SATA bridge, and mounting a 250Gb NTFS drive,
and trying to image the 160Gb PATA drive. The PATA drive was not mounted.
The NTFS drive is mounted to /storage.
The problem with this was that it was very slow and every day or so it would
stop or the computer would freeze. I estimated it was going to take about 7
days doing 25Gb/day. I was using this command:
sudo ddrescue -v /dev/sdb /storage test.bin testlog
2. So I went out and brought a SATA/PATA PCI card to make things easier.
Now the bad disk is plugged into the motherboard PATA controller and the
target SATA drive is on its own PCI card controller.
Again I was mounting the good drive to /storage and issuing a similar
command to above. Heres whats strange:
(a) I can see the image file created so far. Its 3Gb. If I restart the
rescue, with the same parameters, so it should resume the 3Gb doesnt get any
bigger, even tho the output window of ddrescue tells me its rescued 2200Mb.
Now I know i am writing to the 3Gb file because the time stamp is changing.
What is also weird is how small the log file is, its only about 30 lines - I
assume for 2200Gb it should be much bigger???
And whats more I left this running overnight (I was connected via a remote
desktop session) - when I went to check on it in the morning the remote
session was dead and logging into the computer when infront of it started a
new session, so I am not really sure what was happening, if anything, in the
old session.
So....I think I am geting closer but not sure if the crashing is the
computer, the remote session or ddrescue.
Any ideas?
Anyone here on skype able help via IM?
Also anyone know how to reconnect to a dead remote session without starting
a new one?
THanks in advance,
-Al
--
MacXperte wrote:
>
> Al Grant <bigal.nz@gmail.com> schreibt am 11.7.2009 10:07 Uhr:
>
>> When I try "sudo ddrescue -v /dev/sdb/ /dev/sdc logfile"
>>
>> I get "no space left on device"
>>
>> I asusme its something to do with the new disk, maybe having to
>> copy/mount
>> in raw? please help.
>
> Maybe the error is not about writing to sdc but about writing the logfile.
>
> What is your current working directory (pwd)?
> What happens if you try: echo test >> logfile
>
> Florian
>
>
>
> _______________________________________________
> Bug-ddrescue mailing list
> Bug-ddrescue@...
> http://lists.gnu.org/mailman/listinfo/bug-ddrescue
>
>
View this message in context: http://www.nabble.com/ddrescue---disk-2-disk-%28ntfs%29-tp24438174p24486211.html
Sent from the Gnu - ddrescue mailing list archive at Nabble.com.
_______________________________________________
Tom-331 wrote:Your syntax does not seem correct, I think this command would image sdb to
/storage and save a log file to test.bin you it may be a transcription typo,
and you could try copying the good areas first.
sudo ddrescue -v /dev/sdb /storage test.bin testlog
suggestion:
copy the error free areas first
ddrescue -n /dev/sdb /storage/test.bin testlog
attempt to recover any bad sectors
ddrescue -r 1 /dev/sdb /storage/test.bin testlog
On Wed, Jul 15, 2009 at 5:28 AM, Al Grant <bigal.nz@gmail.com> wrote:
>
> Hi,
> Well the plot thickens I have given up trying to clone the drives but are
> now trying simply to create a bin file of the bad drive.
>
> This is what happens so far:
>
> 1. Initally I was using a USB-SATA bridge, and mounting a 250Gb NTFS drive,
> and trying to image the 160Gb PATA drive. The PATA drive was not mounted.
> The NTFS drive is mounted to /storage.
>
> The problem with this was that it was very slow and every day or so it
> would
> stop or the computer would freeze. I estimated it was going to take about 7
> days doing 25Gb/day. I was using this command:
>
> sudo ddrescue -v /dev/sdb /storage test.bin testlog
>
> 2. So I went out and brought a SATA/PATA PCI card to make things easier.
>
> Now the bad disk is plugged into the motherboard PATA controller and the
> target SATA drive is on its own PCI card controller.
>
> Again I was mounting the good drive to /storage and issuing a similar
> command to above. Heres whats strange:
>
> (a) I can see the image file created so far. Its 3Gb. If I restart the
> rescue, with the same parameters, so it should resume the 3Gb doesnt get
> any
> bigger, even tho the output window of ddrescue tells me its rescued 2200Mb.
> Now I know i am writing to the 3Gb file because the time stamp is changing.
>
> What is also weird is how small the log file is, its only about 30 lines -
> I
> assume for 2200Gb it should be much bigger???
>
> And whats more I left this running overnight (I was connected via a remote
> desktop session) - when I went to check on it in the morning the remote
> session was dead and logging into the computer when infront of it started a
> new session, so I am not really sure what was happening, if anything, in
> the
> old session.
>
> So....I think I am geting closer but not sure if the crashing is the
> computer, the remote session or ddrescue.
>
> Any ideas?
>
> Anyone here on skype able help via IM?
>
> Also anyone know how to reconnect to a dead remote session without starting
> a new one?
>
> THanks in advance,
> -Al
>
>
> MacXperte wrote:
> >
> > Al Grant <bigal.nz@gmail.com> schreibt am 11.7.2009 10:07 Uhr:
> >
> >> When I try "sudo ddrescue -v /dev/sdb/ /dev/sdc logfile"
> >>
> >> I get "no space left on device"
> >>
> >> I asusme its something to do with the new disk, maybe having to
> >> copy/mount
> >> in raw? please help.
> >
> > Maybe the error is not about writing to sdc but about writing the
> logfile.
> >
> > What is your current working directory (pwd)?
> > What happens if you try: echo test >> logfile
> >
> > Florian
> >
> >
> >
> > _______________________________________________
> > Bug-ddrescue mailing list
> > Bug-ddrescue@gnu.org
> > http://lists.gnu.org/mailman/listinfo/bug-ddrescue
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/ddrescue---disk-2-disk-%28ntfs%29-tp24438174p24486211.html
> Sent from the Gnu - ddrescue mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> Bug-ddrescue mailing list
> Bug-ddrescue@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-ddrescue
>
_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ddrescue
Tom,Tom-331 wrote:Your syntax does not seem correct, I think this command would image sdb to
/storage and save a log file to test.bin you it may be a transcription typo,
and you could try copying the good areas first.
sudo ddrescue -v /dev/sdb /storage test.bin testlog
suggestion:
copy the error free areas first
ddrescue -n /dev/sdb /storage/test.bin testlog
attempt to recover any bad sectors
ddrescue -r 1 /dev/sdb /storage/test.bin testlog
| It started off this session with 629 different areas with errors which totaled 1500 kb of missing data. So far, it has been able to recover some of that missing data. In doing so, it broke up the error spots. So the areas before and after the newly recovered data now count as individual errors - the number of individual error spots goes up while the total amount of missing data goes down. --- On Thu, 7/16/09, Al Grant <bigal.nz@...> wrote:
|
andrew zajac-2 wrote:It started off this session with 629 different areas with errors which totaled 1500 kb of missing data. So far, it has been able to recover some of that missing data. In doing so, it broke up the error spots.
So the areas before and after the newly recovered data now count as individual errors - the number of individual error spots goes up while the total amount of missing data goes down.
--- On Thu, 7/16/09, Al Grant <bigal.nz@gmail.com> wrote:
From: Al Grant <bigal.nz@gmail.com>
Subject: Re: [Bug-ddrescue] ddrescue - disk 2 disk (ntfs)
To: Bug-ddrescue@gnu.org
Received: Thursday, July 16, 2009, 8:13 AM
Thigns are going well, but I was wondering, here is what I ran for the second
run to get data of the parts of the disk with errors:
al@al-ubuntu:~$ sudo ddrescue -r1 -v /dev/sdb /storage/test.bin testlog
About to copy 160041 MBytes from /dev/sdb to /storage/test.bin
Starting positions: infile = 0 B, outfile = 0 B
Copy block size: 128 hard blocks
Hard block size: 512 bytes
Max_retries: 1 Split: yes Truncate: no
Press Ctrl-C to interrupt
Initial status (read from logfile)
rescued: 160040 MB, errsize: 1507 kB, errors: 629
Current status
rescued: 160041 MB, errsize: 757 kB, current rate: 0 B/s
ipos: 4363 MB, errors: 1480, average rate: 17 B/s
opos: 4363 MB
Now if I read this correctly, it read from the log file that after the first
pass there was error size : 1507Kb?
And if I keep reading it says after the pass with -r1 option it now only has
(it completed) error size : 757Kb?
This is a reduciton in the total error size - I assume this is good?
But how can the error size go down, yet errors goes up (from 629 to 1480)?
Thanks in advance - trying to understand the program better!!
Cheers
-Al
--
View this message in context: http://www.nabble.com/ddrescue---disk-2-disk-%28ntfs%29-tp24438174p24515206.html
Sent from the Gnu - ddrescue mailing list archive at Nabble.com.
_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ddrescue
__________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now
http://ca.toolbar.yahoo.com.
_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ddrescue
| Free embeddable forum powered by Nabble | Forum Help |