[Wylug-help] Disaster recovery: dd syntax [CORRECTION]

Dave Fisher wylug-help at davefisher.co.uk
Sun Feb 25 12:55:19 GMT 2007


On Sun, Feb 25, 2007 at 12:47:22PM +0000, Dave Fisher wrote:
> cat /proc/partitons shows this:
> 
>   major minor  #blocks  name
>     
>       3 0   78125000 hda
>       3 5     377496 hda5
>       3 6   42339276 hda6
>       8 0  195360984 sda
>       8 1  195358401 sda1
>     254 0      56196 dm-0
>     254 1   31664115 dm-1
>     254 2    3670852 dm-2
>     254 3     377496 dm-3
>     254 4   42339276 dm-4
>     254 5  195358401 dm-5
> 
> Assuming that I've got roughly 1MB blocks, dm-0 to dm-5 seem to match
> the attached disk and partition sizes:
> 
>     dm-0 = hda1
>     dm-1 = hda2
>     dm-2 = hda5
>     dm-3 = hda6
>     dm-4 = hda4
>     dm-5 = sda1 (the attached USB drive)

The last stanza should read:

     dm-0 = hda1
     dm-1 = hda2
     dm-2 = hda4
     dm-3 = hda5
     dm-4 = hda6
     dm-5 = sda1 (the attached USB drive)

Dave



More information about the Wylug-help mailing list