Re: disk error / failure: need help! (smart failure predicted)

From: Steve Bertrand (iaccounts_at_northnetworks.ca)
Date: 12/11/03

  • Next message: Jeff Palmer: "Re: When FreeBSD have higer performans than Linux and When Linux havehigher performans than FreeBSD"
    To: "Arie J. Gerszt" <arie@gerszt.ch>
    Date: Thu, 11 Dec 2003 15:49:41 -0500
    
    

    > > At the moment the disk works (still). What is the easiest way to
    > > copy everything from this disk to another new one (including boot
    > > mgmr, mbr)
    > >
    > > the system has in total 3 disks, but only the first (the broken one)
    > > is bootable.
    > >
    >
    > Put in another disk drive temporarily, and since this is only a one time
    > thing, you can use dd. Try to eliminate most, if not all access to the
    > box:
    >
    > # dd if=/dev/ad0 of=/dev/ad4
    >
    > Substitute ad4 with the dev name of the temporary drive. Once dd is
    > done, take out the primary disk and replace it with the new clone. Read
    > man dd(8) as I don't know off the top of my head what the optimal
    > options would be for dd in this case.
    >

    I'm following a thread in questions right now, and I must agree with
    some of the posts stating that using dd on the / filesystem could cause
    grief if the partition is mounted. You may want to use a fixit floppy or
    alternative boot method and then dd the disk to ensure no writes occur
    whilst in transfer.

    Steve

    > Steve
    >
    > > thanks,
    > > arie
    > >
    > > _______________________________________________
    > > freebsd-isp@freebsd.org mailing list
    > > http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    > > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"

    -- 
    Steve Bertrand
    President/CTO,
    Northumberland Network Services
    t: 905.352.2688
    w: www.northnetworks.ca
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: Jeff Palmer: "Re: When FreeBSD have higer performans than Linux and When Linux havehigher performans than FreeBSD"

    Relevant Pages

    • Re: disk error / failure: need help! (smart failure predicted)
      ... dd is faster, tho. ... In single user: ... sure that all blocks of the disk in question are read. ... Steve Bertrand wrote: ...
      (freebsd-isp)
    • Re: disk error / failure: need help! (smart failure predicted)
      ... > in one of our servers we have a disk where the bios reports ... > unfortunately this happens to be our start volume (ad0) which has ... > At the moment the disk works. ... Steve Bertrand ...
      (freebsd-isp)
    • Re: Writing a correct MBRfrom User Mode
      ... >>So do you want to do it unattended, or do you want to attach it to a Windows ... The user used DiskManagement to create a system partition on a secondary disk. ... This disk's MBR must be correct, what ever its previous step was. ...
      (microsoft.public.win32.programmer.kernel)
    • Re: Lost MBR after windows installed
      ... My difficulty is that the SuSE 10.2 MBR was hosed when I ... installed Win XP on the first SATA disk and the ... SuSE partitions are on the second drive (sdb1, ... the Linux that was on the other partitions without any ...
      (comp.os.linux.hardware)
    • Re: Fixing a MBR (and more) that ??? trashed
      ... Even the Windows blowing away ... >> MBR is an annoyance, not a disaster since it is easy to rewrite. ... >> more than just adding a disk or Windows killing your MBR. ... > hardware, and then boot first into FBSD, all is well EXCEPT the boot ...
      (freebsd-questions)