Re: OT: Mirroring via disk image file

From: Andrew M.A. Cater (amacater_at_galactic.demon.co.uk)
Date: 10/30/05

  • Next message: Jacob Lahr: "debian-user@lists.debian.org"
    Date: Sun, 30 Oct 2005 21:57:24 +0000
    To: debian-user@lists.debian.org
    
    

    On Sun, Oct 30, 2005 at 04:08:08PM -0500, Marty wrote:
    > Roberto C. Sanchez wrote:
    >
    > >If the drives are *exactly* identical, you can move your old drive to be
    > >the slave on the secondary ide channel, which makes it hdd. Then place
    > >the new drive on hda. Boot Knoppix, or another suitable live CD distro,
    > >and then do this:
    > >
    > >dd if=/dev/hdd of=/dev/hda
    >
    > That's equivalent my cp example and it doesn't solve the problem. I want
    > (and need) to use an intermediate image file.
    >
    Boot Knoppix - tar up the partitions on the disk, preserving
    permissions.

    Create the file system spaces on the new disk. Untar the tarred-up
    partitions, preserving permissions. Re-run lilo or grub.

    Identical drives means - exactly identical down to C,H,S sizes if you
    want to be sure to use a dd

    Alternatively, look at a cpio / tar solution. Bear in mind that an
    intermediate 80GB file is going to have to be stored somewhere if
    you're doing this with 80GB drives and you want to preserve the
    intermediate step.

    HTH,

    Andy
    >
    > --
    > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
    > with a subject of "unsubscribe". Trouble? Contact
    > listmaster@lists.debian.org

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Jacob Lahr: "debian-user@lists.debian.org"

    Relevant Pages

    • Re: system cloning
      ... and it has a single hard drive installed (32GB SCSI I ... If you want two more identical drives then use dump, not tar, but you'd ... get a copy of an unbootable Linux SCSI disk onto an IDE. ...
      (freebsd-questions)
    • Re: Large number of IDE drives
      ... > I'll be buying 16 identical drives, so that won't be a problem. ... > got a case in mind that holds 16 IDE drives. ... Most case makers are making backplanes for SCSI, ATA & S-ATA. ...
      (comp.os.linux.hardware)
    • Re: Weird SCSI errors on an Ultra 2
      ... identical drives. ... I bought the drives last week with a 3 month ... The company I bought the disks from said they were throughly tested ... There still aren't any grown defects. ...
      (comp.sys.sun.hardware)
    • RE: Backup From One Drive - Restore To Another
      ... 2] Hook the second drive to another IDE channel. ... 7] (if using grub, re-install grub). ... 8] Disconnect drives, etc, change channels. ... 9] Put replacement HDD to primary channel, boot knoppix, set paths ...
      (Debian-User)
    • Re: parts compatibility sparc station 5 and 10
      ... AFAICT they are identical drives - it's a mystery to me why the part numbers differ. ...
      (comp.sys.sun.hardware)