bug-ddrescue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ddrescue] Question about identifying which disk has data on it


From: Will
Subject: Re: [Bug-ddrescue] Question about identifying which disk has data on it
Date: Mon, 24 Dec 2012 10:52:33 +0000 (GMT)

Thank you very much David, much appreciated. Merry Christmas!

Will



From: David Banks <address@hidden>
To: Will <address@hidden>
Cc: "address@hidden" <address@hidden>
Sent: Sunday, 23 December 2012, 16:45
Subject: Re: [Bug-ddrescue] Question about identifying which disk has data on it

On 21 December 2012 22:36, Will <address@hidden> wrote:
> Q1 - Is there a command I can use to find out which disk is which? One has data on from the raid, the other is brand new and has never been used.

fdisk /dev/sda, use 'p' to print the partition table.  If the disk is
the brand new one, it will have no partitions, or it may sometimes be
preformatted with a Windows partition. If you want to be totally sure,
just mount the disks in turn, and 'ls' the contents of the mount
point.

> Q2 - I then intend to use
> root# ddrescue -r-1 -n -S -v /dev/sda /dev/sdb recovery.log
> to clone from sda to sdb
> Is this correct please?

Looks fine.

Cheers,
--
David Banks  <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]