Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Mar 2006 11:06:02 -0500
From:      Mike Jeays <mj001@rogers.com>
To:        Andrew Pantyukhin <infofarmer@gmail.com>
Cc:        Wojciech Puchar <wojtek@tensor.3miasto.net>, freebsd-questions@freebsd.org, Grant Peel <gpeel@thenetnow.com>
Subject:   Re: dd - cloning a disk.
Message-ID:  <1142179562.2093.85.camel@chaucer.jeays.ca>
In-Reply-To: <cb5206420603120553y4c69ff5cx293539bbf1ad4251@mail.gmail.com>
References:  <001901c64517$9d891950$6701a8c0@GRANT> <44138FC9.30900@daleco.biz> <20060312105141.K18712@chylonia.3miasto.net> <cb5206420603120553y4c69ff5cx293539bbf1ad4251@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2006-03-12 at 16:53 +0300, Andrew Pantyukhin wrote:
> On 3/12/06, Wojciech Puchar <wojtek@tensor.3miasto.net> wrote:
> > >
> > > It is, with a few 'buts'. Firstly, the source should be mounted
> >
> > but may not - unless system is generally idle. fsck will be checking the
> > copy then, but with success.
> 
> No matter what fsck says later, it's too dangerous. A FreeBSD
> system (as well as any other complicated OS) is never really
> idle in terms of disk I/O.
> 
> 
> On 3/12/06, Wojciech Puchar <wojtek@tensor.3miasto.net> wrote:
> > > list sometime in the last 3-5 weeks.  Giorgios Keramidas
> > > commented that "dd" was too slow for his tastes and
> >
> > dd is the fastest, but probably he used small block size. 64K is OK
> 
> dd can be slower than dump/restore in quite a few cases,
> especially when disk is far from full.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

I have done this 'safely', by booting Knoppix, and using dd to copy the
disk in the knowledge that all the UFS filesystems are closed and clean.
Use a large blocksize; you can go a lot bigger than 64K.
-- 
Mike Jeays
http://ca.geocities.com/mike.jeays@rogers.com




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