Re: funny customers

From: Dimitri Aivaliotis (dna_at_everyware.ch)
Date: 09/22/04

  • Next message: Keith Baldwin: "RE: funny customers"
    Date: Wed, 22 Sep 2004 16:51:22 +0200
    To: "Per Engelbrecht" <per@xterm.dk>
    
    

    On Wed, 22 Sep 2004 16:34:41 +0200 (CEST)
    "Per Engelbrecht" <per@xterm.dk> wrote:

    > Keeping in mind that alle the data from / down are important, the
    > standard procedure adding_a_disk won't work due to the dd part.
    > A simple mount (finding disk from dmesg) didn't work eighter ..
    > Both running system and disk use UFS2.
    >
    > Maybe I'm overlooking the obvious, but what besides the above would do
    > the trick ?

    Have you tried dump/restore?

    (see http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK)

    You'll be wanting the reverse of what's given here, or some variant.

    1) Use either a LiveCD, or another FreeBSD box with an extra disk.

    2) Use fdisk and disklabel to set-up the extra disk like the one on your customer's machine.

    3) Install the disk from the customer's machine.

    4) Mount both disks in appropriate places:

     /dev/(blank)s1a on /mnt/copy/
     /dev/(blank)s1f on /mnt/copy/usr
     /dev/(blank)s1d on /mnt/copy/var

     and

     /dev/(cust)s1a on /mnt/customer/
     /dev/(cust)s1f on /mnt/customer/usr
     /dev/(cust)s1d on /mnt/customer/var

     (adapt to your slice layout and disk device)

    5) dump & restore:

      cd /mnt/copy
      dump 0af - /mnt/customer/ | restore xf -

    This will take awhile, depending on the size & speed of each of the disks.

    Good luck!

    - Dimitri

    -- 
    Dimitri Aivaliotis
    EveryWare AG
    Birmensdorferstrasse 125
    8003 Zurich
    tel: +41 (1) 466 60 00
    fax: +41 (1) 466 60 10
    _______________________________________________
    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: Keith Baldwin: "RE: funny customers"

    Relevant Pages

    • Re: Norton Ghost 2003 cloned disk crashes when booted
      ... After installing Windows XP on a new computer along with a zillion ... this time acquiring Norton Ghost ... I did this on an extra disk, since I did not want to erase my internal ...
      (microsoft.public.windowsxp.general)
    • Norton Ghost 2003 cloned disk crashes when booted
      ... After installing Windows XP on a new computer along with a zillion ... this time acquiring Norton Ghost ... I did this on an extra disk, since I did not want to erase my internal ...
      (microsoft.public.windowsxp.general)
    • Re: Ex post facto ODS-5 conversion
      ... > Get an extra disk and init it as ODS-5 and then transfer the contents ... > from tape if you don't have spare disk. ... the volume to ODS-5. ... qualifiers, the volume structure level is set prior to the other ...
      (comp.os.vms)
    • Re: Ex post facto ODS-5 conversion
      ... >Get an extra disk and init it as ODS-5 and then transfer the contents using ... >from tape if you don't have spare disk. ... Disk drives are relatively ...
      (comp.os.vms)
    • Transporting RAID-1 image from a 40G to a 80G set
      ... I know I can use dd to copy the data to another blank hard disk. ... 'template' for the new 80G array. ... an extra disk cannot take the place of one of the disks in the array (as the ... RAID-controller marks those). ...
      (freebsd-questions)