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

From: Viacheslav Voytovich (voytovich_slava_at_land.ru)
Date: 12/14/03

  • Next message: Mario Theodoridis: "Re: disk error / failure: need help! (smart failure predicted)"
    To: "Steve Bertrand" <iaccounts@northnetworks.ca>
    Date: Sun, 14 Dec 2003 09:50:14 +0700
    
    

    Hi !

    Does it need that the disks have the same geometry?

    Slava

    ----- Original Message -----
    From: "Steve Bertrand" <iaccounts@northnetworks.ca>
    To: "Arie J. Gerszt" <arie@gerszt.ch>
    Cc: <freebsd-isp@freebsd.org>
    Sent: Friday, December 12, 2003 3:49 AM
    Subject: Re: disk error / failure: need help! (smart failure predicted)

    > > > 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"
    >
    >
    >

    _______________________________________________
    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: Mario Theodoridis: "Re: disk error / failure: need help! (smart failure predicted)"

    Relevant Pages

    • Re: a few words on BIOS/FDISK geometry
      ... > There are two common ways in which disk sector addresses are expressed. ... > The system BIOS provides a basic disk access facility sometimes called ... > writing and obtaining disk parameters such as geometry. ... > The disk geometry assumed by the basic int13 functions is what we mean ...
      (freebsd-questions)
    • Re: Support HDIO_GETGEO on device-mapper volumes
      ... most of the time these days the bogus values do match the bios values. ... If grub is using HDIO_GETGEO then yea, it should just use the geometry in the MBR instead. ... It should assume that the values stored in the MBR already are correct, since if they weren't, the system wouldn't boot anyhow, and use those rather than ask the kernel. ... disk in a compatible way. ...
      (Linux-Kernel)
    • a few words on BIOS/FDISK geometry
      ... I find most of the BIOS/MBR/FDISK disk geometry gospel that has recently ... There are two common ways in which disk sector addresses are expressed. ... "basic" int13 functions, implemented by essentially all versions of PC ... BIOS, expect sector addresses to be in C/H/S format. ...
      (freebsd-questions)
    • Re: a few words on BIOS/FDISK geometry
      ... >> There are two common ways in which disk sector addresses are expressed. ... >> The system BIOS provides a basic disk access facility sometimes called ... >> writing and obtaining disk parameters such as geometry. ... >> The disk geometry assumed by the basic int13 functions is what we mean ...
      (freebsd-questions)
    • Re: 2.6.x partition breakage and dual booting
      ... In the ancient past a disk had a geometry ... well-determined geometry: the ATA command INITIALIZE DRIVE PARAMETERS ... A DOS-type partition table (see, e.g., ... One is the way used by Linux (the starting sector and length, ...
      (Linux-Kernel)