[Top][All Lists]
[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: |
David Banks |
Subject: |
Re: [Bug-ddrescue] Question about identifying which disk has data on it |
Date: |
Sun, 23 Dec 2012 16:45:40 +0000 |
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>