Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2005 15:08:51 -0500
From:      "Paul J. Pathiakis" <pathiaki@pathiaki.com>
To:        freebsd-questions@freebsd.org
Cc:        Anthony Atkielski <atkielski.anthony@wanadoo.fr>
Subject:   Re: What's an easy way to replace a drive?
Message-ID:  <200503241508.51834.pathiaki@pathiaki.com>
In-Reply-To: <1473492382.20050324195730@wanadoo.fr>
References:  <1735169762.20050324050924@wanadoo.fr> <b91c3de005032322496585846c@mail.gmail.com> <1473492382.20050324195730@wanadoo.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 24 March 2005 13:57, Anthony Atkielski wrote:
> Gary Smithe writes:
> > May not be the best answer, but if the drive's data is still intact
> > (i.e. readable) and the replacement will be identical, maybe try DD
> > or similar from a bootable "rescue" cd, like freesbie?  If not
> > that, then you may be able to copy the data between the 2 drives
> > using same said bootable CD after creating the partitions.
>
> Is it possible to dd the entire contents of one drive into a single
> file on another drive (assuming the latter drive is big enough)?  If
> so, I could save time by just copying the drive wholesale to a huge
> file on another drive, replacing it, then copying everything back. 
> Not sure if "whole drive" would include content outside the FS,
> though (?).


Also, just an fyi....

Under just about any circumstances, mirror the root drive with either 
hardware (if your motherboard supports it) or (THANK GOD FOR POUL AND 
PAWEL) use geom_mirror.  It will save you an incredible amount of 
headaches if you can't do fdisk and bsdlabel confidently.  If 
configured correctly, just pull the bad drive, install another, tell it 
to sync up.  All done.  In a hot swap box, no down time needed.

P.



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