Menu

Confused with cloning a unix box

Help
Simon Hart
2012-03-30
2013-04-05
  • Simon Hart

    Simon Hart - 2012-03-30

    Hi folks.

    I have a server running oneiric and I've installed a pair of new drives. My intention is to clone the current boot drive to one of the new ones and then join the second new drive to the first one as a software RAID1 set.

    I read the step-by-step for cloning a drive which starts of talking about a USB memory stick, then goes on to discus an external drive. I couldn't see any instructions on how to get a bootable clonezilla onto a memory stick (I downloaded the zip and the iso versions so I had both, just in case). How do you do that?

    I know clonezilla can't handle a RAID set but does anyone know how to create the RAID set after cloning?

    The output from

    fdisk -l
    

    is appended to the post. Notice a couple of errors. Are they important? Will clonezilla handle breaking the current RAID set or do I do that manually and, if manually, how?

    Thanks for your help. :)

    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00091c03
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1            2048     9764863     4881408   fd  Linux raid autodetect
    /dev/sda2   *     9764864   976771071   483503104   fd  Linux raid autodetect
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000cd614
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1            2048     9764863     4881408   fd  Linux raid autodetect
    /dev/sdb2   *     9764864   976771071   483503104   fd  Linux raid autodetect
    Disk /dev/sdc: 120.1 GB, 120060444672 bytes
    255 heads, 63 sectors/track, 14596 cylinders, total 234493056 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00064709
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1   *        2048      499711      248832   83  Linux
    /dev/sdc2          501758   234491903   116995073    5  Extended
    /dev/sdc5          501760   234491903   116995072   8e  Linux LVM
    Disk /dev/mapper/laphroaig-root: 118.7 GB, 118732357632 bytes
    255 heads, 63 sectors/track, 14435 cylinders, total 231899136 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    Disk /dev/mapper/laphroaig-swap_1: 1061 MB, 1061158912 bytes
    255 heads, 63 sectors/track, 129 cylinders, total 2072576 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    
     
  • Simon Hart

    Simon Hart - 2012-03-30

    ARGH! The errors didn't show up. Here they are

    Disk /dev/mapper/laphroaig-root doesn't contain a valid partition table
    Disk /dev/mapper/laphroaig-swap_1 doesn't contain a valid partition table
    
     
  • Steven Shiau

    Steven Shiau - 2012-04-05

    "I couldn't see any instructions on how to get a bootable clonezilla onto a memory stick (I downloaded the zip and the iso versions so I had both, just in case). How do you do that?" -> http://clonezilla.org/liveusb.php

    For RAID, as mentioned on http://clonezilla.org, it is _NOT_ well supported…

    Steven.

     

Log in to post a comment.