From owner-freebsd-questions Tue Nov 5 13: 9:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CBC937B401 for ; Tue, 5 Nov 2002 13:09:44 -0800 (PST) Received: from server0027.freedom2surf.net (server0027.freedom2surf.net [194.106.33.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id A524343E4A for ; Tue, 5 Nov 2002 13:09:43 -0800 (PST) (envelope-from neil@mpfreescene.com) Received: from b1 ([195.137.35.72]) by server0027.freedom2surf.net (8.12.6/8.12.6/Debian-5) with ESMTP id gA5L9bG4004393; Tue, 5 Nov 2002 21:09:45 GMT Reply-To: From: "Neil Doody" To: Cc: "'Jerry McAllister'" Subject: RE: Kernal Panics Date: Tue, 5 Nov 2002 21:09:49 -0000 Message-ID: <00af01c2850f$b349d840$0200a8c0@b1> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <200211052057.gA5KvUb25515@clunix.cl.msu.edu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Okay, thanks for your help, atm, the hdd has been installed as a slave, by mistake. If I get them to put another on the master, copy all the files like you say here, what do I need to do to make sure the system will boot off the master the next time round ? This is probably a lot to ask, but could you write me up some instructions as to what to do to make a copy of the filesystem fomr the slave disk to the new master disk and then boot off the master. Thanks. -----Original Message----- From: Jerry McAllister [mailto:jerrymc@clunix.cl.msu.edu] Sent: 05 November 2002 20:58 To: neil@mpfreescene.com Cc: freebsd-questions@freebsd.org; 'Jerry McAllister' Subject: Re: Kernal Panics > > Hi, this method you speak of here. > > Would it be possible to perform these tasks in multiuser mode, i.e. via > ssh ? As I have no console to this server. Yes, but then there is no guarantee that the copy is exact because they might change during the process of the dump/restore. But, if the system or at least that file system is not heavily used or you don't need to worry about an exact point copy, then no problem. ////jerry > > -----Original Message----- > From: Jerry McAllister [mailto:jerrymc@clunix.cl.msu.edu] > Sent: 05 November 2002 19:44 > To: neil@mpfreescene.com > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: Kernal Panics > > > > > Hi, ive been getting kernel panics, number 12's for some time, ive had > > the whole load of hardware changed, the only thing that is the same > now > > is the hard disk drive. > > > > We thought this had cured the problem, but I had one the other day. > > Okay, I thought this was a one off, but I just had another, only this > > time it is different. Is this possible that it is the hard drive? > > > > How can I make a duplicate image of that hard drive to another what > > tools will copy it. > > If the other drive will be big enough and if it will be running on > a machine with the same major version of the OS, use dump(8)/restore(8). > > USe fdisk(8)/disklabel(8)/newfs(8) to put the appropriate file systems > on > the new disk then dump the old one and restore to the new one. > Something like: (Assuming the old file system is mounted as /oldfs and > the new is mounted as /dupfs) > > cd /dupfs > dump 0vf - /oldfs | restore rf - > > repeat for however many file systems you need to save and have room for. > > Of course, if it won't read the old disk, then the problem is more > difficult. > > ////jerry > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message