dieing hdd

Hiten Pandya hitmaster2k at yahoo.com
Fri Nov 23 17:20:58 GMT 2001


could be...
but.. i use cp.. for normal operations...
--- Mark Hughes <mh_lists at digitalspy.co.uk> wrote:
> > > OK people i got a problem that is bugging me.
> > >
> > > i have a freebsd 4.3 machine that i use as a
> router.
> > > It has NATD a firewall,
> > > samba, apache...all setup nicely. But the
> harddrive
> > > is doing its best to die
> > > on me. I am installing a second hdd with the
> purpose
> > > of doing an exact copy
> > > of the original drive.
> > >
> > > What would be the best way to go about this?
> > > would dd if=/dev/acd0 of=/dev/acd1 work?
> 
> > i had this type of dying hdd problem with a scsi
> > drive... so.. what i did was... use the ol' cp(1)
> > command.. which did the trick of copying the stuff
> > exactly as it was before....
> >
> > all you do is.. once you have mounted your other
> > drive... with the current one (of course).. do
> this in
> > single user mode... beleive me.. it helps...
> >
> > from the root of the drives...
> >
> > cp -vR /old /new...
> >
> > -R - copy entire directory and subtree...
> > -v - Verbose...
> 
> You may want to add a "-p" to that to preserve
> permissions on all the
> files@
> 
> cp -vRp /old /new
> 
> However, I suspect dd is the correct tool to use for
> the job.
> 
> Mark
> 


=====
regards,
Hiten Pandya
<hitmaster2k at yahoo.com>
<http://geocities.com/hitmaster2k>
----------------------------------------------------
Guys!... stay away from Einstein Junior!
----------------------------------------------------

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1




More information about the Ukfreebsd mailing list