From owner-freebsd-isp@FreeBSD.ORG Thu Sep 23 07:14:38 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 D495716A4CE for ; Thu, 23 Sep 2004 07:14:38 +0000 (GMT) Received: from mailbox.wingercom.dk (mailbox.wingercom.dk [81.19.240.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90E0E43D31 for ; Thu, 23 Sep 2004 07:14:38 +0000 (GMT) (envelope-from per@xterm.dk) Received: from mailbox.wingercom.dk (localhost.wingercom.dk [127.0.0.1]) by mailbox.wingercom.dk (Postfix) with SMTP id D2F61931FA for ; Thu, 23 Sep 2004 09:19:10 +0200 (CEST) Received: from 62.242.151.142 (SquirrelMail authenticated user per) by mailbox.wingercom.dk with HTTP; Thu, 23 Sep 2004 09:19:10 +0200 (CEST) Message-ID: <54027.62.242.151.142.1095923950.squirrel@mailbox.wingercom.dk> Date: Thu, 23 Sep 2004 09:19:10 +0200 (CEST) From: "Per Engelbrecht" To: In-Reply-To: <20040922165122.7b0f77cf@linux-dna.everyware.ch> References: <20040922165122.7b0f77cf@linux-dna.everyware.ch> X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: funny customers X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 07:14:38 -0000 Hi Dimitri > >> 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! (sorry for this late reply, but something came up) First of all I appreciate your thorough answer very much. I'll have a go at the livecd/cd2 first and let you and the rest of you know the result. Thank you. respectfully /per per@xterm.dk > > - 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"