Re: How do you duplicate a drive?

From: Remko Lodder (remko_at_elvandar.org)
Date: 10/01/04

  • Next message: K. Greenwood: "NDISulator (aka. Project Evil) wmp54gs w. bcm4306"
    Date: Fri, 01 Oct 2004 20:32:27 +0200
    To: Matt Staroscik <matt@wrongcrowd.com>
    
    

    Matt Staroscik wrote:
    >
    > I have a RAID mirror (2x 160GB) which I would like to back up onto a
    > spare 160GB drive.
    >
    > I do not have a hot-swap caddy so I was planning on powering down the
    > system to get the backup drive in and out.
    >
    > But once I have the new blank drive in, what is the best way to
    > duplicate the RAID? Ideally I would like to create a disk that could
    > boot the system (and rebuild the RAID) in case disaster strikes.
    >
    > Can dd do this?
    >
    > I am new to Unix disk operations... Many thanks in advance for the help.
    >

    I think that dd if=/dev/<raiddisk> of=/dev/<newdisk> would work in
    duplicating the entire raid disk. I don't know if there are better ways,
    so if someone knows them, we would like to know ;)

    Cheers!

    -- 
    Kind regards,
    Remko Lodder                   |remko@elvandar.org
    Reporter DSINet                |remko@dsinet.org
    Projectleader Mostly-Harmless  |remko@mostly-harmless.nl
    Founder Tienervaders           |remko@tienervaders.org
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: K. Greenwood: "NDISulator (aka. Project Evil) wmp54gs w. bcm4306"

    Relevant Pages

    • slackware 9.1 software raid problem
      ... Setting up a RAID system with Slackware 8 is not extremely difficult once ... mirroring the root partition and booting from that mirror was not possible. ... Each disk is attached to a different IDE chain on the motherboard. ... The ability to boot from the Slackware 8 install CD. ...
      (alt.os.linux)
    • Re: Is it HighPoint, is it Seagate, or is it Windows 2000 Professional
      ... I have really learnt about the uses and limits of RAID. ... Use all the manufacturer recommended system recovery ... provisions -- Emergency Disk, have a DOS boot disk ready, ... what could cause Windows to suddenly change its mind ...
      (microsoft.public.win2000.setup)
    • Re: [opensuse] 10.2 no RAID to 11.0 RAID 1
      ... 10.2 no RAID to 11.0 RAID 1 ... you can force rebuilds in mdadm in situations where no firmware raid will ever let you. ... Send me your problem disks that you think are impossible to assemble and I bet in a little while I can tell you how to assemble the array as long as there actually is enough there to use. ... One thing I've seen, which I don't think is your problem but shows the kind of thing that happens, a disk will drop out of the array and reappear instantly as a higher drive letter than the system really has. ...
      (SuSE)
    • LVM on SW RAID for sarge - success
      ... I've just had success migrating Debian Sarge to root on LVM on RAID. ... First make sure the SCSI BIOS boots from the first disk. ... I made reiserfs on all the filesystem partitions and completed the ... The remaining two disks were partitioned and used to create RAID arrays ...
      (Debian-User)
    • Re: Platzierung und Größe der Auslagerungsdatei
      ... der Controller steckt, ... Bei der Latency ist die Raptor um Faktor 1,4, bei der Seektime um Faktor ... We recommend that you plan to use less than 80% disk utilization at ... Raid 0 has the same cost as no raid. ...
      (microsoft.public.de.german.windows.server.general)