Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 16:03:32 -0500 (EST)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        jerrymc@clunix.cl.msu.edu (Jerry McAllister)
Cc:        neil@mpfreescene.com, freebsd-questions@FreeBSD.ORG, jerrymc@clunix.cl.msu.edu ('Jerry McAllister')
Subject:   Re: Kernal Panics
Message-ID:  <200211052103.gA5L3X825596@clunix.cl.msu.edu>
In-Reply-To: <200211052057.gA5KvUb25515@clunix.cl.msu.edu> from "Jerry McAllister" at Nov 05, 2002 03:57:30 PM

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry to post to my own post, but,

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

Maybe I said 'no problem' a little too lightly.  If the disk 
has an unreadable spot, it is possible to crash the running 
system.  Crashing the system in multi-user mode is more of a
problem than doing it in single user mode.  

But, the point remains that a dump/restore in multi-user mode is doable.

////jerry

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211052103.gA5L3X825596>