From owner-freebsd-isp@FreeBSD.ORG Wed Sep 22 14:51:26 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9F6316A4CE for ; Wed, 22 Sep 2004 14:51:26 +0000 (GMT) Received: from ews38.everyware.ch (ews38.espace.everyware.ch [212.71.111.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8FA243D1D for ; Wed, 22 Sep 2004 14:51:25 +0000 (GMT) (envelope-from dna@everyware.ch) Received: from linux-dna.everyware.ch (linux-dna.everyware.ch [212.71.117.27]) by ews38.everyware.ch (Postfix) with SMTP id 4758D1C82B; Wed, 22 Sep 2004 16:51:23 +0200 (CEST) Date: Wed, 22 Sep 2004 16:51:22 +0200 From: Dimitri Aivaliotis To: "Per Engelbrecht" Message-Id: <20040922165122.7b0f77cf@linux-dna.everyware.ch> In-Reply-To: <63469.62.242.151.142.1095863681.squirrel@mailbox.wingercom.dk> References: <41514B1D.2030603@enta.net> <63469.62.242.151.142.1095863681.squirrel@mailbox.wingercom.dk> Organization: EveryWare AG X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i686-pc-linux-gnu) X-Face: 'Pz)c2@Qiu.8=a*>M\B0X)y%#}|a P}TLNYp$B/bI3t")\C\?,$EI.Wgi,BRAd]ksqaF&gdKma/; 3v|nF91@Md6kOdEG'%dIoofV"R\lJKJ JS5 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2004 14:51:26 -0000 On Wed, 22 Sep 2004 16:34:41 +0200 (CEST) "Per Engelbrecht" 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